Question

regarding Document Management REST API

  • 18 September 2020
  • 2 replies
  • 308 views

Badge +2

Hello Team,

 

I am pretty new to IFS with some background in middleware technologies. I am currently working on creating a document in IFS using IFS oData/REST API.

As per my understanding, to attach an external document to an IFS object using API , we need to follow below 3 steps:
    a. Create a document in IFS (IFS API - Projection: CreateAndImportDocument and Invoke action CreateDocument)
    b. Upload an external file to previously created IFS document
    c. Attach the document to an IFS object

I am able to create a document in IFS using the API successfully (Projection:CreateAndImportDocument and Invoke action CreateDocument)

 

And not sure which API or projection should I use to make next for uploading an external file to previously created IFS document?

 

Can someone help me in this regard?

Any help in this regard is highly appreciated.

 

Regards,

Siva


2 replies

Userlevel 7
Badge +24

Hello @siva.cg 

I think the answer is Projection: DocumentRevisionHandling

Method: FileUploadPrerequisite

Userlevel 6
Badge +15

Hi @siva.cg,

 

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

 

Cheers !
Dhananjaya.

Reply