Hi all I'm wondering how to post SBWOs to the API. Tried with various payloads, but haven't gotten it to work. Intended result: SBWO with Code 15 against an CustomerInvoice payload: {
"type": { "value": "SmallBalanceWo" },
"applicationDate": { "value": "2022-10-24T11:49:39.5783663+00:00" },
"customer": { "value": "08809204" },
"paymentAmount": { "value": 3000 },
"invoiceText": { "value": "SBWO Test" },
"paymentLines": [
{
"balanceWriteOff": {"value": 3000 },
"writeOffReasonCode": {"value": "15" },
"operation": "Insert",
"documentType": {"value": "Invoice" },
"refNbr": {"value": "000156920" },
"amountPaid": {"value": 3000 }
}
]
} There's a bunch of fields here that may not be necessary. I've tried removing some, but I'm currently stuck on this error: Error creating payment Value cannot be null.\r\nParameter name: format There's no mention of "format" in Swagger. I've tried including it in various places, but no success. Does anyone have a sample payload that works?
... View more