Skip to main content
POST
Search dispatch preferences
This endpoint provides detailed information about dispatch preferences that match the search criteria, enabling efficient tracking and management of dispatcher, driver, truck, and trailer assignments.

Request Parameters

The following parameter is required in the URL path:

Request Body Parameters

The following parameters are required in the request body:

Example CURL request

Use the current API version number and ensure you replace the Authorization header value with your actual Bearer token for the request:

Response Parameters

The following table lists the parameters included in the response for dispatch preferences requests.

Versioning

The version parameter in the URL path specifies which version of the API you are using. Including the version number ensures that your application interacts with the correct version of the API, providing stability and compatibility as the API evolves. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.

Example Response

Rate Limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section. This page is interactive, allowing you to try a request by specifying the API version in the URL path and providing the necessary request body. As you fill out the parameters, the Curl command on the right side of the page will be automatically updated. Alternatively, you can fork our Public API Postman Collection directly. Make sure to authorize yourself before trying a request.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Body

DispatcherIds
string[] | null
DriverIds
string[] | null
TruckIds
string[] | null
TrailerIds
string[] | null
UpdatedAtStart
string<date-time> | null
UpdatedAtEnd
string<date-time> | null

Response

OK

UpdatedAt
string<date-time>
required
DispatcherId
string | null
Driver1Id
string | null
Driver2Id
string | null
TruckId
string | null
TrailerId
string | null