Update Employee Repayment Master
PUT {{base_url}}/DataEntry/erMaster/: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 update master record information for each employee repayment.
Master record information comes from the General Information section on the Employee Repayment detail screen for each employee repayment in the batch.
Request Body
{"Batch"=>"ERNonBatch00001", "RefNo"=>"00REFFEFE11", "TransDate"=>"2017-12-21T00:00:00.000", "TransComment"=>"Employee Repayment Entry from API Update"}
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: OK
[{"Batch":"ERNonBatch00001","RefNo":"00REFFEFE11","TransDate":"2017-12-21T00:00:00.000","TransComment":"Employee Repayment Entry from API Update","Posted":"N","Seq":1,"CurrencyCode":"USD","Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"","Diary":"D1","DiaryNo":1454}]