Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to upload an item image via REST webservice — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to upload an item image via REST webservice

Received Response
29
Views
9
Comments
edited Jun 10, 2020 3:20AM in Product Master Data Management 9 comments

Summary

How to upload an item image via REST webservice

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!