Docusign Connect

docusign-connect@0.7.0 Contract ^0.20.0 0a2167acc3b16cc45abc41a133c3188510f932d53e2c5a15766e1e93d10ae4b6

Counts events from DocuSign connect with a given envelope status.

Download Archive Open in Template Studio

DocuSign Connect

A template that counts events from DocuSign connect with a given envelope status.

Template Text

Grammar

Count DocuSign connect events with the status: {{status}}.

Sample

Count DocuSign connect events with the status: Completed.

Sample Data

{
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterClause",
    "contractId": "822a5e56-092e-417e-aa55-54698434631c",
    "status": "Completed"
}

Template Model

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
com.docusign.connect.counter.DocuSignEnvelopeCounterState
{
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterState",
    "counter": 59854,
    "stateId": "e6d402a1-ff3e-11e9-b361-efc0ae54bdd6"
}

Request Types

Type Sample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
    "$class": "com.docusign.connect.DocuSignEnvelopeInformation",
    "envelopeStatus": {
        "$class": "com.docusign.connect.EnvelopeStatus",
        "status": "Signed",
        "envelopeId": "Do reprehenderit.",
        "created": "2019-11-04T15:08:43.721-05:00",
        "sent": "2019-11-04T15:08:43.721-05:00",
        "delivered": "2019-11-04T15:08:43.721-05:00",
        "signed": "2019-11-04T15:08:43.721-05:00",
        "completed": "2019-11-04T15:08:43.721-05:00",
        "declined": "2019-11-04T15:08:43.721-05:00",
        "email": "Sunt eu cupidatat nulla."
    },
    "recipients": [
        {
            "$class": "com.docusign.connect.Recipient",
            "status": "AutoResponded",
            "email": "Non.",
            "userName": "Nostrud consectetur sunt.",
            "sent": "2019-11-04T15:08:43.721-05:00",
            "delivered": "2019-11-04T15:08:43.721-05:00",
            "signed": "2019-11-04T15:08:43.721-05:00",
            "declined": "2019-11-04T15:08:43.721-05:00",
            "declineReason": "Velit sint eu irure occaecat.",
            "tabStatuses": [
                {
                    "$class": "com.docusign.connect.NumberTabStatus",
                    "tabName": "Nisi reprehenderit eu Lorem.",
                    "tabValue": 224.942,
                    "tabType": "InitialHereOptional",
                    "status": "Cillum culpa excepteur.",
                    "tabLabel": "Cillum eiusmod culpa.",
                    "originalValue": "Laborum velit aliqua incididunt ad.",
                    "signed": "2019-11-04T15:08:43.721-05:00",
                    "customTabType": "Text"
                }
            ]
        }
    ],
    "customFields": [
        {
            "$class": "com.docusign.connect.CustomField",
            "name": "Ea.",
            "value": "Reprehenderit laboris minim nulla cillum."
        }
    ],
    "transactionId": "e6d3db90-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:43.721-05:00"
}

Response Types

Type Sample JSON
com.docusign.connect.counter.MyResponse
{
    "$class": "com.docusign.connect.counter.MyResponse",
    "output": "Deserunt occaecat labore enim.",
    "counter": 26798,
    "transactionId": "e6d402a0-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:43.722-05:00"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.NotificationObligation
{
    "$class": "org.accordproject.cicero.runtime.NotificationObligation",
    "title": "Ea.",
    "message": "Culpa tempor.",
    "contract": "resource:com.docusign.connect.counter.DocuSignEnvelopeCounterClause#7226",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#8003",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#4249",
    "deadline": "2019-11-04T15:08:43.722-05:00",
    "eventId": "e6d402a2-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:43.722-05:00"
}

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on GitHub.