Please report issues and contribute improvements on GitHub!

Template docusign-connect@0.2.0

Contract Ergo ^0.10.1 61edb28a8f4b1c6a96b845712b9c0a2d16be0c4fe6bb4eefea055d1e82dc3f60

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.

Sample

Count DocuSign connect events with the status: "Completed".

                

Model Dependencies

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 on GitHub.

Sample Instance

{
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterClause",
    "contractId": "2576d567-2276-4d95-afad-6c756c4e4826",
    "status": "Completed"
}

State Types

Type Sample JSON
com.docusign.connect.counter.DocuSignEnvelopeCounterState
{
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterState",
    "counter": 49405,
    "stateId": "54db4db3-4394-11e9-bc5b-474333c9fdcd"
}

Request Types

Type Sample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
    "$class": "com.docusign.connect.DocuSignEnvelopeInformation",
    "envelopeStatus": {
        "$class": "com.docusign.connect.EnvelopeStatus",
        "status": "Delivered",
        "envelopeId": "Reprehenderit nisi nulla non.",
        "created": "2019-03-11T00:26:36.938Z",
        "sent": "2019-03-11T00:26:36.938Z",
        "delivered": "2019-03-11T00:26:36.938Z",
        "signed": "2019-03-11T00:26:36.938Z",
        "completed": "2019-03-11T00:26:36.938Z",
        "email": "Proident et et est laboris."
    },
    "recipients": [
        {
            "$class": "com.docusign.connect.Recipient",
            "status": "Completed",
            "email": "Dolore in commodo.",
            "userName": "Adipisicing aliquip dolor ad incididunt.",
            "sent": "2019-03-11T00:26:36.938Z",
            "delivered": "2019-03-11T00:26:36.938Z",
            "signed": "2019-03-11T00:26:36.938Z",
            "declined": "2019-03-11T00:26:36.938Z",
            "declineReason": "Nostrud mollit id aute reprehenderit."
        }
    ],
    "customFields": [
        {
            "$class": "com.docusign.connect.CustomField",
            "name": "Tempor laboris dolore sint.",
            "value": "Consectetur incididunt dolor incididunt do."
        }
    ],
    "transactionId": "54db26a0-4394-11e9-bc5b-474333c9fdcd",
    "timestamp": "2019-03-11T00:26:36.938Z"
}
org.accordproject.cicero.runtime.Request
{
    "$class": "org.accordproject.cicero.runtime.Request",
    "transactionId": "54dad880-4394-11e9-bc5b-474333c9fdcd",
    "timestamp": "2019-03-11T00:26:36.936Z"
}

Response Types

Type Sample JSON
com.docusign.connect.counter.MyResponse
{
    "$class": "com.docusign.connect.counter.MyResponse",
    "output": "Consequat dolore anim sint.",
    "counter": 9017,
    "transactionId": "54db4db1-4394-11e9-bc5b-474333c9fdcd",
    "timestamp": "2019-03-11T00:26:36.939Z"
}
org.accordproject.cicero.runtime.Response
{
    "$class": "org.accordproject.cicero.runtime.Response",
    "transactionId": "54db4db0-4394-11e9-bc5b-474333c9fdcd",
    "timestamp": "2019-03-11T00:26:36.939Z"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}
org.accordproject.cicero.runtime.NotificationObligation
{
    "$class": "org.accordproject.cicero.runtime.NotificationObligation",
    "title": "Cupidatat mollit ut reprehenderit ea.",
    "message": "Quis.",
    "contract": "resource:com.docusign.connect.counter.DocuSignEnvelopeCounterClause#3410",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#6539",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#6544",
    "deadline": "2019-03-11T00:26:36.940Z",
    "eventId": "54db74c0-4394-11e9-bc5b-474333c9fdcd",
    "timestamp": "2019-03-11T00:26:36.940Z"
}