POST accounts/{accountId}/accountingCodes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

string

None.

Body Parameters

AccountingCodeCreateDto
NameDescriptionTypeAdditional information
AccountingCodeTypeId

integer

None.

Code

string

Required

Default

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountingCodeTypeId": 1,
  "Code": "sample string 2",
  "Default": true
}

Response Information

Resource Description

AccountingCodeDto
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

AccountingCodeTypeId

integer

None.

Default

boolean

None.

Active

boolean

None.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "AccountingCodeTypeId": 3,
  "Default": true,
  "Active": true
}