Updates A Reservation entity.
Updates a Reservation entity.
Request
URI
PUT
https://{api_host}/reservation-service/api/reservations/{id}
COPY
Path Parameters
string
id
Required
the id of the reservation to update
Request Body
Reservation}object to be updated
Reservation of type(s) application/json
Required
{
"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": [
{
"key": "string"
}
]
},
"lastUpdated": "string",
"subTenantId": "string",
"createdDate": "string",
"name": "string",
"tenantId": "string",
"id": "string"
}
string
reservationTypeId
Optional
reservationTypeId
string
reservationPolicyId
Optional
reservationPolicyId
integer As int32 As int32
priority
Optional
priority
integer As int64 As int64
version
Optional
version
boolean
enabled
Optional
enabled
string As date-time As date-time
lastUpdated
Optional
lastUpdated
string
subTenantId
Optional
subTenantId
string As date-time As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
tenantId
Optional
tenantId
string
id
Optional
id
Responses
204
'No Content' is returned when reservation is updated
Operation doesn't return any data structure
Api Operations
POST
Callback To save content.
GET
Counts the number Of reservations In A local Postgre DB
POST
Create A ProviderPreferences
POST
Create A Reservation entity.
DELETE
Deletes A Reservation with the given id.
DELETE
Deletes the provider preferences
GET
Finds all business groups
GET
Finds all tenants
GET
Gets all Reservations.
GET
Gets all Reservations.
GET
Gets the business group By its identifier
GET
Retrieves A raw content for specified class Id and id.
GET
Retrieves A Reservation.
GET
Retrieves provider preferences By service type id.
GET
Returns A page Of the resources
GET
Returns provider preferences associated with the given Id
POST
Syncronizes A specific reservation
POST
Syncronizes all reservations
PUT
Updates A Reservation entity.
PUT
Updates Or creates A provider preferences