Sample Offer Enrollment Close Request and Response in the JSON Format

Using the below example, you can close the offer enrollment.

Sample Offer Enrollment Close Request in the JSON Format

{
    "C1PRDCTENRL": 
    {
    "enrollment": "",
        {
            "enrollmentcharlist": 
            {
                "characteristicValue": "",
                "characteristicType": "",
                "effectiveDate": "",
                "actionFlag": "",
            }
            "personDetails": 
            {
                "personId": "",
                "accountdetailslist":
                {
                    "accountcharlist":
                    {
                        "characteristicValue2": "",
                        "characteristicType2": "",
                        "effectiveDate2": "",
                        "actionFlag2": "",
                    }
                    "enrollmentStatus": "INACTIVE",
                    "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": "CHECKOFF_01",
            "entityType": "OFFR",
            "enrollmentAction": "Close",
        }
    }
}

Sample Offer Enrollment Close Response in the JSON Format

{
    "C1PRDCTENRL": 
    {
        "enrollmentResponse": 
        {
            "error": 
            {
                "errorDescription" : "",
                "errorMsgText" : "",
                "messageNumber" : "",
                "erroCategory" : "",
            }
            "enrollResponse": 
            {
            "messageText" : "Successfully Closed",
            "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