Create Labor Adjustment Master
POST {{base_url}}/DataEntry/laMaster/: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 labor adjustment.
Request Body
{"Batch"=>"LANonBatch00001", "Employee"=>"000000002", "Posted"=>"N", "Seq"=>1, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"ADMIN", "ModDate"=>"2018-04-27T06:05:33.750", "laDetail"=>[{"Batch"=>"LANonBatch00001", "Employee"=>"000000002", "PKey"=>"APIBB00001", "Seq"=>1, "TransDate"=>"2017-12-25T00:00:00.000", "WBS1"=>"00008250.5AB", "WBS2"=>" ", "WBS3"=>" ", "LaborCode"=>"00:000:00:4:0", "BillCategory"=>"1", "RegHrs"=>20, "OvtHrs"=>0, "SpecialOvtHrs"=>0, "RegAmt"=>20, "OvtAmt"=>0, "SpecialOvtAmt"=>0, "BillExt"=>0, "RealizationAmount"=>0, "TransComment"=>"", "SuppressBill"=>"N", "RegAmtProjectFunctionalCurrency"=>0, "OvtAmtProjectFunctionalCurrency"=>0, "SpecialOvtAmtProjectFunctionalCurrency"=>0}]}
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: Created
[{"Batch":"LANonBatch00001","Employee":"000000002","EmplName":"Dick Jones","BillingCategory":"","Posted":"N","Seq":1,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"ADMIN","ModUserEmployee":"0000A0001","ModDate":"2018-04-27T06:05:33.750"}]