Covered Sports
POST/v1/products/gap-medical/covered-sport
Get the covered sport(s) which corresponds to the given sport names, if any. This API exists to allow users of the web component to determine if any activities are insurable before presenting the web component offer.
Request
Header Parameters
x-api-client-id any
Either x-api-client-id
or Authorization
header must be provided.
- application/json
Body
required
state_abbreviation stringrequired
sport_names string[]required
Possible values: >= 1
Responses
- 200
- 401
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
requested_sport_name stringrequired
sport_covered boolean
covered_sport stringrequired
covered_in_state booleanrequired
[
{
"requested_sport_name": "string",
"sport_covered": true,
"covered_sport": "string",
"covered_in_state": true
}
]
Either x-api-client-id
or Authorization
header must be provided.
Loading...