Update Unit Control

PUT {{base_url}}/DataEntry/unControl/:Batch

NOTE: This applies if you have the Use Files to Group Transactions option set to Yes in Settings » Accounting » Transactions.

Use this endpoint to update the control file for a batch of units.

Request Body

{"Batch"=>"UNBatch00001", "Description"=>"Unit Transaction API Test Update 1", "Recurring"=>"N", "EndDate"=>"2017-12-31T00:00:00.000"}

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

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":"UNBatch00001","Description":"Unit Transaction API Test Update 1","Recurring":"N","EndDate":"2017-12-31T00:00:00.000","Total":120,"SumTotal":30,"DiffTotal":90,"Selected":"N","Posted":"N","Creator":"ADMIN","Period":201305,"Company":"A0","Diary":"D1","DiaryNo":1464,"TSCount":0}]