Create Timesheet Master

POST {{base_url}}/DataEntry/tsMaster/:Batch|Employee

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

Use this endpoint to create a master record for a timesheet.

Request Body

{"Batch"=>"TSNonBatch00001", "Employee"=>"000000002", "Posted"=>"N", "Seq"=>1, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"", "tsDetail"=>[{"Batch"=>"TSNonBatch00001", "Employee"=>"000000002", "PKey"=>"APIAA00001", "Seq"=>1, "TransDate"=>"2017-12-16T00:00:00.000", "WBS1"=>"20080AR0.079", "WBS2"=>" ", "WBS3"=>" ", "LaborCode"=>"01:00B:0A:4:0", "BillCategory"=>"12", "Locale"=>"", "RegHrs"=>8, "OvtHrs"=>0, "SpecialOvtHrs"=>0, "TransComment"=>""}]}

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: Created

[{"Batch":"TSNonBatch00001","Employee":"000000002","EmplName":"Dick Jones","BillingCategory":"","LocaleMethod":"0","Locale":"","Posted":"N","Seq":1,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":""}]