Create Unit By Project Master

POST {{base_url}}/DataEntry/upMaster/:Batch|MasterRefNo

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 unit by project.

Request Body

{"Batch"=>"UPNonBatch00001", "RefNo"=>"000API00001", "Posted"=>"N", "Seq"=>1, "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "Status"=>"A", "AuthorizedByName"=>"Bill Hunmanb", "AuthorizedBy"=>"0000A0001", "RejectReason"=>"", "ModUser"=>"ADMIN", "ModDate"=>"2015-05-08T17:52:53.703", "upDetail"=>[{"Batch"=>"UPNonBatch00001", "RefNo"=>"000API00001", "PKey"=>"APIPKey00001", "Seq"=>1, "TransDate"=>"2017-12-28T00:00:00.000", "Description"=>"Test", "WBS1"=>"1314ACC0.052", "WBS2"=>"001", "WBS3"=>" ", "CurrencyCode"=>"USD", "DefaultUnitTable"=>"", "Unit"=>"ATS01", "CostRate"=>12, "BillingRate"=>0, "TableNo"=>"AA_timesheet", "Account"=>"52900", "Quantity"=>6, "Employee"=>"0000A0001", "EmployeeSpecificRevenue"=>"N", "EmployeeCompany"=>"B0", "CurrencyExchangeOverrideRate"=>0}]}

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":"UPNonBatch00001","RefNo":"000API00001","Posted":"N","Seq":1,"CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","Status":"A","StatusDescription":"Approved by Bill Hunmanb","AuthorizedByName":"Bill Hunmanb","AuthorizedBy":"0000A0001","RejectReason":"","ModUser":"ADMIN","ModUserEmployee":"0000A0001","ModDate":"2015-05-08T17:52:53.703"}]