Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  manjumh 2 months, 1 week ago.

  • Author
    Posts
  • Participant
    manjumh
    Newbie
    Member since: 11.09.2017
    Number of posts: 2

    Hello,

    We are in exploring REST API for creating a package with a signing document. Thanks to the good developer resources on this site, we could accomplish this part but the challenge we have is the document resides on a Cloud platform and is accessible over a URL. We had to manually copy the file locally and trigger REST API call to eSignLive.

    Is there an option available on eSignLive that can pull the document from a remote URL with a remoteURL parameter embedded within JSON request of package + document creation?

    Keymaster
    Haris
    Jedi Master
    Member since: 05.11.2015
    Number of posts: 1087

    Score

    0

    Hi manjumh,

    It’s definitely possible. You’ll have to download the resource (pdf) as a byte array from the URI you specify and pass that in your multipart/form-data request to upload the document. Here’s an example in csharp:

    var webClient = new WebClient();
    byte[] pdfBytes = webClient.DownloadData("https://www.example.com/pdf/test.pdf");

    Haris Haidary
    eSignLive Technical Evangelist
    Participant
    manjumh
    Newbie
    Member since: 11.09.2017
    Number of posts: 2

    Score

    0

    Thanks Haris. We are initiating the request from a 3rd party SaaS Cloud environment that limits our ability to run SDK. It allows REST API call and is limited to Javascript customization which is also locked down. Is there an option that can be done with just a REST call?

You must be logged in to reply to this topic.