Sample Prospect Account Creation Request and Response in the JSON 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 JSON Format

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

Sample Prospect Account Creation Response in the JSON Format

{
    "C1_PRSACCT_SERVICE"
    {
        "mainEntityId" :"1723682728",
        "mainEntityType" :"PRSP",
        "actionFlag" :"ADD",
        "prospectAccountId" :"1368615549",
        "status" :"ACTIVE",
        "customerClass" :"BK",
        "accountDivision" :"930",
        "setUpDate" :"2019-11-21",
        "currency" :"USD",
        "billCycle" :"YEAR",
        "accountAccessGroup" :"***",
        "prosAcctCharacteristicList"
        {
            "characteristicValue" :"CURRENT",
            "effectiveDate" :"2019-11-21",
            "characteristicType" :"C1_F_ATY",
        }
        "prosAcctIdentifierList"
        {
            "accountIdentifierType" :"ACCT_NM",
            "isPrimaryId" :"TRUE",
            "accountNumber" :"2429108813",
        }
    }
}
Note: We have given the above request and response samples to illustrate how the attribute value pairs should be structured 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 attribute/value pairs in the JSON format Prospect Account Add Request and Response - Attribute/Value Pairs in the JSON Format