on ‎2024 Jul 09 8:47 PM
In the SalesTransaction API, when I'm POSTing a new Transaction, I don't see any reference to Reason or reasonId or reasonCode or anything remotely like that.
How do I add the Reason Code into the body of the POST request?
Thanks in advance!
Ron
Request clarification before answering.
Hi Ron,
In the post body you should add the following attribute:
"reason": {
"reasonId": "AUTOAutRsnCd1c08834106"
}and the response you get back for SalesTransaction, you should see:
"reason": { "reasonId": "AUTOAutRsnCd1c08834106", "dataTypeSeq": "17732923534996695", "notAllowUpdate": false, "createdBy": "Automation", "modifiedBy": null, "tenantId": "AUT1", "removeDate": "2200-01-01T00:00:00.000+00:00", "createDate": "2024-07-10T16:48:54.175+00:00", "reasonSeq": "17732923534996695" },
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.