GET api/AccountGroups

Retrieve the groups of the accounts

Request Information

URI Parameters

None.

Body Parameters

AccountGroupsReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

String length: inclusive between 0 and 6

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO"
}

Response Information

Resource Description

AccountGroupsRes
NameDescriptionTypeAdditional information
MsgControl

Contains information about the response

MsgControl

None.

AccountGroups

List of account groups

Collection of AccountGroup

None.

Response Formats

application/json, text/json

Sample:
{
  "MsgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/AccountGroups GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.2189577+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "AccountGroups": [
    {
      "Company": "DEMO",
      "Head": "G1",
      "Code": "001",
      "Description": "Nicosia",
      "Description2": "",
      "Message": "",
      "Message2": ""
    },
    {
      "Company": "DEMO",
      "Head": "G1",
      "Code": "002",
      "Description": "Limassol",
      "Description2": "",
      "Message": "My town",
      "Message2": ""
    },
    {
      "Company": "DEMO",
      "Head": "G3",
      "Code": "IT",
      "Description": "My department",
      "Description2": "",
      "Message": "I love Computer Science",
      "Message2": ""
    }
  ]
}