Get Policy Application Details

Use this endpoint to retrieve the details related to a specific policy application.

Get the details of an insurance policy

get
Authorizations
Path parameters
policyNumberstringRequired

policy number assigned to policy holder

Header parameters
api_keyanyRequired
Responses
200

successful operation

application/json
get
GET /api/channel-service/v1/policy/{policyNumber} HTTP/1.1
Host: channel.sandbox.casava.co
api_key: YOUR_API_KEY
Accept: */*
{
  "quoteId": "1234567889",
  "policyHolderNumber": "1728283928929",
  "policyNumber": "1828292902039",
  "policyCode": "hosipcash",
  "status": "applied",
  "startDate": "2021-10-10",
  "endDate": "2022-10-10",
  "nextPremiumDueDate": "2021-11-10",
  "redirectURL": "text",
  "fieldValues": [
    {
      "fieldGroupId": "fieldGroupA",
      "fielId": "fieldIdA",
      "value": "field id value"
    }
  ]
}

Sample Request

Pass the policy number via URL to the GET policy endpoint to retrieve policy information of a policy

Sample Response

Get the details of an insurance policy

{
  "statusCode": 200,
  "message": "successful operation",
  "data": {
    "quoteId": "9546916489",
    "policyHolderNumber": "080209934213519",
    "policyNumber": "XY2599220220304646202",
    "policyCode": "XY25992",
    "status": "applied",
    "startDate": "",
    "endDate": "",
    "nextPremiumDueDate": "",
    "redirectURL": "",
    "fieldValues": [
      {
        "key": "PERSONALINFO=>FIRSTNAME",
        "value": "stefanpgr"
      }
    ]
  }
}

Last updated