PUT v1/GLCodes
Request Information
URI Parameters
None.
Body Parameters
Common.Dto.Put.GLCode| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required String length: inclusive between 0 and 100 |
|
| ledgers | Collection of Common.Dto.Put.GLCodeLedger |
None. |
|
| id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"ledgers": [
{
"reference": "sample string 1",
"ledgerType": "sample string 2",
"id": 3
},
{
"reference": "sample string 1",
"ledgerType": "sample string 2",
"id": 3
}
],
"id": 2
}
Response Information
Resource Description
Common.Dto.Get.GLCode| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| code | string |
None. |
|
| status | string |
None. |
|
| used | boolean |
None. |
|
| createdTimestamp | date |
None. |
|
| modifiedTimestamp | date |
None. |
|
| ledgers | Collection of Common.Dto.Get.GLCodeLedger |
None. |
|
| id | integer |
None. |
|
| uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"code": "sample string 2",
"status": "sample string 3",
"used": true,
"createdTimestamp": "2025-11-03T19:45:14.4189795+00:00",
"modifiedTimestamp": "2025-11-03T19:45:14.4189795+00:00",
"ledgers": [
{
"reference": "sample string 1",
"ledgerType": "sample string 2",
"ledgerLabel": "sample string 3"
},
{
"reference": "sample string 1",
"ledgerType": "sample string 2",
"ledgerLabel": "sample string 3"
}
],
"id": 7,
"uri": "sample string 8"
}