Skip to main content

Hi All,

 

I am trying to upload a document by calling end points available in DocumentHome.Here is the steps I followed.

1.0 invoke the action CreateAndConnect in DocumentHome in postman. I was able to create a record in document revision successfully

2.0 Upload the document using the HTTP request as below.

This is the same way Aurena upload a document.

 

I have added below parameters

Content-Type - application/octet-stream

If-Match - Tried following ; *,1,correct Etag taken by GET operation and also 
ETag here as mentioned in Aurena

X-Ifs-Content-Disposition - filename=VmFubnNrYWRlYm==

I am getting the below error in Postman.

 

When we does this in Boomi we get below Error 401--Unauthorized error. But the projection is added to compatibility mode and access granted in permission sets and also user has the access to document management.

Then I saw the below post and document from Mathias Dahl.to use CreateAndImportDocument projection.

 

My Questions -

 

1.0 Can we user DocumentHome.svc to upload data ?

2.0 If DocumentHome.svc can be used then how to avoid the above mentioned errors ? Do we need to give extra permission or authorization information ?

2.0 Uploading document possible only with CreateAndImportDocument.svc ?

 

Please note that our requirement is to upload the document using Boomi we do testing using postman to check whether is it possible.

 

Hi All,

 

I was able to solve this. Now I can upload a document using DocumentHome.svc

 

Here is the place I got wrong earlier. CreateFileRef expect value ‘TRUE’ in DocumentHome.

In CreateAndImport we need to give ‘YES’

 

below is the related DB code in DocumentHome

In CreateAndImport.

 


Reply