AccountManagementService


Click here for a complete list of operations.

ActivateSalesforceInstance

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /api/3.0/accountmanagement.asmx HTTP/1.1
Host: eu1.docusign.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.docusign.net/API/AccountManagement/ActivateSalesforceInstance"

<?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>
    <ActivateSalesforceInstance xmlns="http://www.docusign.net/API/AccountManagement">
      <AccountId>string</AccountId>
      <ExternalInstanceId>string</ExternalInstanceId>
      <ConnectUsername>string</ConnectUsername>
      <ConnectPassword>string</ConnectPassword>
      <SalesforceEnvironment>string</SalesforceEnvironment>
      <Member>
        <MemberEmailAddress>string</MemberEmailAddress>
        <MemberUserName>string</MemberUserName>
        <MemberPassword>string</MemberPassword>
        <MemberForgottenPasswordQuestion>string</MemberForgottenPasswordQuestion>
        <MemberForgottenPasswordAnswer>string</MemberForgottenPasswordAnswer>
        <MemberTitle>string</MemberTitle>
        <MemberFirstName>string</MemberFirstName>
        <MemberMiddleName>string</MemberMiddleName>
        <MemberLastName>string</MemberLastName>
        <MemberSuffix>string</MemberSuffix>
        <EnableConnectForUser>boolean</EnableConnectForUser>
        <MemberSettings>
          <Locale>string</Locale>
          <CanManageAccount>boolean</CanManageAccount>
          <CanSendEnvelope>boolean</CanSendEnvelope>
          <CanSendAPIRequests>boolean</CanSendAPIRequests>
          <APIAccountWideAccess>boolean</APIAccountWideAccess>
          <EnableVaulting>boolean</EnableVaulting>
          <VaultingMode>bytes</VaultingMode>
          <EnableTransactionPoint>boolean</EnableTransactionPoint>
          <EnableSequentialSigningAPI>boolean</EnableSequentialSigningAPI>
          <EnableSequentialSigningUI>boolean</EnableSequentialSigningUI>
          <EnableDSPro>boolean</EnableDSPro>
          <PowerFormAdmin>boolean</PowerFormAdmin>
          <PowerFormUser>boolean</PowerFormUser>
          <CanEditSharedAddressBook>bytes</CanEditSharedAddressBook>
          <CanManageTemplates>bytes</CanManageTemplates>
          <EnableSignOnPaperOverride>boolean</EnableSignOnPaperOverride>
          <EnableSignerAttachments>boolean</EnableSignerAttachments>
          <AllowSendOnBehalfOf>boolean</AllowSendOnBehalfOf>
        </MemberSettings>
        <ReturnEncryptedPassword>boolean</ReturnEncryptedPassword>
        <SendActivationMailOnInvalidLogin>boolean</SendActivationMailOnInvalidLogin>
        <ActivationAccessCode>string</ActivationAccessCode>
        <MemberForgottenPasswordQuestion2>string</MemberForgottenPasswordQuestion2>
        <MemberForgottenPasswordAnswer2>string</MemberForgottenPasswordAnswer2>
        <MemberForgottenPasswordQuestion3>string</MemberForgottenPasswordQuestion3>
        <MemberForgottenPasswordAnswer3>string</MemberForgottenPasswordAnswer3>
        <MemberForgottenPasswordQuestion4>string</MemberForgottenPasswordQuestion4>
        <MemberForgottenPasswordAnswer4>string</MemberForgottenPasswordAnswer4>
        <Groups>
          <Group>
            <GroupName>string</GroupName>
            <GroupId>string</GroupId>
          </Group>
          <Group>
            <GroupName>string</GroupName>
            <GroupId>string</GroupId>
          </Group>
        </Groups>
      </Member>
    </ActivateSalesforceInstance>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <ActivateSalesforceInstanceResponse xmlns="http://www.docusign.net/API/AccountManagement">
      <ActivateSalesforceInstanceResult>
        <AccountId>string</AccountId>
        <SiteId>string</SiteId>
        <UserId>string</UserId>
        <MembershipId>string</MembershipId>
        <EncryptedPassword>string</EncryptedPassword>
        <Success>boolean</Success>
        <Error>
          <ErrorCode>Unspecified_Error or Invalid_Account_ID or Account_Requires_User_Name_And_Password_For_Activation or Account_Is_Already_Activated_For_Salesforce or Invalid_Distributor_For_Account or Invalid_User_ID or Invalid_Account or User_Is_Not_An_Account_Manager or Invalid_Login or Invalid_Member_User_Name or Invalid_Member_Email or Member_Email_Not_Allowed or Member_Email_And_User_Name_Awaiting_Activation or Member_Email_And_User_Name_Already_Exists_For_This_Account or Member_Password_Blank or Member_Forgotten_Password_Question_Blank or Member_Forgotten_Password_Answer_Blank or Invalid_Password_Format or Invalid_Member_Data or Member_Email_And_User_Name_Already_Exists or Not_Authorized or Invalid_Distributor_Selected or Invalid_PGP_For_Distributor or Invalid_Credit_Card_Type or CreditCard_Auth_Failed or Invalid_PGP or Invalid_Plan_Retired or Invalid_Successor_Plan or Invalid_Credit_Card or Credit_Card_Expiration or Invalid_AppToken or Distributor_Not_Enabled_For_AppToken or Plan_Group_Not_Enabled_For_Distributor or Invalid_Configuration_Number or Invalid_Salesforce_Credentials or Invalid_Salesforce_External_Instance_ID or Invalid_DocuSign_Connect_Configuration_For_Account or Invalid_User or Invalid_Membership or Invalid_Account_Member or Invalid_Edit_User or Invalid_Edit_Membership or Invalid_CanEditSharedAddressBook_Value or Invalid_CanManageTemplates_Value or Invalid_Membership_ID or Invalid_Request or Partner_Authentication_Failed or Hourly_API_Invocation_Limit_Exceeded or Initialize_Client_Account_Error or Max_Members_Exceeded or Invalid_File_Or_Too_Large or Invalid_Account_Provisioning_Distributor_Selected or Insufficient_Account_Provisioning_Distributor_Seats or Invalid_AdminNRDSId or NRDSId_Required or Account_Not_Created_By_Account_Provisioning_Distributor or Invalid_Account_Provisioning_Distributor_Added_Seats</ErrorCode>
          <Description>string</Description>
        </Error>
      </ActivateSalesforceInstanceResult>
    </ActivateSalesforceInstanceResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /api/3.0/accountmanagement.asmx HTTP/1.1
