PUT v1/GLCodes
Documentation for 'Put'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
glCode | Documentation for 'glCode'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
Click to beautify!
{ "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 }, { "reference": "sample string 1", "ledgerType": "sample string 2", "id": 3 } ], "id": 2 }
application/xml, text/xml
Sample:
Click to beautify!
<GLCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Put"> <Id>2</Id> <Ledgers> <GLCodeLedger> <Id>3</Id> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> <GLCodeLedger> <Id>3</Id> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> <GLCodeLedger> <Id>3</Id> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> </Ledgers> <Name>sample string 1</Name> </GLCode>
application/x-www-form-urlencoded
Sample:
Click to beautify!
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
Click to beautify!
{ "name": "sample string 1", "code": "sample string 2", "status": "sample string 3", "used": true, "createdTimestamp": "2024-05-03T09:13:07.7363285+00:00", "modifiedTimestamp": "2024-05-03T09:13:07.7363285+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" }, { "reference": "sample string 1", "ledgerType": "sample string 2", "ledgerLabel": "sample string 3" } ], "id": 7, "uri": "sample string 8" }
application/xml, text/xml
Sample:
Click to beautify!
<GLCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get"> <Id>7</Id> <Uri>sample string 8</Uri> <Code>sample string 2</Code> <CreatedTimestamp>2024-05-03T09:13:07.7363285+00:00</CreatedTimestamp> <Ledgers> <GLCodeLedger> <LedgerLabel>sample string 3</LedgerLabel> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> <GLCodeLedger> <LedgerLabel>sample string 3</LedgerLabel> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> <GLCodeLedger> <LedgerLabel>sample string 3</LedgerLabel> <LedgerType>sample string 2</LedgerType> <Reference>sample string 1</Reference> </GLCodeLedger> </Ledgers> <ModifiedTimestamp>2024-05-03T09:13:07.7363285+00:00</ModifiedTimestamp> <Name>sample string 1</Name> <Status>sample string 3</Status> <Used>true</Used> </GLCode>