marlon | Posts: 18

Packages and Documents

0 votes
Hi, I am trying to integrate the flow into a node application. I am stuck at the add documents/start session stages. I have created a template via the web UI. I am able to create a draft package via the REST API. However I don't know what to do to make a package not a draft. I get This package is in an invalid state for requested action. when trying to start a session with a draft package. I get error.validation.sendPackage.noApprovals when I try to create a Sent package via the rest api. Any help would be greatly appreciated. Marlon

marlon | Posts: 18

Reply to: Packages and Documents

0 votes
Thanks Haris I am going through it at the moment. The signing session works if I created a transaction through the ui, but I am not able to get it to work the creation of the document. I have a few questions Does the pdf need to be a specific pdf? This part options: { filename: { '0': {} }, contentType: null } gives an error path needs to be a string. If I change it to a string, it returns a Missing process definition error. What is meant by process? Marlon

harishaidary | Posts: 1812

Reply to: Packages and Documents

0 votes
What technology are you using to create packages with the REST API?

marlon | Posts: 18

Reply to: Packages and Documents

0 votes
I am using node.js, I followed the blog.

harishaidary | Posts: 1812

Reply to: Packages and Documents

0 votes
In my blog, I used the Document Extraction feature to position the signatures. If you use another document, then your payload will have to modified accordingly. Have a look at this guide for a sample json that positions signatures using x-y coordinates: https://developer.esignlive.com/guides/quick-start/creating-and-sending-a-package-rest/

marlon | Posts: 18

Reply to: Packages and Documents

0 votes
Thanks

marlon | Posts: 18

Reply to: Packages and Documents

0 votes
Hi Haris, Thanks for all your help, I am able to create a document by uploading a pdf, when I do the default eSignLive consent pdf is added as well. Is there a way of not adding this? Marlon

harishaidary | Posts: 1812

Reply to: Packages and Documents

0 votes
Hi Marlon, Yes, this is an account configuration. You will need to send support a request to have the default-consent turned off. [email protected]

marlon | Posts: 18

Reply to: Packages and Documents

0 votes
Thank you

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off