Create a New Customer Payment yielding (422) Unprocessable Entity
Posted: Tue Feb 08, 2022 6:18 am
Hi Guys,
I'm struggling to get started with creating a Customer Payment via the API.
https://developer.simprogroup.com/apido ... f4f1ba5c87
I'm using this endpoint, with POST:
this payload:
The response is:
What is the likely error with this call ?
I presume I have a wrong or inconsistent data element.
I'm struggling to get started with creating a Customer Payment via the API.
https://developer.simprogroup.com/apido ... f4f1ba5c87
I'm using this endpoint, with POST:
Code: Select all
.../companies/2/customerPayments/Code: Select all
{
"Payment": {
"PaymentMethod":9,
"DepositAccount": "090",
"Date": "2022-02-06"
},
"Invoices": [
{ "Invoice": 4781, "Amount": "1.02" }
]
}Code: Select all
The remote server returned an error: (422) Unprocessable Entity.I presume I have a wrong or inconsistent data element.