i am able to create check before one month but now i cant able to create check
i have posted this data
{"CuryOrigDocAmt":{"value":0},"CashAccount":{"value":"10060"},"Type":{"value":"Check"},"Vendor":{"value":"V001097"},"CurrencyID":{"value":"USD"},"Hold":{"value":false},"PaymentAmount":{"value":10.19},"PaymentMethod":{"value":"CREDITCARD"},"Details"::{"CashAccount":{"value":"10060"},"PostPeriod":{"value":"102024"},"BranchID":{"value":null},"InventoryID":{"value":null},"OrderQty":{"value":0},"WarehouseID":{"value":null},"AmountPaid":{"value":10.19},"Balance":{"value":10.19},"CashDiscountBalance":{"value":null},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"001301"}}],"PostPeriod":{"value":"102024"}}
and my endpoint
https://localhost//entity/acumaticalocal/1.0.3/Check
Hi
Can you please share the response/error received?
that response /error get
{"message":"The request is invalid.","modelState":{""::"An exception occurred during input parsing"]}}
Hi
The request payload looks to me. To troubleshoot the issue further, I’d recommend you to test using the Default endpoint to create a Bill. For example, kindly refer https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=74a426d9-d4f7-4005-ba45-d88817d62dff
If the request is works in the Default endpoint, then you can compare the custom endpoint mapping with the Default endpoint. Good Luck,
Hi
Please refer to the sample default endpoint below to create a check payment for the bill.
Url: /entity/Default/22.200.001/Check
Method: Put
Request:
{
"CashAccount": {
"value": "10200"
},
"Description": {},
"Hold": {
"value": true
},
"PaymentAmount": {
"value": 10
},
"PaymentMethod": {
"value": "CHECK"
},
"PaymentRef": {},
"ReferenceNbr": {
"value": "002329"
},
"Status": {
"value": "On Hold"
},
"Type": {
"value": "Payment"
},
"Vendor": {
"value": "ATDSECUR"
},
"Details": p
{
"AmountPaid": {
"value": 10
},
"CashAccount": {
"value": "10200"
},
"DocType": {
"value": "Bill"
},
"ReferenceNbr": {
"value": "003647"
}
}
]
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.