Add Entitlement
This topic provides an example of a JSON response for an add entitlement operation.
-
In the Operation Name field, enter Add Entitlement (JSON) as the operation name.
-
From the Operation Type drop-down list, select Add Entitlement.
-
In the Authentication URL field, enter the URL specific to the entitlement.
-
In the HTTP Method drop-down list, select POST.
The Header has the data keys and their corresponding values. These key value pairs will be sent as part of the Header in the HTTP Request.
The HTTP body is used for posting the data with a request. The body has two data entry types, Form Data and Raw. You can use either of them for adding entitlements.
In the Raw field, enter the JSON payload for the entitlement.
In the following screenshot, the plan.nativeIdentity
keyword signifies the AccountID (identity attribute) in the account request of the plan. If the plan contains the identity attribute of an account, it can be updated in the payload with $plan.nativeIdentity$
.
The Root Path is the common path present in the JSON response. The Success Code is the successful HTTP response code expected by the respective Web Service operation. By default, the success code is 2**.
To refer to the raw JSON response on which the Response Information schema is mapped, refer to Configuration for Response.