GET api/Status
Returns current system status including booking availability, call center hours, and maintenance warnings.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Status information including booking availability flags, call center hours, and warning messages.
StatusDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AllowBookings | boolean |
None. |
|
| ShowMainteanceWindowWarning | boolean |
None. |
|
| MaintenanceWindowWarning | string |
None. |
|
| ShowSpecialWarning | boolean |
None. |
|
| SpecialWarning | string |
None. |
|
| CallCenterOpenSaturday | boolean |
None. |
|
| SaturdayOpeningHoursText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"allowBookings": true,
"showMainteanceWindowWarning": true,
"maintenanceWindowWarning": "sample string 3",
"showSpecialWarning": true,
"specialWarning": "sample string 5",
"callCenterOpenSaturday": true,
"saturdayOpeningHoursText": "sample string 7"
}
application/xml, text/xml
Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Controllers"> <AllowBookings>true</AllowBookings> <CallCenterOpenSaturday>true</CallCenterOpenSaturday> <MaintenanceWindowWarning>sample string 3</MaintenanceWindowWarning> <SaturdayOpeningHoursText>sample string 7</SaturdayOpeningHoursText> <ShowMainteanceWindowWarning>true</ShowMainteanceWindowWarning> <ShowSpecialWarning>true</ShowSpecialWarning> <SpecialWarning>sample string 5</SpecialWarning> </StatusDTO>