Model definition
ServiceWithDetailedOpeningHours extends Service
This type is a Service object with an additional user friendly property in the Opening Hours field. It is the response type of Service-related endpoints.
Structure
|
Property name |
Property type |
Property description |
|---|---|---|
|
|
string |
ID of the service |
|
|
string? |
Title of the doctor, when available |
|
|
string? |
First name of the doctor, defined only if the service is not a facility This field is currently only supported in Germany and will be undefined in Austria |
|
|
string? |
Last name of the doctor, defined only if the service is not a facility This field is currently only supported in Germany and will be undefined in Austria |
|
|
string |
Name of the Service |
|
|
Generic Specialization Type of the Service |
|
|
|
Gender of the doctor, if type supports this value |
|
|
|
string? |
Phone number of medical service (if exists) |
|
|
string? |
E-mail of the medical service, (if exists) |
|
|
string? |
URL of the service, if available |
|
|
|
Location details of the service |
|
|
|
Array of service specializations |
|
|
string[]? |
Optional IDs of service’s supported insurers |
|
|
Opening hours, for each day of the week, in format of arrays of open sections, with user friendly Day 0 means Monday |
|
|
|
string |
Monogram of the Service |
|
|
string? |
Publicly available profile photo / logo of the service |
Example
{
"id": "00032e86-6083-41ed-b299-18de924f0676",
"name": "Dr. Joachim Bacher",
"type": "DOCTOR",
"gender": "MALE",
"phone": "0444272333",
"email": null,
"location": {
"country": "AT",
"zip": "2100",
"city": "Korneuburg",
"address": "Wiener Str. 1",
"province": "Niederösterreich",
"latitude": 48.3501996,
"longitude": 16.3065274
},
"specializations": [
{
"id": "ac10b3f9-67e6-4579-bae9-35621a25b467",
"name": "General Practitioner",
"type": "DOCTOR"
}
],
"insurers": [],
"openingHours": {
"0": [
{
"start": "08:00",
"finish": "12:00"
},
{
"start": "16:00",
"finish": "18:00"
}
],
"1": [
{
"start": "07:30",
"finish": "12:00"
},
{
"start": "16:00",
"finish": "18:00"
}
],
"2": [
{
"start": "07:30",
"finish": "12:00"
}
],
"3": [],
"4": [
{
"start": "09:00",
"finish": "12:00"
}
],
"5": [],
"6": [],
"detailedData": {
"type": "ALREADY_CLOSED",
"isOpen": false,
"text": "Already closed"
}
},
"monogram": "JB"
}