Endpoint
Check PUT
Request Body
{"CuryOrigDocAmt":{"value":0},"CashAccount":{"value":"10600"},"Type":{"value":"Check"},"Vendor":{"value":"AASERVICES"},"CurrencyID":{"value":"USD"},"Hold":{"value":false},"PaymentAmount":{"value":500},"PaymentMethod":{"value":"AMEX"},"FinPeriodID":{"value":"12-2022"},"Details"::{"PostPeriod":{"value":"122022"},"FinPeriodID":{"value":"12-2022"},"BranchID":{"value":null},"InventoryID":{"value":null},"OrderQty":{"value":0},"WarehouseID":{"value":null},"AmountPaid":{"value":500},"Balance":{"value":500},"CashDiscountBalance":{"value":null},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"004212"}}],"PostPeriod":{"value":"122022"}}
Response Body
{"id":"00f6eadd-6293-ed11-bb54-000d3a19a590","rowNumber":1,"note":{"value":""},"error":"Inserting 'CA Transaction' record raised at least one error. Please review the errors.; FinPeriodID: 'Post Period' cannot be empty.","ApplicationDate":{"value":"2023-01-13T00:00:00+00:00"},"CashAccount":{"value":"10600"},"CurrencyID":{"value":"USD"},"Description":{},"Details":l{"id":"06f6eadd-6293-ed11-bb54-000d3a19a590","rowNumber":1,"note":{"value":""},"AmountPaid":{"value":500.0},"Balance":{"value":0.0000},"CashDiscountBalance":{"value":0.0000},"DocLineNbr":{"value":0},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"004212"},"custom":{}}],"Hold":{"value":false},"LastModifiedDateTime":{"value":"2023-01-13T16:53:57.8531645+00:00"},"PaymentAmount":{"value":500.0},"PaymentMethod":{"value":"AMEX"},"PaymentRef":{"value":"PAY0389829"},"ReferenceNbr":{"value":"<NEW>"},"Status":{"value":"Balanced"},"Type":{"value":"Check"},"UnappliedBalance":{"value":0.0},"Vendor":{"value":"AASERVICES"},"custom":{}}
Response Status
System.Net.HttpStatusCode.UnprocessableEntity
Error message
Inserting 'CA Transaction' record raised at least one error. Please review the errors.; FinPeriodID: 'Post Period' cannot be empty.