Gets Dealership Availability
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Parameters
dealership_id
integer
required
The id of the dealershippickup_on
date
required
Pickup Datedropoff_on
date
required
Dropoff Dateapi-version
integer
required
Target API version
Responses
``200 Success
object
pickups
array of objects- pickups
object- available
boolean - start_at
string - end_at
string
- available
- pickups
dropoffs
array of objects- dropoffs
object- available
boolean - start_at
string - end_at
string
- available
- dropoffs
``400 Bad Request
``404 Not found
``406 Not Acceptable
``422 Unprocessable Content
Updated 3 months ago
Example Request
curl --request GET \
--url https://api.dealerware.com/dealerships/dealership_id/availability \
--header 'accept: application/json'
Example Response
{
"pickups": [
{
"available": true,
"start_at": "2017-09-06T10:00:00Z",
"end_at": "2017-09-06T13:00:00Z"
}
],
"dropoffs": [
{
"available": true,
"start_at": "2017-09-06T10:00:00Z",
"end_at": "2017-09-06T13:00:00Z"
}
]
}