Get document from the third party system

Certified Senior Developer

Hi All,

There is a requirement to a get document from the third party system,

Can someone suggest a way what is the best way to get the document from the third party system?

Below is the implementation that I know, Apart from these any plugins or any other things?

1. Third party systems will return url where the file is located. As soon as user clicks the document can be downloaded into the local system.

2. Thir party systems will return the document in binary format and Integration can convert binary to document from the respsonse.

  Apart from this Do we have any other way to get the document from the third party systems?

My Next question is 

If other systems want to post a document into appian, how exactly web appi will configure it, how the request hader document format will be?

Thanks in Advance!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  ,

    Commonly we get files into Appian in certain ways:

    • Direct URL

    • Binary response

    • Base64 response

    • SFTP download

    • Email polling

    • RPA

    • Webhook

    If you want other systems to post documents into appian using Web API, 

    Header could be:

     

    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
    


    Body you need to send is : 

    ------WebKitFormBoundary
    Content-Disposition: form-data; name="file"; filename="example.pdf"
    Content-Type: application/pdf
    
    (binary content)
    ------WebKitFormBoundary--
    


    Use a!startProcess() inside the Web API to call a Process Model that stores the file in a Appian folder.

    Hope this helps you!!!

Reply
  • 0
    Certified Associate Developer

    Hi  ,

    Commonly we get files into Appian in certain ways:

    • Direct URL

    • Binary response

    • Base64 response

    • SFTP download

    • Email polling

    • RPA

    • Webhook

    If you want other systems to post documents into appian using Web API, 

    Header could be:

     

    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
    


    Body you need to send is : 

    ------WebKitFormBoundary
    Content-Disposition: form-data; name="file"; filename="example.pdf"
    Content-Type: application/pdf
    
    (binary content)
    ------WebKitFormBoundary--
    


    Use a!startProcess() inside the Web API to call a Process Model that stores the file in a Appian folder.

    Hope this helps you!!!

Children