Shiftmove Driver assignments API
The Driver assignments API from Shiftmove — 4 operation(s) for driver assignments.
The Driver assignments API from Shiftmove — 4 operation(s) for driver assignments.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/shiftmove-driver-assignments-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: 1.2.3
title: Fleet API Specifications Custom fields Driver assignments API
x-logo:
url: logo.svg
description: "# Introduction\nThe Avrios Fleet-API allows syncing fleet data with our system. The provided API allows you to persist, update, delete and query various entities. Refer to the current [Release Notes](release-notes.html) for relevant changes in the API. \n# Access and usage\n## Authorization\nIn order to use the API a basic auth header must be set on each request: `Authorization: Basic {base64 of username:password}`.\n## Rate limiting\nRequests are limited to 300 requests per minute.\n## Response objects \nIn all API responses, only populated fields will be returned - `null` fields are stripped from the response object.\n## Update endpoints\nWhen updating existing entities, unless otherwise specified we will only update properties sent in the request, and all properties are optional. Clearing a property can be performed by explicitly sending `null`.\n## Date interpretation \nFor consistency with the Avrios UI, some APIs accept dates in the format `yyyy-MM-dd` rather than timestamps. If these are used for filtering or business logic, they will be interpreted as the first second of the day in the company timezone (e.g. `2020-01-01` in CET becomes `2019-12-31T23:00:00Z)`."
servers:
- url: https://api.avrios.com
tags:
- name: Driver assignments
paths:
/v1/drivers/{uuid}/assignments:
get:
tags:
- Driver assignments
summary: GET driver assignments
description: Get all vehicle assignments of a specific driver.
operationId: findDriverAssignments
parameters:
- name: uuid
in: path
required: true
schema:
type: string
format: uuid
- name: limit
in: query
description: Number of items in a page
required: false
schema:
type: integer
maximum: 100
minimum: 1
- name: pageNumber
in: query
description: Number of the page
required: false
schema:
type: integer
minimum: 1
- name: sortBy
in: query
description: Sorting key
required: false
schema:
type: string
enum:
- uuid
- vehicleUuid
- driverUuid
- duration_startDate
- duration_endDate
- active
- name: reverse
in: query
description: Sorting order
required: false
schema:
type: boolean
enum:
- 'false'
- 'true'
responses:
'200':
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiPageAssignmentDto'
'400':
description: Bad request - information on the invalid fields will be provided in the response body
'404':
description: Driver not found.
post:
tags:
- Driver assignments
summary: ASSIGN a specified vehicle to this driver
description: Assign a vehicle (specified in the request body) to the driver under this url.
operationId: createDriverAssignment
parameters:
- name: uuid
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/AssignmentDto'
'400':
description: Bad request - information on the invalid fields will be provided in the response body
'404':
description: Driver or vehicle not found.
'409':
description: The new assignment is conflicted with one or multiple ones. The conflicting assignments will be returned in an error response.
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateAssignmentByDriverRequest'
/v1/drivers/{uuid}/assignments/query:
post:
tags:
- Driver assignments
summary: QUERY driver assignments
description: Query vehicle assignments of a specific driver.
operationId: queryDriverAssignments
parameters:
- name: uuid
in: path
required: true
schema:
type: string
format: uuid
- name: limit
in: query
description: Number of items in a page
required: false
schema:
type: integer
maximum: 100
minimum: 1
- name: pageNumber
in: query
description: Number of the page
required: false
schema:
type: integer
minimum: 1
- name: sortBy
in: query
description: Sorting key
required: false
schema:
type: string
enum:
- uuid
- vehicleUuid
- driverUuid
- duration_startDate
- duration_endDate
- active
- name: reverse
in: query
description: Sorting order
required: false
schema:
type: boolean
enum:
- 'false'
- 'true'
responses:
'200':
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiPageAssignmentDto'
'400':
description: Bad request - information on the invalid fields will be provided in the response body
'404':
description: Driver not found.
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DriverAssignmentQueryApiParams'
/v1/drivers/{uuid}/assignments/{assignmentUuid}:
delete:
tags:
- Driver assignments
summary: DELETE driver assignment
description: Delete vehicle to driver assignment identified by uuid path parameter.
operationId: deleteDriverAssignment
parameters:
- name: uuid
in: path
required: true
schema:
type: string
format: uuid
- name: assignmentUuid
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Void'
'204':
description: Successful operation - no content is expected.
'400':
description: Bad request - information on the invalid fields will be provided in the response body
'404':
description: Driver not found or this assignment was not found for this driver.
/v1/drivers/{uuid}/assignments/{assignmentUuid}/duration:
post:
tags:
- Driver assignments
summary: UPDATE the duration of an existing assignment
description: Change the timing of a specific assignment. Body is a map of fields to update.
operationId: updateDriverAssignment
parameters:
- name: uuid
in: path
required: true
schema:
type: string
format: uuid
- name: assignmentUuid
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/AssignmentDto'
'400':
description: Bad request - information on the invalid fields will be provided in the response body
'404':
description: Driver or assignment not found.
'409':
description: The new assignment timing conflicts with one or multiple ones. The conflicting assignments will be returned in an error response.
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DurationUpdateApiParams'
components:
schemas:
DurationUpdateApiParams:
type: object
properties:
startDate:
type: string
format: date-time
endDate:
type:
- string
- 'null'
format: date-time
CreateAssignmentByDriverRequest:
type: object
properties:
vehicleUuid:
type: string
format: uuid
duration:
$ref: '#/components/schemas/DurationDto'
InstantRangeApiParams:
type: object
properties:
atOrAfter:
type: string
format: date-time
before:
type: string
format: date-time
AssignmentDto:
type: object
properties:
uuid:
type: string
format: uuid
vehicleUuid:
type: string
format: uuid
driverUuid:
type: string
format: uuid
duration:
$ref: '#/components/schemas/DurationDto'
active:
type: boolean
DriverAssignmentQueryApiParams:
type: object
properties:
vehicleUuid:
type: string
format: uuid
when:
description: Date range assignments active within. Cannot have a value when `starting` or `ending` have a value.
$ref: '#/components/schemas/InstantRangeApiParams'
starting:
$ref: '#/components/schemas/InstantRangeApiParams'
ending:
$ref: '#/components/schemas/InstantRangeApiParams'
Void:
type: object
ApiPageAssignmentDto:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/AssignmentDto'
page:
$ref: '#/components/schemas/ApiPageInformation'
totalItems:
type: integer
format: int64
ApiPageInformation:
type: object
properties:
pageNumber:
type: integer
format: int32
limit:
type: integer
format: int32
DurationDto:
type: object
properties:
startDate:
type: string
format: date-time
endDate:
type: string
format: date-time
x-tagGroups:
- name: Vehicles
tags:
- Vehicles
- Vehicle license plates
- Vehicle assignments
- Vehicle usages
- Vehicle custom fields
- Vehicle financing
- name: Drivers
tags:
- Drivers
- Driver assignments
- Driver custom fields
- name: Other
tags:
- Custom fields
- Invoices
- Organizations