...
The tutorial will show you the following basic use-case:
Image Removed
Image Added
Hello World
Before starting with the first request please note the following:
...
Code Block |
---|
language | java |
---|
theme | Eclipse |
---|
title | REST Call |
---|
|
{
"Documents": [{
"FileId": "83467fdcd33d43ca-1234-45921234-1234-9c64787cd7a1b645fc4e0fb2",
"DocumentNumber": 1
}
],
"Name": "Test",
"Activities": [{
"Action": {
"Sign": {
"RecipientConfiguration": {
"ContactInformation": {
"Email": "janedoe@samplejane.doe@sample.com",
"GivenName": "Jane",
"Surname": "Doe",
"LanguageCode": "EN"
}
},
"Elements": {
"Signatures": [{
"TaskConfigurationElementId": {
"sample sig click2sign",
"OrderDefinitionRequired": {
true,
"OrderIndexDocumentNumber": 01,
"DisplayName": "Sign here",
}
"AllowedSignatureTypes": },
{
"ElementIdClickToSign": "sample{
sig click2sign",
"Required": true,
"DocumentNumber": 1,
"DisplayName": "Sign here",
"AllowedSignatureTypes": {
"ClickToSign": {
}
},
"FieldDefinition": {
"Position": {
"PageNumber": 1,
"X": 100,
"Y": 200
},
"Size": {
"Width": 100,
"Height": 70
}
}
}
]
},
"SigningGroup": "firstSigner"
}
}
}, {
"Action": {
"SendCopy": {
"RecipientConfiguration": {
"ContactInformation": {
"Email": "johndoe@samplejohn.doe@sample.com",
"GivenName": "John",
"Surname": "Doe",
"LanguageCode": "EN"
}
}
}
}
}
]
} |
Code Block |
---|
language | java |
---|
theme | Eclipse |
---|
title | REST Response |
---|
|
{
"EnvelopeId": "45fd01ce-1234-4792-1234-f5230e41b130"
} |
...