Get age ranges
GET/api/diary/visittypeagerangeoptions
Retrieves an array of age ranges.
Response sample
{
"id": "9efe21db-0e5e-4de1-b3ff-84c0e7ebfb09",
"type": "AgeRange",
"text": "16 to 59",
"additionalData": {
"minAge": 16,
"maxAge": 59 }
}
Request
Responses
- 200
- 400
- 404
Success: Request accepted.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.