Get appointment options
GET/api/diary/patientlatestvalidatedbookingoptions
Retrieves an array of the latest validated patient appointment booking options by siteId.
Response sample
{
"id": "string",
"type": "string",
"bookingQuestionOptions": [{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"optionText": "string",
"abbreviation": "string",
"optionValue": "string",
"optionValueType": 0 }],
"doctor": {
"id": "string",
"text": "string",
"type": "string",
"additionalData": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string" }},
"visitType": {
"id": "string",
"text": "string",
"type": "string",
"additionalData": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string" }},
"isValid": true
}
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.