Retrieves A Reservation.
Retrieves a Reservation for provided id.
Request
URI
GET
https://{api_host}/reservation-service/api/reservations/{id}
COPY
Path Parameters
string
id
Required
the id of the reservation
Query Parameters
boolean
eventuallyConsistent
Required
Constraints:
default: false
eventuallyConsistent
Responses
200
operation is successful
Returns
Reservation
of type(s)
*/*
{
"alertPolicy": {
"alerts": [
{
"referenceResourceId": "string",
"alertPercentLevel": 0
}
],
"recipients": [
"string"
],
"frequencyReminder": 0,
"emailBgMgr": false,
"enabled": false
},
"reservationTypeId": "string",
"reservationPolicyId": "string",
"priority": 0,
"version": 0,
"enabled": false,
"extensionData": {
"entries": [
{
"value": {},
"key": "string"
}
]
},
"lastUpdated": "string",
"subTenantId": "string",
"createdDate": "string",
"name": "string",
"tenantId": "string",
"id": "string"
}
object
alertPolicy
Optional
alertPolicy
string
reservationTypeId
Optional
Constraints:
minLength: 1
maxLength: 255
reservationTypeId
string
reservationPolicyId
Optional
Constraints:
minLength: 0
maxLength: 40
reservationPolicyId
integer As int32
As int32
priority
Optional
Constraints:
minimum: 0
priority
integer As int64
As int64
version
Optional
version
boolean
enabled
Optional
enabled
object
extensionData
Required
Equivalent of java.util.Map
string As date-time
As date-time
lastUpdated
Optional
lastUpdated
string
subTenantId
Optional
Constraints:
minLength: 1
maxLength: 255
subTenantId
string As date-time
As date-time
createdDate
Optional
createdDate
string
name
Optional
Constraints:
minLength: 0
maxLength: 255
name
string
tenantId
Optional
Constraints:
minLength: 1
maxLength: 255
tenantId
string
id
Optional
Constraints:
minLength: 0
maxLength: 40
id
404
if no Reservation instance found with provided id
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/reservation-service/api/reservations/{id}?eventuallyConsistent=v
Api Operations
GET
Finds all tenants
POST
Create A Reservation entity.
GET
Gets all Reservations.
GET
Retrieves A raw content for specified class Id and id.
POST
Syncronizes all reservations
GET
Retrieves provider preferences By service type id.
POST
Syncronizes A specific reservation
GET
Finds all business groups
Deprecated
GET
Counts the number Of reservations In A local Postgre DB
POST
Callback To save content.
GET
Gets the business group By its identifier
Deprecated
GET
Returns provider preferences associated with the given Id
DELETE
Deletes the provider preferences
PUT
Updates Or creates A provider preferences
POST
Create A ProviderPreferences
GET
Returns A page Of the resources
GET
Retrieves A Reservation.
DELETE
Deletes A Reservation with the given id.
PUT
Updates A Reservation entity.
GET
Gets all Reservations.