我已成功通过电子邮件(使用CheckAccountMember)检索了DocuSign" UserID" s。但是,我认为无法检索DocuSign"用户名" (我需要将其传递给GetFolderItems以进行我正在进行的项目)。我可以打电话,但我还没有碰到过吗?感谢您的帮助。
答案 0 :(得分:0)
看起来您已找到相应的SOAP API调用,为社区的利益发布完整答案:
如果使用DocuSign的SOAP API,您需要进行 GetMembershipSummary 调用。关于这个电话的注释 -
示例调用与此类似:
POST /api/3.0/accountmanagement.asmx HTTP/1.1
Host: docusign.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.docusign.net/API/AccountManagement/GetMembershipSummary"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMembershipSummary xmlns="http://www.docusign.net/API/AccountManagement">
<Email>string</Email>
</GetMembershipSummary>
</soap:Body>
</soap:Envelope>
否则,如果使用DocuSign的REST API,您可以进行获取用户信息 API调用:
URL: /帐户/ {帐户ID} /用户/ {用户id}
可选查询字符串:additional_info = {true / false}
示例电话:
GET https://{server}/restapi/{apiVersion}/accounts/{accountId}/users/{userId}
X-DocuSign-Authentication: <DocuSignCredentials><Username>{name}</Username><Password>{password}</Password><IntegratorKey>{integrator_key}</IntegratorKey></DocuSignCredentials>
Accept: application/json
Content-Type: application/json