Get Dealer Availability Calendar for a Given Date
ApiScope: manage.dealer.calendar.read
API Scope Level: DealerScope
Path Parameters
ServiceSubscriberDealer string required
application/json
Request Body required
proposedTimeInMillis int64
communicationType string
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
isProposedTimeGood boolean
nextGoodTimeInMillis int64
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"isProposedTimeGood": true,
"nextGoodTimeInMillis": 0
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
isProposedTimeGood boolean
nextGoodTimeInMillis int64
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"isProposedTimeGood": true,
"nextGoodTimeInMillis": 0
}
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/dealer/:ServiceSubscriberDealer/availabilityCalendar
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
python / requests
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
go / native
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
nodejs / axios
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
php / cURL
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
java / OkHttp
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/dealer/:ServiceSubscriberDealer/availabilityCalendar' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"proposedTimeInMillis": 0,
"communicationType": "string"
}'