Retrieves a specific General Ledger
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| generalLedgerId | General Ledger ID to return | integer (int32) | Required |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
GeneralLedgerResponse
| Property | Description | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| generalLedgerCode | Unique code for the general ledger | string | ||||||||||||
| generalLedgerId | General Ledger Identifier | integer (int32) | ||||||||||||
| subCodes | List of 20 subCodes with their index, name, and value | GLSubCodeChild[] | ||||||||||||
|
GLSubCodeChild properties
|
||||||||||||||
Example Response
{ "generalLedgerCode": "string", "generalLedgerId": 1, "subCodes": [
{ "subCodeIndex": "string", "subCodeName": "string", "value": "string"
}
]
}