As per the code shared, it seems that you have missed the library document key under File Info:
<dto:libraryDocumentKey>Your Library doc key</dto:libraryDocumentKey>
Let me know if that helps!
Try nilling non required fields.
for example senderinfo is not required but needs but needs to be there nilled.
Also you need to ensure names spaces are provided.
the following was created using SOAPUI,
senddocument using library document name:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.echosign" xmlns:dto="http://dto.api.echosign" xmlns:dto9="http://dto9.api.echosign" xmlns:dto2="http://dto20.api.echosign" xmlns:dto1="http://dto14.api.echosign" xmlns:dto11="http://dto18.api.echosign" xmlns:dto12="http://dto19.api.echosign">
<api:apiKey>[integration/api key here]</api:apiKey>
<dto:name>my agreement name</dto:name>
Hi Rijul - thanks for the response. From the documentation, libraryDocumentKey isn't required if you're using libraryDocumentName. I did manage to figure out the structure - I was missing the FileInfo node parent to libraryDocumentName.
The API request log in the admin is pretty helpful as well.
I do have a new question though - I have the document being created, and have successfully used the MergeFields node to add values to fields in the document. But the document isn't actually being sent - it's added to the 'Waiting for me to Prefill' section of the admin, even though the document has correctly added the merge field values. Is there another step I need to trigger the actual sending of the document to the recipient?
Any thoughts? Thanks!
Check if the librry document has any fields assigned to the prefill role, that would do it.
Hi SimonATS - I did manage to create the document through the API without the senderInfo field - it's not required from the documentation.
Per my note above, is the senderInfo required in order for the document to actually be sent out?
Which version of the api are you using? I'm using v20 and need to set senderinfo in some way otherwise I get the same error as from your original post.
Senderinfo can be nilled in which case the sender will be the user who the api/integration key belongs to.
see above for the prefill question.
Thanks SimonATS - I'm using v20 - I added the senderInfo to the request, which also worked fine.
How do I edit the document to see the prefill fields? (or do I just need to create a new one?)
you need to login echosign (now called adobe Document Cloud eSign services) as the person who created the library document, and via the Manage tab edit the library document.
Hi SimonATS - I created a new document in the dashboard and set the MergeFields to 'Participant 1,' and saw the document created and sent out. I had assumed since the MergeField data was coming from the sender (me) that it should be set to 'prefil.'
Thanks for the help guys - I now have the documents being created, merging the data fields, and being sent out.