我们正在创建一个处理签名文档的应用程序。作为测试过程的一部分,我想自动化示例文档的创建和签名。如何通过邮递员在文件上签名?
使用位于DocuS传/博客的Postman脚本,我可以验证:
https://{{hostenv}}/restapi/{{apiVersion}}/login_information?api_password=true
{
"loginAccounts": [
{
"name": "Personal",
"accountId": "9",
"baseUrl": "https://demo.docusign.net/restapi/v2.1/accounts/9",
"isDefault": "true",
"userName": "Chris",
"userId": "",
"email": "",
"siteDescription": ""
}
],
"apiPassword": "="
}然后创建一个信封要签名..。
{{baseUrl}}/envelopes
{
"recipients": {
"signers": [
{
"email": "{{signer1Email}}",
"name": "{{signer1Name}}",
"recipientId": 1,
"tabs": {
"signHereTabs": [
{
"xPosition": "100",
"yPosition": "100",
"documentId": "1",
"pageNumber": "1"
}
]
}
}
]
},
"emailSubject": "DocuSign API - Signature Request on Document Call",
"documents": [
{
"documentId": "1",
"name": "blank1.pdf",
"documentBase64": "JVBERi0x..."
}
],
"status": "sent"
}有没有办法--通过邮递员--在刚刚创建的信封上签名?
我一直在探索一个更复杂的设置(Selenium等),但我想知道文档是否可以通过邮递员签名。
发布于 2020-02-06 19:37:43
正如Inbar声明的那样,您不能使用DocuSign API自动签署信封。另一种选择是更正信封,将签名者更改为副本收件人,后者将立即完成他们在信封中的角色。
发布于 2020-02-06 17:36:26
您不能通过REST (或任何其他API)签名信封。您可以使用UI自动化技术单击页面上的内容并以这种方式签署信封。这里有一个类似的问题,这是一位自动化专家的回答-- DocuSign集成测试。
https://stackoverflow.com/questions/60100623
复制相似问题