createCalendar
ApiScope: manage.calendar.write
API Scope Level: ServiceSubscriberScope
application/json
application/x-protobuf
Request Body required
resources object
Request Body required
resources object
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
resourceCalendars object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"resourceCalendars": [
{
"resourceType": "DEALER",
"resourceUuid": "string",
"calendarUuid": "string"
}
]
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
resourceCalendars object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"resourceCalendars": [
{
"resourceType": "DEALER",
"resourceUuid": "string",
"calendarUuid": "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"
}
PUT /v2/calendar
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
python / requests
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
go / native
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
nodejs / axios
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
ruby / Net::HTTP
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
csharp / RestSharp
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
php / cURL
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
java / OkHttp
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'
powershell / RestMethod
curl -L -X PUT '/manage/v2/calendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {}
}'