CreateNewSecondaryChartAccountRequest

PUT {{base_url}}/CreateNewSecondaryChartAccountRequest

Creates a new secondary chart account based on a given identifier.

API
Finance API

Requires Authentication
Yes (Advanced)

Returns
SecondaryChartAccountDTO

Batch?
No

Request Body

[{"name"=>"CompanyId", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"AccountCode", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"AccountName", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"AccountType", "value"=>"{{integer}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

{"Id":127,"CompanyId":1,"AccountCode":"APITest","AccountName":"API Documentation Test","AccountType":1}