POST api/AccountGroups
Create / update an account group
Request Information
URI Parameters
None.
Body Parameters
AccountGroupName | Description | Type | Additional information |
---|---|---|---|
Company |
The company code |
string |
Required String length: inclusive between 0 and 6 |
Head |
The group head: G1-G20 |
string |
Required String length: inclusive between 0 and 3 |
Code |
The group code |
string |
Required String length: inclusive between 0 and 6 |
Description |
The group description |
string |
String length: inclusive between 0 and 50 |
Description2 |
The group secondary description |
string |
String length: inclusive between 0 and 50 |
Message |
Message/Notes about the group |
string |
String length: inclusive between 0 and 500 |
Message2 |
Additional Message/Notes about the group |
string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
{ "Company": "DEMO", "Head": "G1", "Code": "001", "Description": "Nicosia", "Description2": "naxou 1, Tseriou", "Message": "Sample message", "Message2": "Some info" }
Response Information
Resource Description
MsgControlName | Description | Type | Additional information |
---|---|---|---|
result |
Response flag: 1 = success else something went wrong: see Message |
integer |
Required |
Message |
Corresponding success and error message |
string |
Required |
MethodName |
The name of the API |
string |
None. |
AppName |
The name of the current API method |
string |
None. |
EsoftUser |
The username of the logged in Esoft user. Can be empty |
string |
None. |
User |
Username |
string |
None. |
Password |
Password |
string |
None. |
SystemDate |
Current date |
date |
None. |
GenList |
List of additional message for calls with multiple object |
Collection of Collection of string |
None. |
GenMsg1 |
Additional message |
string |
None. |
GenMsg2 |
Additional message |
string |
None. |
GenMsg3 |
Additional message |
string |
None. |
Response Formats
application/json, text/json
{ "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/<Method>", "AppName": "EsoftWebApi", "EsoftUser": "ESOFT", "User": "Username", "Password": "Password", "SystemDate": "2025-04-26T19:56:33.459735+03:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }