2014-09-05 78 views
0

我們有一個docusign帳戶,我們有一些信封,我們可以使用每年。無論如何要自動檢查這個?我不想每隔幾個月登錄一次查看。這不是我很懶,但我覺得我可能會忘記。任何API調用?或者,也許一些電子郵件通知設置?Docusign左信封#

謝謝!

回答

2

是的是有一個API調用將檢索相關的帳戶信息,包括帳單期間,發送的信封等。您要撥打的號碼是GET/v2/accounts/{accountId}的URL。此調用是在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指南(頁71):

DocuSign API Guide

相關問題