Callback To save content.
Callback to save content.
Request
URI
POST
https://{api_host}/reservation-service/api/content
COPY
Request Body
string
classId
Optional
classId
array of
string
data
Required
data
string
mimeType
Optional
mimeType
boolean
inDryRunMode
Optional
inDryRunMode
string
resolutionMode
Optional
Constraints:
default: OVERWRITE
resolutionMode
Possible values are :
SKIP,
OVERWRITE,
Responses
200
successful operation
Returns
operationResult
of type(s)
*/*
{
"operationErrors": [
{
"errorMessage": "string",
"errorCode": 0
}
],
"operationStatus": "string",
"contentId": "string",
"contentTypeId": "string",
"messages": [
"string"
],
"contentName": "string"
}
array of
object
operationErrors
Optional
operationErrors
string
operationStatus
Optional
operationStatus
Possible values are :
SUCCESS,
WARNING,
FAILED,
string
contentId
Optional
contentId
string
contentTypeId
Optional
contentTypeId
array of
string
messages
Optional
messages
string
contentName
Optional
contentName
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/reservation-service/api/content
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.