Create Print and Reproduction Master

POST {{base_url}}/DataEntry/prMaster/: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 print and reproduction.

Request Body

{"Batch"=>"PRNonBatch00001", "RefNo"=>"00REFFEFEAA", "TransDate"=>"2017-12-29T00:00:00.000", "Description"=>"Prints and Reproductions Maste record 1", "Posted"=>"N", "Seq"=>1, "CurrencyCode"=>"USD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"", "Diary"=>"D1", "DiaryNo"=>0, "prDetail"=>[{"Batch"=>"PRNonBatch00001", "RefNo"=>"00REFFEFEAA", "PKey"=>"PKEY000ABC1", "Seq"=>1, "Description"=>"Line 1", "WBS1"=>"0B199901.500", "WBS2"=>" ", "WBS3"=>" ", "Account"=>"60100", "Amount"=>500, "CurrencyExchangeOverrideRate"=>0}, {"Batch"=>"PRNonBatch00001", "RefNo"=>"00REFFEFEAA", "PKey"=>"PKEY000ABC2", "Seq"=>2, "Description"=>"Line 1", "WBS1"=>"0B199901.500", "WBS2"=>" ", "WBS3"=>" ", "Account"=>"60100", "Amount"=>120, "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":"PRNonBatch00001","RefNo":"00REFFEFEAA","TransDate":"2017-12-29T00:00:00.000","Description":"Prints and Reproductions Maste record 1","Posted":"N","Seq":1,"CurrencyCode":"USD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"","Diary":"D1","DiaryNo":1462}]