Host: eu1.docusign.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ActivateSalesforceInstance xmlns="http://www.docusign.net/API/AccountManagement">
      <AccountId>string</AccountId>
      <ExternalInstanceId>string</ExternalInstanceId>
      <ConnectUsername>string</ConnectUsername>
      <ConnectPassword>string</ConnectPassword>
      <SalesforceEnvironment>string</SalesforceEnvironment>
      <Member>
        <MemberEmailAddress>string</MemberEmailAddress>
        <MemberUserName>string</MemberUserName>
        <MemberPassword>string</MemberPassword>
        <MemberForgottenPasswordQuestion>string</MemberForgottenPasswordQuestion>
        <MemberForgottenPasswordAnswer>string</MemberForgottenPasswordAnswer>
        <MemberTitle>string</MemberTitle>
        <MemberFirstName>string</MemberFirstName>
        <MemberMiddleName>string</MemberMiddleName>
        <MemberLastName>string</MemberLastName>
        <MemberSuffix>string</MemberSuffix>
        <EnableConnectForUser>boolean</EnableConnectForUser>
        <MemberSettings>
          <Locale>string</Locale>
          <CanManageAccount>boolean</CanManageAccount>
          <CanSendEnvelope>boolean</CanSendEnvelope>
          <CanSendAPIRequests>boolean</CanSendAPIRequests>
          <APIAccountWideAccess>boolean</APIAccountWideAccess>
          <EnableVaulting>boolean</EnableVaulting>
          <VaultingMode>bytes</VaultingMode>
          <EnableTransactionPoint>boolean</EnableTransactionPoint>
          <EnableSequentialSigningAPI>boolean</EnableSequentialSigningAPI>
          <EnableSequentialSigningUI>boolean</EnableSequentialSigningUI>
          <EnableDSPro>boolean</EnableDSPro>
          <PowerFormAdmin>boolean</PowerFormAdmin>
          <PowerFormUser>boolean</PowerFormUser>
          <CanEditSharedAddressBook>bytes</CanEditSharedAddressBook>
          <CanManageTemplates>bytes</CanManageTemplates>
          <EnableSignOnPaperOverride>boolean</EnableSignOnPaperOverride>
          <EnableSignerAttachments>boolean</EnableSignerAttachments>
          <AllowSendOnBehalfOf>boolean</AllowSendOnBehalfOf>
        </MemberSettings>
        <ReturnEncryptedPassword>boolean</ReturnEncryptedPassword>
        <SendActivationMailOnInvalidLogin>boolean</SendActivationMailOnInvalidLogin>
        <ActivationAccessCode>string</ActivationAccessCode>
        <MemberForgottenPasswordQuestion2>string</MemberForgottenPasswordQuestion2>
        <MemberForgottenPasswordAnswer2>string</MemberForgottenPasswordAnswer2>
        <MemberForgottenPasswordQuestion3>string</MemberForgottenPasswordQuestion3>
        <MemberForgottenPasswordAnswer3>string</MemberForgottenPasswordAnswer3>
        <MemberForgottenPasswordQuestion4>string</MemberForgottenPasswordQuestion4>
        <MemberForgottenPasswordAnswer4>string</MemberForgottenPasswordAnswer4>
        <Groups>
          <Group>
            <GroupName>string</GroupName>
            <GroupId>string</GroupId>
          </Group>
          <Group>
            <GroupName>string</GroupName>
            <GroupId>string</GroupId>
          </Group>
        </Groups>
      </Member>
    </ActivateSalesforceInstance>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ActivateSalesforceInstanceResponse xmlns="http://www.docusign.net/API/AccountManagement">
      <ActivateSalesforceInstanceResult>
        <AccountId>string</AccountId>
        <SiteId>string</SiteId>
        <UserId>string</UserId>
        <MembershipId>string</MembershipId>
        <EncryptedPassword>string</EncryptedPassword>
        <Success>boolean</Success>
        <Error>
          <ErrorCode>Unspecified_Error or Invalid_Account_ID or Account_Requires_User_Name_And_Password_For_Activation or Account_Is_Already_Activated_For_Salesforce or Invalid_Distributor_For_Account or Invalid_User_ID or Invalid_Account or User_Is_Not_An_Account_Manager or Invalid_Login or Invalid_Member_User_Name or Invalid_Member_Email or Member_Email_Not_Allowed or Member_Email_And_User_Name_Awaiting_Activation or Member_Email_And_User_Name_Already_Exists_For_This_Account or Member_Password_Blank or Member_Forgotten_Password_Question_Blank or Member_Forgotten_Password_Answer_Blank or Invalid_Password_Format or Invalid_Member_Data or Member_Email_And_User_Name_Already_Exists or Not_Authorized or Invalid_Distributor_Selected or Invalid_PGP_For_Distributor or Invalid_Credit_Card_Type or CreditCard_Auth_Failed or Invalid_PGP or Invalid_Plan_Retired or Invalid_Successor_Plan or Invalid_Credit_Card or Credit_Card_Expiration or Invalid_AppToken or Distributor_Not_Enabled_For_AppToken or Plan_Group_Not_Enabled_For_Distributor or Invalid_Configuration_Number or Invalid_Salesforce_Credentials or Invalid_Salesforce_External_Instance_ID or Invalid_DocuSign_Connect_Configuration_For_Account or Invalid_User or Invalid_Membership or Invalid_Account_Member or Invalid_Edit_User or Invalid_Edit_Membership or Invalid_CanEditSharedAddressBook_Value or Invalid_CanManageTemplates_Value or Invalid_Membership_ID or Invalid_Request or Partner_Authentication_Failed or Hourly_API_Invocation_Limit_Exceeded or Initialize_Client_Account_Error or Max_Members_Exceeded or Invalid_File_Or_Too_Large or Invalid_Account_Provisioning_Distributor_Selected or Insufficient_Account_Provisioning_Distributor_Seats or Invalid_AdminNRDSId or NRDSId_Required or Account_Not_Created_By_Account_Provisioning_Distributor or Invalid_Account_Provisioning_Distributor_Added_Seats</ErrorCode>
          <Description>string</Description>
        </Error>
      </ActivateSalesforceInstanceResult>
    </ActivateSalesforceInstanceResponse>
  </soap12:Body>
</soap12:Envelope>