This topic contains 3 replies, has 2 voices, and was last updated by  mwilliams 1 week, 4 days ago.

  • Author
    Posts
  • Participant
    jponcerlx
    Newbie
    Member since: 12.10.2017
    Number of posts: 7

    Hello,

    I have a template I created from the eSign dashboard. I’m trying to change the document’s id through the update document PUT request. I get a successful response that shows the new document id I set. The change isn’t reflected when I make another GET request to that package, however – the document id is still the default assigned by eSign Live.

    Am I missing something? If not through this method, how can I replace the document id?

    Keymaster
    mwilliams
    Guru
    Member since: 21.08.2015
    Number of posts: 796

    Score

    0

    I’m not certain you can change the ID once it has been created. You might just be getting a successful return because it’s ignoring your changed value because it can’t be done, so it doesn’t even look at that property. Could you use the API to create your template and set the document ID from the beginning instead of using the UI? You could even use the payload from the existing template to create it exactly as you did in the UI (only switch the id for the documents when you make the POST request to create the template).


    – Michael
    eSignLive by VASCO | Partner and Developer Technologies Manager
    Facebook – https://www.facebook.com/michael.williams1120
    Twitter – https://twitter.com/mwilliams1120
    LinkedIn – https://www.linkedin.com/in/mwilliams1120
    Participant
    jponcerlx
    Newbie
    Member since: 12.10.2017
    Number of posts: 7

    Score

    0

    Sure, I can try creating the template directly through the API. Is the id the only thing that can’t be changed through the update request?

    Keymaster
    mwilliams
    Guru
    Member since: 21.08.2015
    Number of posts: 796

    Score

    0

    I’m pretty sure that’s the case. I can’t think of anything else that wouldn’t be able to change. Are you seeing something else?


    – Michael
    eSignLive by VASCO | Partner and Developer Technologies Manager
    Facebook – https://www.facebook.com/michael.williams1120
    Twitter – https://twitter.com/mwilliams1120
    LinkedIn – https://www.linkedin.com/in/mwilliams1120

You must be logged in to reply to this topic.