Update Timesheet Control

PUT {{base_url}}/DataEntry/tsControl/: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 timesheets.

Request Body

{"Batch"=>"TSBatch00001", "Description"=>"Timesheets API Test Update 1"}

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":"TSBatch00001","Description":"Timesheets API Test Update 1","Recurring":"N","StartDate":"2017-12-16T00:00:00.000","EndDate":"2017-12-31T00:00:00.000","RegHrsTotal":64,"SumRegHrsTotal":8,"DiffRegHrsTotal":56,"OvtHrsTotal":0,"SumOvtHrsTotal":0,"DiffOvtHrsTotal":0,"SpecialOvtHrsTotal":0,"SumSpecialOvtHrsTotal":0,"DiffSpecialOvtHrsTotal":0,"Selected":"N","Posted":"N","Creator":"ADMIN","Period":201305,"Company":"A0","Diary":"D1","DiaryNo":1463}]