Fleet
Create
Integrations
Vehicles
Fleet
- Settings
- ServiceTypes
- Regions
- GETList
- GETGet
- POSTCreate
- PUTUpdate
Transponders
Tolls
Integrations
- Webhook
- Fleet Active Integrations
- Logs
- GETList
Fleet
Create
Create a fleet in the system.
POST
/
v2
/
fleets
curl --request POST \
--url https://api.app.fleetit.com/v2/fleets/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Fleet XYZ",
"is_active": true,
"regions": [
1,
2
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}'
{
"id": 109,
"title": "Fleet XYZ",
"is_active": true,
"regions": [
"Region1",
"Region2"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
curl --request POST \
--url https://api.app.fleetit.com/v2/fleets/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Fleet XYZ",
"is_active": true,
"regions": [
1,
2
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}'
{
"id": 109,
"title": "Fleet XYZ",
"is_active": true,
"regions": [
"Region1",
"Region2"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "email@example.com",
"notes": "Detailed notes here"
}
}