Skip to main content
POST
Search deductions
This endpoint provides detailed information about each deduction that matches the specified search criteria, enabling efficient management and retrieval of deduction records. Deductions are asset-specific financial adjustments and can be associated with either a driver or a truck, but not both simultaneously.

Request Body Parameters

The following parameters are accepted in the request body:

Example CURL Request


Response Body Parameters

The following parameters are included in the response body:

Example Response


Versioning

The version parameter in the URL path specifies which version of the API you are using. Including the version number ensures that your integration remains stable as the API evolves. For more details, refer to the Versioning page.

Rate Limits

All endpoints are subject to standard rate limits to ensure consistent API performance. For details, see the Rate Limits section.

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

Page
integer<int32>
required
PageSize
integer<int32>
required
IncludePaid
boolean
required
DateRange
object | null
DriverId
string | null
TruckId
string | null
OwnerOperatorId
string | null

Response

OK

Page
integer<int32>
required
PageSize
integer<int32>
required
Total
integer<int64>
required
Items
object[]
required
Facets
object | null