Account Group
Account Groups List
URL
fetch/account_group
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 | Hlcddc1YKMUpJMus9vx03JLcvek9Wzpk | Key obtained from authentiaction. |
| clientid | String | M | BEST_HMS |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| gaccount | Array | M | ||||
| ac_group | String | M | Capital Account | |||
| group_parent | String | M | Primary | |||
| tfirmid | Integer | M | 1 | |||
| clientid | String | M | CTPL | |||
| tacgcode | Integer | M | 1 |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"clientid": "BEST_HMS"
}
Sample Success Response
{
"gaccount": [
{
"ac_group": "Capital Account",
"group_parent": "Primary",
"tfirmid": "1",
"clientid": "CTPL",
"tacgcode": "1"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}
{
"e": 401,
"msg": "Invalid authentication credentials."
}