Please report issues and contribute improvements on GitHub!

Template docusign-connect@0.1.0

Contract Ergo ^0.10.1 526632f99e9cafb1fb5121f31da8776b68cb9793e70a4dd29c9db3fe3469dd58

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": "7030b7d3-f64d-4c7f-852d-f597b17a4535",
    "status": "Completed"
}

State Types

Type Sample JSON
com.docusign.connect.counter.DocuSignEnvelopeCounterState
{
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterState",
    "counter": 19061,
    "stateId": "d1ffd432-20be-11e9-a3a8-85089b4ba89b"
}

Request Types

Type Sample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
    "$class": "com.docusign.connect.DocuSignEnvelopeInformation",
    "envelopeStatus": {
        "$class": "com.docusign.connect.EnvelopeStatus",
        "status": "Any"
    },
    "transactionId": "d1ffad20-20be-11e9-a3a8-85089b4ba89b",
    "timestamp": "2019-01-25T16:32:35.058Z"
}
org.accordproject.cicero.runtime.Request
{
    "$class": "org.accordproject.cicero.runtime.Request",
    "transactionId": "d1ff10e0-20be-11e9-a3a8-85089b4ba89b",
    "timestamp": "2019-01-25T16:32:35.055Z"
}

Response Types

Type Sample JSON
com.docusign.connect.counter.MyResponse
{
    "$class": "com.docusign.connect.counter.MyResponse",
    "output": "Do magna ipsum consectetur.",
    "counter": 34891,
    "transactionId": "d1ffd430-20be-11e9-a3a8-85089b4ba89b",
    "timestamp": "2019-01-25T16:32:35.059Z"
}
org.accordproject.cicero.runtime.Response
{
    "$class": "org.accordproject.cicero.runtime.Response",
    "transactionId": "d1ffad21-20be-11e9-a3a8-85089b4ba89b",
    "timestamp": "2019-01-25T16:32:35.058Z"
}

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": "Nostrud nulla Lorem officia.",
    "message": "Nulla incididunt qui exercitation est.",
    "contract": "resource:com.docusign.connect.counter.DocuSignEnvelopeCounterClause#1696",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#7889",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#0071",
    "deadline": "2019-01-25T16:32:35.059Z",
    "eventId": "d1ffd433-20be-11e9-a3a8-85089b4ba89b",
    "timestamp": "2019-01-25T16:32:35.059Z"
}