Replicates hours of operation set in myKaarma system for dealership and all its resources.
The hours of operation for resources are set the same as dealership, since they are currently not saved in the system.
ApiScope: manage.calendar.write
API Scope Level: ServiceSubscriberScope
application/json
Request Body required
dealerUuids string[]
purposeName string
platform string
Possible values: [DEALER_APP
, WEB
, MOBILE_APP
, DMS
, TRANSPORTATION_EVENTS_CONSUMER
]
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
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"
}
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"
}
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"
}
POST /v2/calendar/migrate-data/dealer/hours-of-operation
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
python / requests
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
go / native
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
nodejs / axios
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
php / cURL
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
java / OkHttp
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/calendar/migrate-data/dealer/hours-of-operation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"purposeName": "string",
"platform": "DEALER_APP"
}'