Account Group
List Account groups in Final Account Order
URL
masters/acgroups
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | 7uL3OzIuTxKUzxKOgZoSNaxWQJo0bhCg | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| acgroup | Array | M | Array of Account Group | |||
| acgcode | Integer | M | 10 | acgcode of the group | ||
| exptype | String | M | ED | EXP Type of the Group ID - INCOME [DIRECT], II - INCOME [INDIRECT], ED - EXPENSE [DIRECT], EI - EXPENSE [INDIRECT], AT - ASSET, LY - LIABILITY | ||
| acgroup | String | M | ASSET | Group Name | ||
| parentacg | Integer | M | 0 | Parent acgcode for this Group | ||
| isachead | String | M | F | If "T" then treat the group equivalent as head and achead wise details not shown. But Extype wise data will shown. Any child in the group will treat as Extype of the group | ||
| shdlletter | String | M | EMP | Schedule Letter for the group. If "isachead" is "T" then the data will blank |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"acgroup": [
{
"acgcode": "10",
"exptype": "ED",
"acgroup": "ASSET",
"parentacg": "0",
"isachead": "F",
"shdlletter": "EMP"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}
{
"e": 401,
"msg": "Invalid authentication credentials."
}
{
"e": 499,
"msg": "Invalid Session"
}