This end-point updates reservation for resources.
UUID of reservation is must for further processing.You can choose if you want to apply the default overall availability check or not.
application/json
Request Body required
reservationMap object[]
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
successUuids string[]
failureUuids string[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"successUuids": [
"string"
],
"failureUuids": [
"string"
]
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
successUuids string[]
failureUuids string[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"successUuids": [
"string"
],
"failureUuids": [
"string"
]
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
PATCH /v2/calendar/reservation
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
python / requests
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
go / native
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
nodejs / axios
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
ruby / Net::HTTP
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
csharp / RestSharp
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
php / cURL
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
java / OkHttp
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'
powershell / RestMethod
curl -L -X PATCH '/manage/v2/calendar/reservation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"reservationMap": [
{
"requesterUserUuid": "string",
"uuid": "string",
"reservationFilter": {
"uuids": [
"string"
],
"calendarUuids": [
"string"
],
"startDateTime": "string",
"endDateTime": "string",
"thirdPartyReservationUuids": [
"string"
],
"purposeNames": [
"string"
]
},
"calendarUuid": "string",
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"thirdPartyReservationUuid": "string",
"metaData": "string",
"isValid": true,
"applyConstraints": true,
"applicableConstraints": [
"HOURS_OF_OPERATION"
]
}
]
}'