Sample Prospect Account Creation Request and Response in the XML Format

Using the below example, you can create the prospect account for 1723682728 prospect person in 930 division.

Sample Prospect Account Creation Request in the XML Format

<C1_PRSACCT_SERVICE>
    <mainEntityId>1723682728</mainEntityId>
    <mainEntityType>PRSP</mainEntityType>
    <actionFlag>ADD</actionFlag>
    <status>ACTIVE</status>
    <customerClass>BK</customerClass>
    <accountDivision>930</accountDivision>
    <setUpDate>2019-11-21</setUpDate>
    <currency>USD</currency>
    <billCycle>YEAR</billCycle>
    <accountAccessGroup>***</accountAccessGroup>
    <prosAcctCharacteristicList>
        <characteristicValue>CURRENT</characteristicValue>
        <effectiveDate>2019-11-21</effectiveDate>
        <characteristicType>C1_F_ATY</characteristicType>
    </prosAcctCharacteristicList>
    <prosAcctIdentifierList>
        <accountIdentifierType>ACCT_NM</accountIdentifierType>
        <isPrimaryId>TRUE</isPrimaryId>
        <accountNumber>2429108813</accountNumber>
    </prosAcctIdentifierList>
</C1_PRSACCT_SERVICE>
Note: If you do not want to enter the data in the list tags (i.e. tags where the type is set to list), you should not include them in the request. Adding empty list tags will give erroneous results.

Sample Prospect Account Creation Response in the XML Format

<C1_PRSACCT_SERVICE>
    <mainEntityId>1723682728</mainEntityId>
    <mainEntityType>PRSP</mainEntityType>
    <actionFlag>ADD</actionFlag>
    <prospectAccountId>1368615549</prospectAccountId>
    <status>ACTIVE</status>
    <customerClass>BK</customerClass>
    <accountDivision>930</accountDivision>
    <setUpDate>2019-11-21</setUpDate>
    <currency>USD</currency>
    <billCycle>YEAR</billCycle>
    <accountAccessGroup>***</accountAccessGroup>
    <prosAcctCharacteristicList>
        <characteristicValue>CURRENT</characteristicValue>
        <effectiveDate>2019-11-21</effectiveDate>
        <characteristicType>C1_F_ATY</characteristicType>
    </prosAcctCharacteristicList>
    <prosAcctIdentifierList>
        <accountIdentifierType>ACCT_NM</accountIdentifierType>
        <isPrimaryId>TRUE</isPrimaryId>
        <accountNumber>2429108813</accountNumber>
    </prosAcctIdentifierList>
</C1_PRSACCT_SERVICE>
Note: We have given the above request and response samples to illustrate how the tags should be nested while sending a prospect account creation request from the external system. However, you should not seamlessly use this request sample in your environment because the required pre-requisite data may not be available in your environment. In such case, the system will give erroneous results.

Related Topics

For more information on... See...
Prospect account add request and response tags in the XML format Prospect Account Add Request and Response - Tags in the XML Format