This end-point saves max count for resources
You can limit the maximum reservations/bookings the resource can have for the given purpose in given time frame.
application/json
Request Body required
- Array [
- ]
maxCountMap object
property name* object[]
uuid string
platform string
Possible values: [DEALER_APP
, WEB
, MOBILE_APP
, DMS
, TRANSPORTATION_EVENTS_CONSUMER
]
purposeName string
startDateTime string
endDateTime string
timezone string
recurrenceRule string
isValid boolean
resourceUuid string
resourceType string
Possible values: [DEALER
, DEPARTMENT
, USER
]
count int32
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
constraintMap object
property name* string[]
string
failuresMap object
property name* object[]
uuid string
platform string
Possible values: [DEALER_APP
, WEB
, MOBILE_APP
, DMS
, TRANSPORTATION_EVENTS_CONSUMER
]
purposeName string
startDateTime string
endDateTime string
timezone string
recurrenceRule string
isValid boolean
resourceUuid string
resourceType string
Possible values: [DEALER
, DEPARTMENT
, USER
]
count int32
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"constraintMap": {},
"failuresMap": {}
}
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
constraintMap object
property name* string[]
string
failuresMap object
property name* object[]
uuid string
platform string
Possible values: [DEALER_APP
, WEB
, MOBILE_APP
, DMS
, TRANSPORTATION_EVENTS_CONSUMER
]
purposeName string
startDateTime string
endDateTime string
timezone string
recurrenceRule string
isValid boolean
resourceUuid string
resourceType string
Possible values: [DEALER
, DEPARTMENT
, USER
]
count int32
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"constraintMap": {},
"failuresMap": {}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
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
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
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
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
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
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Loading...