Reputation: 433
I am trying to attach a file to a Credit Adjustment via REST API by indicating the key fields.
For a regular Bill, this PUT request is successful:
https://{URL}/entity/Default/18.200.001/Bill/Bill/003838/files/Attachment Test 2.pdf
However, I am having issues identifying how should the Key1 be changed for Credit Adjustments. I have tried a series of combinations w/o success.
Thanks.
Upvotes: 0
Views: 123
Reputation: 771
I know Chris already answered but I wanted to share that you can find these values for any other drop down key field by opening a record of the doc type you want and looking at the URL
Upvotes: 1
Reputation: 765
Try this
http://localhost/YourERP/entity/Default/20.200.001/Bill/ACR/[RefNbrHere]/files/EL Paso Texas.txt
Be sure that your file is included in the payload
Upvotes: 0