Update Unit Master
PUT {{base_url}}/DataEntry/unMaster/:Batch|Unit
NOTE: This applies if you have the Use Files to Group Transactions option set to No in Settings » Accounting » Transactions.
Use this endpoint to update master record information for each unit.
Master record information comes from the General Information section on the Unit detail screen for each unit in the batch.
Request Body
{"Batch"=>"UN_APINonBatch00001", "Unit"=>"00002", "Posted"=>"N"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization
| string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: OK
[{"Batch":"UNNonBatch00001","Unit":"00002","Name":"Adding Unit 2 to Table AA_1 First","Posted":"N","Seq":1,"CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":""}]