Skip to main content

Hi,

We’re trying to upload attachments to IFS using oData.

‘We’ve tried mimicing the Aurena behavior found when inspecting the page and sniffing the HTTP traffic. Projection: DocumentHome.svc

CreateAndConnect work fine but can’t send the file data.

The FileData steps just returns an HTTP 500 , internal server error.

 

A second approach we’ve tried is through the CreateAndImportDocument Projection.

I’ve tried all kinds of formating for the FileData property but won’t accept any of it. Below is a Base64 encoded binary string.

 

Since documentation is almost non existing I’m a bit stuck. 

Has anyone managed to use oData for attachment upload and can provide som working examples? 

Would be much apricated !

 

thx!

Hi @NovAlbinL,

 

Since documentation is almost non existing I’m a bit stuck.

You could find the full documentation for CreateAndImportDocument.svc endpoint posted by @Mathias Dahl below,

 

Cheers !
Dhananjaya.


Thx. Got a hold of the documentation from an IFS employee a week ago which solved the issue. 

We were missing the X-IFS-ContentDisposition header.