Skip to Content

Create a new Image for feedentry via API

Hi,

I tried to create a new image in an existing feedentry as described in SAP Jam Developer Guide

Using POST api/v1/OData/FeedEntries(<valid feed guid>)/FeedEntryImages/$value
with Header

slug: new jpg

Content-Type: image/jpg

and the jpg file in the payload

retrieves the message "Resource not found for the segment 'FeedEntryImages'"

Do you have any idea how uploading an image can be done.

Best Regards,
Wolfgang

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 23, 2015 at 06:07 PM

    The error is caused by hitting an endpoint that does not exist:

    api/v1/OData/FeedEntries(<valid feed guid>)/FeedEntryImages/$value


    FeedEntryImages is its own endpoint:

    api/v1/OData/FeedEntryImages('key')


    Hope that helps get you going.

    Add comment
    10|10000 characters needed characters exceeded