API ver: 15.6.3 End Point : /services/Ams/Attachments/AddRequestAttachment documentation sample page calls (PLL/CaseRelDocs/Add) using different data obj.
Currently we need to Test from Postman.
We need to call the endpoint "AddrequestAttachment" .
It will be greatly appreciated it if we can see a sample call of the json object sent in the body of the Post.
We have tried:
http://<server or domain>/CityworksServerApi/services/Ams/Attachments/AddRequestAttachment?data={"Comments": "test","Filename": "test.jpg","RequestId":11111}&token=token
Body : raw
{
"file": [ <byte string> ]
}
where byte string is like 255,216,255,224,0,16,74,70,73,70,0,,,,,,
obtaining response
200 Ok:
{
"Value": null,
"Status": 1,
"Message": "An error occurred while attempting to save the attachment."
}
