Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 04:05amI am needing to add a new document to an existing package (http://docs.esignlive.com/content/c_integrator_s_guide/rest_api/documents.htm#Add) but I am not finding any JSON Request samples.  I will be in my integration adding documents to an existing package one at time.
I am creating a package then using that packageId in the POST /packages/{packageId}/documents.
JSON Request Body (Create Package):
      
                                    
{
   "name": "nCino Package Test",
   "type":"PACKAGE",
   "language":"en",
   "emailMessage":"I just created a new Package",
   "description":"New Package",
   "autoComplete":true
}
I have also referenced this blog post (which was really good):  https://www.esignlive.com/blog/e-signlive-for-new-users-how-to-create-and-send-your-first-package-rest-api/?_ga=1.239069376.1926485674.1488917201
But that blog post is not exactly my use and I tried gleaning what I could from it.
Can I get a sample JSON payload along with all the available options?
Reply to: Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 09:43amReply to: Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 08:06amReply to: Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 08:55am{ "role": "Signer1", "id": "signature1", "fields": [{ "top": 510, "left": 215, "width": 200, "height": 50, "page": 0, "type": "SIGNATURE", "subtype": "FULLNAME" }] }Response:{ "messageKey": "error.validation.validateApproval.noRolesOnApproval", "message": "No role specified as part of this approval.", "code": 400, "name": "Validation Error" }Reply to: Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 09:54amReply to: Add a New Document to an Existing Package
Wednesday, March 8, 2017 at 11:09am