ValidateEntitlements

The API allows you to validate entitlements.

/api/v1/entitlements/validate

Request Parameters

The following are the request parameters that need to be updated in the request format.

  • lob String Required

    Name of Line of Business.

  • state String Required

    Name of State.

  • code Integer Required

    Code.

  • UserName String Required

    Name of the user.

Request
{
  "Code": "New Business",
  "UserName": "Joseph",
  "LOB": "Commercial Property",
  "state": "OKH",
  }

Sample Response

Depending on whether the user is entitled to do business or not, the following responses are shown.

["You are not entitled to do business in State <b>OK</b> with Product <b>SDFG</b> as a product. Please contact your Supervisor.", 

"You are not entitled to do this business Transaction <b>Bind</b>. Please contact your Supervisor."]