Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


The integration is simple: just upload the PDF and send the envelope.

Envelope

This example contains two parallel recipients. Each recipient can choose the signature type (ClickToSign, DrawToSign, TypeToSign). Please note the following: In order to config a parallel use case all recipients (who should sign parallel) must be assigned to the same "SigningGroup".

Code Block
languagejava
themeEclipse
{
    "Documents": [{
            "FileId": "3c816859-06da-4223-b5ef-3b52a3af1c77",
            "DocumentNumber": 1
        }
    ],
    "Name": "Test",
    "Activities": [{
            "Action": {
                "Sign": {
                    "RecipientConfiguration": {
                        "ContactInformation": {
                            "Email": "johndoe@sample.com",
                            "GivenName": "John",
                            "Surname": "Doe",
                            "LanguageCode": "EN"
                        }
                    },
                    "Elements": {
                        "Signatures": [{
                                "TaskConfiguration": {
                                    "OrderDefinition": {
                                        "OrderIndex": 1
                                    }
                                },
                                "IdElementId": "first signature",
                                "Required": true,
                                "DocumentNumber": 1,
                                "AllowedSignatureTypes": {
                                    "ClickToSign": {},
                                    "DrawToSign": {},
                                    "TypeToSign": {}
                                },
                                "FieldDefinition": {
                                    "Position": {
                                        "PageNumber": 1,
                                        "X": 61,
                                        "Y": 598
                                    },
                                    "Size": {
                                        "Width": 80,
                                        "Height": 50
                                    }
                                }
                            }
                        ]
                    },
                    "SigningGroup": "first"
                }

            }

        }, {
            "Action": {
                "Sign": {
                    "RecipientConfiguration": {
                        "ContactInformation": {
                            "Email": "janedoe@sample.com",
                            "GivenName": "Jane",
                            "Surname": "Doe",
                            "LanguageCode": "EN"
                        }

                    },
                    "Elements": {
                        "Signatures": [{
                                "TaskConfiguration": {
                                    "OrderDefinition": {
                                        "OrderIndex": 1
                                    }
                                },
                                "IdElementId": "thirdsecond signature",
                                "Required": true,
                                "DocumentNumber": 1,
                                "AllowedSignatureTypes": {
                                    "ClickToSign": {},
                                    "DrawToSign": {},
                                    "TypeToSign": {}
                                },
                                "FieldDefinition": {
                                    "Position": {
                                        "PageNumber": 1,
                                        "X": 481,
                                        "Y": 598
                                    },
                                    "Size": {
                                        "Width": 80,
                                        "Height": 50
                                    }
                                }
                            }
                        ]
                    },
                    "SigningGroup": "first"
                }
            }
        }
    ]
}


...