Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Docusign收件人状态_Java_Xml_Api_Docusignapi - Fatal编程技术网

Java Docusign收件人状态

Java Docusign收件人状态,java,xml,api,docusignapi,Java,Xml,Api,Docusignapi,是否可以通过API获取DocuSign文档的每个收件人的状态?获取收件人状态的xml/java是什么?我用不同的人的电子邮件发送信封,但是当我使用这里描述的过程时,似乎没有一个地方指定要检查哪个收件人的状态 这将是我正在寻找的一个例子 文件xxxxxxxxx 收件人1已发送 收件人2于年月日签署 收件人3于年月日拒绝对DocuSign REST API“获取信封收件人状态”调用(Get/accounts/{accountId}/envelopes/{envelopeId}/recipients)

是否可以通过API获取DocuSign文档的每个收件人的状态?获取收件人状态的xml/java是什么?我用不同的人的电子邮件发送信封,但是当我使用这里描述的过程时,似乎没有一个地方指定要检查哪个收件人的状态

这将是我正在寻找的一个例子

文件xxxxxxxxx 收件人1已发送 收件人2于年月日签署
收件人3于年月日拒绝

对DocuSign REST API“获取信封收件人状态”调用(Get/accounts/{accountId}/envelopes/{envelopeId}/recipients)的响应将包含信封所有收件人的收件人状态信息。docusignrestapi指南()的第145-146页显示了一个请求和响应示例(JSON格式)

以下是有4个收件人的信封的示例响应正文: 1) 简在信封上签了字/填了字(路由单#1)。 2) 约翰在信封上签了字/填了字(寄送单#2)。 3) Jimmy收到了一份信封副本,作为复写件收件人(路由订单#3)。 4) 阿贝谢绝了信封(路由命令#4)

通过迭代响应中每种类型的收件人(签名者、代理、编辑、中间人、复写本、认证交付、输入者签名者),您可以访问每个收件人的状态信息

(注意:如果您使用的是DoSuxREST API,我建议您考虑使用JSON而不是XML),而DoSuxRealStaseAPI强>技术上的< /强>同时支持JSON和XML,使用REST API使用XML的文档非常有限——您可以通过使用JSON而不是XML、S来节省时间和挫折感。因为DocuSign生成的大多数代码示例和文档都是JSON。)

{
"signers": [
    {
        "signInEachLocation": "false",
        "name": "Abe Miller",
        "email": "emailAbe@outlook.com",
        "recipientId": "ea3362b6-cf00-4797-8cfb-56ca09b988a8",
        "requireIdLookup": "false",
        "userId": "5b97e1be-3cea-49fb-a1c3-b77890b0b154",
        "routingOrder": "4",
        "status": "declined",
        "declinedDateTime": "2013-09-23T19:28:40.7670000Z",
        "declinedReason": "I don't want to sign."
    },
    {
        "signInEachLocation": "false",
        "name": "Jane Smith",
        "email": "emailJane@outlook.com",
        "recipientId": "54fb0d38-7c60-4d37-976a-6c72ea2ce32d",
        "requireIdLookup": "false",
        "userId": "17f820b1-f2a0-455a-88c2-e356a9c6914b",
        "routingOrder": "1",
        "status": "completed",
        "signedDateTime": "2013-09-23T19:27:54.2330000Z",
        "deliveredDateTime": "2013-09-23T19:27:49.9900000Z"
    },
    {
        "signInEachLocation": "false",
        "name": "John Doe",
        "email": "emailJohn@outlook.com",
        "recipientId": "78ef67bf-8795-4026-a57e-63ec960eb5a4",
        "requireIdLookup": "false",
        "userId": "03c8a856-c0ae-41bf-943d-ac6e92db66a8",
        "routingOrder": "2",
        "status": "completed",
        "signedDateTime": "2013-09-23T19:28:11.6900000Z",
        "deliveredDateTime": "2013-09-23T19:28:06.4170000Z"
    }
],
"agents": [],
"editors": [],
"intermediaries": [],
"carbonCopies": [
    {
        "name": "Jimmy Adams",
        "email": "emailJimmy@outlook.com",
        "recipientId": "afc51052-85e9-4575-8c06-b0f87c1a5d8b",
        "requireIdLookup": "false",
        "userId": "7a64f726-8985-490b-9e94-04e54292f53c",
        "routingOrder": "3",
        "status": "completed",
        "deliveredDateTime": "2013-09-23T19:28:21.3600000Z"
    }
],
"certifiedDeliveries": [],
"inPersonSigners": [],
"recipientCount": "4"
}