我想实现发送签名请求并签署文档。你知道这样做是否很难吗?你能给我一些资源来访问DocuSign api吗?
答案 0 :(得分:0)
official documentation : REST API Recipe: Request a Signature via Email提供了有关如何为不同语言发送签名请求的很好示例。我建议你看一下Node.js的例子:
var url = "https://demo.docusign.net/restapi/v2/login_information";
var body = ""; // no request body for login api call
// set request url, method, body, and headers
var options = initializeRequest(url, "GET", body, email, password);
// send the request...
request(options, function(err, res, body) {
if(!parseResponseBody(err, res, body)) {
return;
}
baseUrl = JSON.parse(body).loginAccounts[0].baseUrl;
next(null); // call next function
});