Can someone tell me how to get the distributorPassword or an AppToken for a demo account?
I am trying to use the Create Account call (https://demo.docusign.net/restapi/v2/accounts) in the Docusign REST interface. This call requires a distributorCode and distributorPassword. These don't appear to be the same as the Username, Password, and IntegratorKey used for the other REST calls.
It looks like you can retrieve the distributorCode and distributorPassword using the Get Account Provisioning call (https://demo.docusign.net/restapi/v2/accounts/provisioning). This call requires an AppToken be supplied in the X-DocuSign-AppToken header. I am using a demo account and haven't been able to find out how to get an AppToken for this account.
The REST call Get Account Info (accounts/:accountId) appears to also return a distributorCode and distributorPassword but when I call it using my accountId I get a distributorCode (DEVCENTER_DEMO_APRIL2013) but not a distributorPassword.
Get Account Info response:
{
"currentPlanId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"planName": "DEVCENTER_DEMO_APRIL2013",
"planStartDate": "2014-09-05T22:44:35.8230000Z",
"planEndDate": "2015-09-05T22:44:35.8230000Z",
"billingPeriodStartDate": "2014-09-05T07:00:00.0000000Z",
"billingPeriodEndDate": "2014-10-05T07:00:00.0000000Z",
"billingPeriodEnvelopesSent": "0",
"billingPeriodEnvelopesAllowed": "unlimited",
"billingPeriodDaysRemaining": "27",
"canUpgrade": "false",
"canCancelRenewal": "false",
"envelopeSendingBlocked": "false",
"envelopeUnitPrice": "$0.00",
"suspensionStatus": "",
"accountName": "xxxxxx",
"connectPermission": "full",
"docuSignLandingUrl": "http://www.docusign.com/products/sign_up/buy_now.php",
"distributorCode": "DEVCENTER_DEMO_APRIL2013",
"accountIdGuid": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"currencyCode": "USD",
"forgottenPasswordQuestionsCount": "1",
"paymentMethod": "purchase_order",
"createdDate": "2014-09-05T22:44:35.7270000Z"
}