How to upload an item image via REST webservice
Summary
How to upload an item image via REST webserviceContent
I am trying to upload an item image using Rest web service. It does not seems to loading my image even though I am getting 201 created. It shows my file name not the image. Can someone please advice if I made any mistake in my payload
My Payload as below:
{
"OrganizationCode": "000",
"ItemClass": "Automotive",
"ItemNumber" : "AA_6",
"ItemDescription" : "add image",
"ItemAttachment": [
{
"DatatypeCode": "FILE",
"Description": "Example Home page",
"FileName": "thESRVUZ3V.jpg",
"FileUrl": "/Users/devic/Desktop",
"Title": "My first file upload",
"CategoryName": "IMAGE"
}
]
}
Thank you
1