Get diary settings
GET/api/settings/diary
Retrieves diary settings.
Response sample
{
"id": "string",
"type": "string",
"bookingQuestionHierarchy": {
"firstQuestion": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"questionMappedType": 0,
"questionText": {},
"options": [{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"optionText": {},
"abbreviation": {},
"optionValue": "string",
"optionValueType": 0,
"excludeFromRules": true,
"specialActionMessagePrompt": {},
"specialActionType": 0,
"nextQuestion": "string" }]}},
"calendarDayTimePeriods": {
"options": [{
"caption": "string",
"abbreviation": "string",
"value": {
"min": "00:00:00",
"max": "00:00:00" }}]},
"displayDoctorSelection": 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.