POST v1/glCodes/retire/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Common.Dto.Get.GLCode
NameDescriptionTypeAdditional 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-05-21T08:25:55.3548885+00:00",
  "modifiedTimestamp": "2025-05-21T08:25:55.3548885+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"
}