Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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!