PAYLOAD for Create Package API
Thursday, August 16, 2018 at 02:57amHi Team, 
 Can anyone provide me the sample JSON for Create Package API which include below features:
1. Reminder Schedule.
2. Review Before Completion.
3. Templates.
Thanks in Advance.
      
                                    
Reply to: PAYLOAD for Create Package API
Thursday, August 16, 2018 at 05:00amHTTP Request POST /api/packages/{packageId}/clone HTTP Headers Accept: application/json Content-Type: application/json Authorization: Basic api_key Request Payload { "name":"Package created from template through REST API", "autocomplete":false, "type":"PACKAGE", "language":"en", "status":"DRAFT", "roles":[ { "id":"PlaceholderId1", "type":"SIGNER", "signers":[ { "id":"PlaceholderId1", "firstName":"1.firstname", "lastName":"1.lastname", "email":"[email protected]" } ], "name":"PlaceholderId1" }, { "id":"PlaceholderId2", "type":"SIGNER", "signers":[ { "id":"PlaceholderId2", "firstName":"2.firstname", "lastName":"2.lastname", "email":"[email protected]" } ], "name":"PlaceholderId2" } ] }This is an example where your template contains two placeholder roles. Just replace the role id with your placeholder ID. 2. Set reminders with a different API call:HTTP Request POST /api/packages/{packageId}/reminders HTTP Headers Accept: application/json Content-Type: application/json Authorization: Basic api_key Request Payload { "startInDaysDelay": 1, "repetitionsCount": 5, "intervalInDays": 1, "packageId": "{packageId}" }From more information on this feature, you can refer to this guidance. 3. Sent your package.HTTP Request PUT /api/packages/{packageId} HTTP Headers Accept: application/json Content-Type: application/json Authorization: Basic api_key Request Payload { "status" : "SENT" }Hope this could help you! DuoReply to: PAYLOAD for Create Package API
Thursday, August 16, 2018 at 08:27am