跟踪使用“更改签名者”选项的信封

时间:2014-02-27 06:01:26

标签: docusignapi

如何跟踪在DocuSign API c#中使用“更改签名者”选项的信封?

1 个答案:

答案 0 :(得分:1)

不确定是否可以搜索发生“更改签名者”事件的所有信封(即检索信封ID)。但是,要确定特定信封是否发生了“更改签名者”事件,您可以使用获取信封审核事件操作(REST API):

GET https://{{env}}.docusign.net/restapi/{{version}}/accounts/{{acctId}}/envelopes/{{envelopeId}}/audit_events

如果指定信封发生“更改签名者”事件,则API响应将包含有关此事件的信息:

  {
    "auditEvents": [
        ...
        {
            "eventFields": [
                {
                    "name": "logTime",
                    "value": "2014-02-27T14:41:36.0380469Z"
                },
                {
                    "name": "Source",
                    "value": "web"
                },
                {
                    "name": "UserName",
                    "value": "John Doe"
                },
                {
                    "name": "Action",
                    "value": "Reassign"
                },
                {
                    "name": "Message",
                    "value": "John Doe reassigned the envelope to Mary Smith [marysemail@outlook.com] routing order 1"
                },
                {
                    "name": "EnvelopeStatus",
                    "value": "sent"
                },
                {
                    "name": "ClientIPAddress",
                    "value": "65.11.28.123"
                },
                {
                    "name": "Information",
                    "value": "Mary Smith [marysemail@outlook.com] routing order 1"
                },
                {
                    "name": "GeoLocation",
                    "value": ""
                },
                {
                    "name": "Language",
                    "value": "english (us)"
                }
            ]
            ...
        }
    ]

响应将包含针对指定信封发生的所有事件的信息 - “更改签名者”事件是操作=重新分配的事件(如上所示)。有关“获取信封审核事件”操作(http://www.docusign.com/sites/default/files/REST_API_Guide_v2.pdf)的详细信息,请参阅REST API指南(p127)。