Docusign信封的左边

时间:2014-09-05 19:55:54

标签: docusignapi

我们有一个docusign帐户,我们每年都可以使用多个信封。无论如何要自动检查吗?我不想每隔几个月登录一次。这不是我懒惰,但我觉得我可能会忘记。任何API调用?或者也许是一些电子邮件通知设置?

谢谢!

1 个答案:

答案 0 :(得分:2)

是的,有一个API调用将检索相关的帐户信息,包括结算周期,发送的信封等。您要拨打的电话是GET/v2/accounts/{accountId}网址。此通话位于帐户标签下的DocuSign API Explorer

GET https://{server}/restapi/{apiVersion}/accounts/{accountId}

示例回复:

{
  "currentPlanId": "***",
  "planName": "DocuSign Enterprise",
  "planStartDate": "2013-06-17T18:52:47.8900000Z",
  "planEndDate": "2014-06-17T18:52:47.8900000Z",
  "billingPeriodStartDate": "2013-06-17T07:00:00.0000000Z",
  "billingPeriodEndDate": "2013-07-17T07:00:00.0000000Z",
  "billingPeriodEnvelopesSent": "132",
  "billingPeriodEnvelopesAllowed": "unlimited",
  "billingPeriodDaysRemaining": "0",
  "canUpgrade": "false",
  "canCancelRenewal": "true",
  "envelopeSendingBlocked": "false",
  "envelopeUnitPrice": "$0.00",
  "suspensionStatus": "",
  "accountName": "DocuSign",
  "connectPermission": "full",
  "docuSignLandingUrl": "http://www.docusign.com/products/sign_up/buy_now.php",
  "distributorCode": "***",
  "accountIdGuid": "***",
  "currencyCode": "USD",
  "forgottenPasswordQuestionsCount": "1",
  "paymentMethod": "purchase_order",
  "createdDate": "2013-06-17T18:52:47.0400000Z"
}

有关获取帐户信息 API调用的详细信息,请参阅REST API指南(第67页):

DocuSign API Guide