Question

ODATA REST API - Attachment in Binary


Userlevel 5
Badge +13

Hi Experts,

 

This issue was already raised in the below community post but there is no proper response received.

Creating an attachment in FSM using a secured url response | IFS Community

 

There is a requirement from customer side to send attachment as binary format.(They are using ODATA REST API)

  • Send attachment in binary format
  • Receive attachment/convert it to file
  • Save it in FSM server

As per the ODATA REST API document, we can use binary in the attachment

 

I have tried below request in Postman with the Binary data for the attachment.

 

This created a new attachment record but there is no actual file attached to that.

 

Is this functionality supported by ODATA REST API? How to achieve this requirement?

 

Thanks and regards,

Hasara


2 replies

Userlevel 7
Badge +24

Hi @Hasara Dinu,

Have you tried this article:

Kind regards,

Lee Pinchbeck

Userlevel 7
Badge +22

Hi @Hasara Dinu ,

You may contact Sachintha Weerasekara from R&D, if you have more clarifications regarding the binary stream attachments on ODATA REST API. He should be able to assist you. Also, please do share your updates with us as well.

Reply