Please rate how useful you found this document: 
Average: 1.7 (3 votes)

Adobe Sign Examples

The following are examples for Service Task Adobe Sign:

Get Library Documents

REST API: GET https://api.na2.echosign.com/api/rest/v5/libraryDocuments

Parameters: Not required

Body: Not required

Example:

Response:

Get Agreement

REST API: GET https://api.na2.echosign.com/api/rest/v5/agreements/{agreementId}

Parameters:

@@agreementId //optional

Note: The use of the variable @@agreementId shows the information of the specified agreement, if it is not it shows all the agreements.

Body: Not required

Example:

Response:

Base URIs

REST API: GET https://api.na2.echosign.com/api/rest/v5/base_uris

Parameters: Not required

Body: Not required

Example:

Response:

Send Agreement

REST API: POST https://api.na2.echosign.com/api/rest/v5/agreements

Parameters:

@@template //library document Id @@subject //title of the subject @@emails //email of the user @@roles //role of the user

Body:

{ "documentCreationInfo": { "fileInfos": [ { "libraryDocumentId": "@@template" } ], "name": "@@subject", "recipientSetInfos": [ { "recipientSetMemberInfos": [ { "email": "@@emails" } ], "recipientSetRole": "@@roles" } ], "signatureType": "ESIGN", "signatureFlow": "SENDER_SIGNS_ONLY" } }

Example:

Response:

Send Reminders

REST API: POST https://api.na2.echosign.com/api/rest/v5/reminders

Parameters:

@@agreementId //agreement Id

Body:

{ "agreementId": "@@agreementId" }