Customers that have more than one DocuSign account can use the AccountID property to specify the usage of one specific account. If a customer has more than one DocuSign account and does NOT include an AccountID, then the customer’s default (typically most used) DocuSign account is used.
If a customer passes an AccountID that is not found by DocuSign, they will see the following error message:
The DocuSign AccountID provided in this request cannot be validated for your account. Either correct it or remove it from the request so the default DocuSign can be used.
Sample Code
REST
{ "HostFormOnQuik": true, "QuikFormID": "12", "ESignType": { "Type":"Docusign", "AuthUserID":"{your AuthUserID}", "SignCallBackURL":"{your SignCallBackURL}", "SignEnvironmentID": 2, "AccountID": {your DocuSign AccountID} } }
SOAP
<?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:Header <AuthenticationHeader xmlns="https://websvcs.quikforms.com/quikformsenginews/"> <CustomerID>YOUR_CUSTOMERID</CustomerID> <UserName>YOUR_USERNAME</UserName> <Password>YOUR_PASSWORD</Password> </AuthenticationHeader> </soap:Header> soap:Body <Execute xmlns="https://websvcs.quikforms.com/quikformsenginews/"> <QFESettings> <QuikFormID>1</QuikFormID> <HostFormOnQuik>true</HostFormOnQuik> <ESignType xsi:type="ESignTypeDocusign"> <SignCallBackURL><YOUR_SIGNCALLBACKURL</SignCallBackURL>> <SignEnvironmentID>2</SignEnvironmentID> <AuthUserID>YOUR_AUTHUSERID</AuthUserID> <AccountID>28191225</AccountID> </ESignType> </QFESettings> </Execute> </soap:Body> </soap:Envelope>