Skip to main content
Participant
December 1, 2023
Question

Create Agreement with adding labels and signature on a perticular position using API

  • December 1, 2023
  • 0 replies
  • 219 views

Hi Team, 

I know we can create an agreement using adobe web portal where we are allowed to add the label and the multiple signatures on a specific position on a particular page. I want to do the same process using api for creating Agreement.

 

Through API I want to allow a specific signer to sign at a position. like If I have 2nd signer for a agreement an If I want both signers to sign in different different locations and on one signer's location is one page(2), The other singers to sign another page (4) I don't want to allow other signer to sign. Then How can I do the same through api. I posted following Json. But not working

{
    "fileInfos": [
        {
            "transientDocumentId": "{{transientDocumentId}}"
        }
    ],
    "name": "RENTAG TYPE 2",
    "participantSetsInfo": [
        {
            "memberInfos": [
                {
                    "email": "xxxxx@gmail.com",
                    "name": "xxxx s"
                }
            ],
            "order": 1,
            "role": "SIGNER",
            "name": "signer_one"
        },
        {
            "memberInfos": [
                {
                    "email": "xxxxx@gmail.com",
                    "name": "xxxxx"
                }
            ],
            "order": 2,
            "role": "SIGNER",
            "name": "signer_two"
        },
        {
            "memberInfos": [
                {
                    "email": "xxxxx",
                    "name": "xxxx"
                }
            ],
            "order": 3,
            "role": "SIGNER",
            "name": "signer_three"
        }
    ],
    "signatureType": "ESIGN",
    "state": "AUTHORING",
    "formFieldGenerators": [
        {
            "formFieldNamePrefix": "signature_one",
            "anchorTextInfo": {
                "anchorText": "2018 United States Holiday Calendar",
                "anchoredFormFieldLocation": {
                    "offsetX": 0,
                    "offsetY": -25,
                    "height": 15,
                    "width": 12
                }
            },
            "formFieldDescription": {
                "backgroundColor": "0xD9D1D1",
                "borderColor": "0xFF0000",
                "borderWidth": "0.5",
                "inputType": "SIGNATURE",
                "contentType": "SIGNATURE_BLOCK",
                "required": true
            },
            "participantSetName": "signer_one"
        },
        {
            "formFieldNamePrefix": "signature_two",
            "anchorTextInfo": {
                "anchorText": "2018 United States Holiday Calendar",
                "anchoredFormFieldLocation": {
                    "pageNumber": 2,
                    "offsetX": 188,
                    "offsetY": 488,
                    "height": 25,
                    "width": 76
                }
            },
            "formFieldDescription": {
                "backgroundColor": "0xD1D9D1",
                "borderColor": "0xFF0000",
                "borderWidth": "0.5",
                "inputType": "SIGNATURE",
                "contentType": "SIGNATURE_BLOCK",
                "required": true
            },
            "participantSetName": "signer_two"
        },
        {
            "formFieldNamePrefix": "signature_three",
            "anchorTextInfo": {
                "anchorText": "United States 2020 Holiday Schedule",
                "anchoredFormFieldLocation": {
                    "pageNumber": 3,
                    "offsetX": 370,
                    "offsetY": 37,
                    "height": 210,
                    "width": 26
                }
            },
            "formFieldDescription": {
                "backgroundColor": "0xD1D1D9",
                "borderColor": "0xFF0000",
                "borderWidth": "0.5",
                "inputType": "SIGNATURE",
                "contentType": "SIGNATURE_BLOCK",
                "required": true
            },
            "participantSetName": "signer_three"
        }
    ]
}

 

    This topic has been closed for replies.