Sample Market Product Enrollment Request and Response in the JSON Format

Using the below example, you can enroll market product to the account.

Sample Market Product Enrollment Request in the JSON Format

{
    "C1PRDCTENRL": 
    {
    "enrollment": "",
        {
            "enrollmentcharlist": 
            {
                "characteristicValue": "",
                "characteristicType": "",
                "effectiveDate": "",
                "actionFlag": "",
            }
            "personDetails": 
            {
                "personId": "",
                "accountdetailslist":
                {
                    "accountcharlist":
                    {
                        "characteristicValue2": "",
                        "characteristicType2": "",
                        "effectiveDate2": "",
                        "actionFlag2": "",
                    }
                    "enrollmentStatus": "ACTIVE",
                    "closingDate": "2023-01-12",
                    "accountId": "Dental Account",
                    "currency": "USD",
                    "setUpDate": "2023-01-01",
                    "division": "BK",
                    "accountNumber": "",
                    "accountIdentifierType": "",
                }
                "personcharlist": 
                {
                    "characteristicValue3": "",
                    "characteristicType3": "",
                    "effectiveDate3": "",
                    "actionFlag3": "",
                }
                "emailAddress": "leticia.walsh@example.com",
                "country": "USA",
                "state": "OH",
                "city": "CINCINNATI",
                "address4": "",
                "address3": "RIVERDALE ROAD",
                "address2": "CULLINAN STREET",
                "address1": "TREVOR MANSION",
                "addressTypeFlg": "",
                "creationDateTime": "",
                "birthDate": "1968-05-10",
                "division2": "BK",
                "personIdNumber": "",
                "personIdentifiers": "",
                "personNames": "LETICIA,WALSH",
                "nameType": "PRIM",
                "personOrBusiness": "",
            }
            "startDate": "",
            "comments": "",
            "entityCode": "CHECKMP_001",
            "entityType": "MP",
            "enrollmentAction": "Add",
        }
    }
}

Sample Market Product Enrollment Response in the JSON Format

{
    "C1PRDCTENRL": 
    {
        "enrollmentResponse": 
        {
            "error": 
            {
                "errorDescription" : "",
                "errorMsgText" : "",
                "messageNumber" : "",
                "erroCategory" : "",
            }
            "enrollResponse": 
            {
            "messageText" : "Successfully Enrolled",
            "productEnrollmentId" : "4368251923",
            }
        }
    }
}

Related Topics

For more information on... See...
Market Product, Offer, or Bundle Enrollment Request and Response - Attribute/Value Pairs in JSON Format Market Product, Offer, or Bundle Enrollment Request and Response - Attribute/Value Pairs in JSON Format