Versions Compared

Key

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

...

Section



Code Block
languagejava
themeEclipse
{
    "Documents": [{
            "FileId": "3c816859-1234-1234-b5ef-3b52a3af1c77",
            "DocumentNumber": 1
        }
    ],
    "Name": "Test",
    "Activities": [{
            "Action": {
                "Sign": {
                    "RecipientConfiguration": {
                        "ContactInformation": {
                            "Email": "janedoe@sample.com",
                            "GivenName": "Jane",
                            "Surname": "Doe",
                            "LanguageCode": "EN"
                        }
                    },
                    "Elements": {
                        "Signatures": [{
                                "TaskConfiguration": {
                                    "OrderDefinition": {
                                        "OrderIndex": 0
                                    }
                                },
                                "IdElementId": "sample sig click2sign",
                                "Required": true,
                                "DocumentNumber": 1,
                                "AllowedSignatureTypes": {
                                    "ClickToSign": {}
                                },
                                "FieldDefinition": {
                                    "Position": {
                                        "PageNumber": 1,
                                        "X": 61,
                                        "Y": 598
                                    },
                                    "Size": {
                                        "Width": 80,
                                        "Height": 50
                                    }
                                }
                            }
                        ]
                    },
                    "SigningGroup": "firstSigner"
                }
            }
        }, {
            "Action": {
                "Sign": {
                    "RecipientConfiguration": {
                        "ContactInformation": {
                            "Email": "janedoe@sample.com",
                            "GivenName": "Jane",
                            "Surname": "Doe",
                            "LanguageCode": "EN"
                        },
                        "AuthenticationConfiguration": {

                            "SmsOneTimePassword": {
                                "PhoneNumber": "string"
                            }
                        }
                    },
                    "Elements": {
                        "Signatures": [{
                                "TaskConfiguration": {
                                    "OrderDefinition": {
                                        "OrderIndex": 1
                                    }
                                },
                                "IdElementId": "second sample sig click2sign",
                                "Required": true,
                                "DocumentNumber": 1,
                                "AllowedSignatureTypes": {
                                    "ClickToSign": {}
                                },
                                "FieldDefinition": {
                                    "Position": {
                                        "PageNumber": 1,
                                        "X": 271,
                                        "Y": 598
                                    },
                                    "Size": {
                                        "Width": 80,
                                        "Height": 50
                                    }
                                }
                            }
                        ]
                    },
                    "SigningGroup": "secondSigner"
                }
            }
        }, {
            "Action": {
                "SendCopy": {
                    "RecipientConfiguration": {
                        "ContactInformation": {
                            "Email": "johndoe@sample.com",
                            "GivenName": "John",
                            "Surname": "Doe",
                            "LanguageCode": "EN"
                        },
                        "PersonalMessage": "This is the copy of the document!"
                    }
                }
            }
        }

    ]

}


You can see the first recipient is the supervisor (without authentication) and then followed by Charly with SMS-OTP authentication.

Code Block
languagejava
themeEclipse
 "SmsOneTimePassword": {
                "PhoneNumber": "string"
              },


...