Introduction

This documentation aims to provide all the information you need to work with our API.

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Fleet Mobile

1- Authentification


Login client

POST
http://fleet.test
/api/v1/mobile-app/auth/login

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"ortiz.cathryn@example.com\",
    \"password\": \"laborum\"
}"

Store temp email

POST
http://fleet.test
/api/v1/mobile-app/auth/temp-email/store

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/auth/temp-email/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"davion.halvorson@example.org\"
}"

Verify temp email

POST
http://fleet.test
/api/v1/mobile-app/auth/temp-email/verify

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/auth/temp-email/verify" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"judd40@example.org\",
    \"uuid\": \"cd8e1278-b81e-33bd-9e20-e56bfc096dd9\",
    \"otp\": \"023832\"
}"

Update password

POST
http://fleet.test
/api/v1/mobile-app/auth/password/update

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/auth/password/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"clare91@example.net\",
    \"uuid\": \"deb3951f-cbdb-36e0-8357-f476790e7ef7\",
    \"password\": \"g9qh6mUigN5U\"
}"

Logout user

POST
http://fleet.test
/api/v1/mobile-app/auth/logout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/auth/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

2- User Profile management


Update user profile

POST
http://fleet.test
/api/v1/mobile-app/profile/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/profile/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"trjrb\",
    \"last_name\": \"gj\",
    \"phone\": \"ix\"
}"

Update user profile picture

POST
http://fleet.test
/api/v1/mobile-app/profile/picture/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/profile/picture/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "profile_picture=@C:\Users\21355\AppData\Local\Temp\phpE512.tmp" 

Update user password

POST
http://fleet.test
/api/v1/mobile-app/profile/password/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/profile/password/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"old_password\": \"iwsftgjsvlicz\",
    \"password\": \"g5FDTZLAKBm\"
}"

Update user signature

POST
http://fleet.test
/api/v1/mobile-app/profile/signature/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/profile/signature/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "signature=@C:\Users\21355\AppData\Local\Temp\phpE524.tmp" 

Update user preferences

POST
http://fleet.test
/api/v1/mobile-app/profile/preferences/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/profile/preferences/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"preferred_language\": \"FR\"
}"

3- Vehicle management


Get assigned vehicles

GET
http://fleet.test
/api/v1/mobile-app/vehicle/list/assigned
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle/list/assigned" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle details

GET
http://fleet.test
/api/v1/mobile-app/vehicle/show/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle home data

GET
http://fleet.test
/api/v1/mobile-app/vehicle/home-data/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle/home-data/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle details

GET
http://fleet.test
/api/v1/mobile-app/vehicle/details/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle/details/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle device data

GET
http://fleet.test
/api/v1/mobile-app/vehicle/pr-2/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle/pr-2/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update private mode

POST
http://fleet.test
/api/v1/mobile-app/vehicle/private-mode/update/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/vehicle/private-mode/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

4- Issue management


Get issues list

GET
http://fleet.test
/api/v1/mobile-app/issue/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/issue/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get issue details

GET
http://fleet.test
/api/v1/mobile-app/issue/show/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/issue/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an issue

POST
http://fleet.test
/api/v1/mobile-app/issue/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/issue/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=axxyerazfcw"\
    --form "description=Animi quos aliquid sequi et."\
    --form "priority=Medium"\
    --form "vehicle_id=quia"\
    --form "reported_at=2025-03-04"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE583.tmp" 

Update an issue

POST
http://fleet.test
/api/v1/mobile-app/issue/update/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/issue/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ckw"\
    --form "description=Quidem sequi eveniet iure rerum."\
    --form "priority=Critical"\
    --form "vehicle_id=possimus"\
    --form "reported_at=2019-09-16"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE584.tmp" 

Delete an issue

DELETE
http://fleet.test
/api/v1/mobile-app/issue/delete/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/issue/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

5- Label management


Get all user labels without pagination

GET
http://fleet.test
/api/v1/mobile-app/label/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/label/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

6- Meter History management


Get meter histories list

GET
http://fleet.test
/api/v1/mobile-app/meter-history/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/meter-history/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get meter history details

GET
http://fleet.test
/api/v1/mobile-app/meter-history/show/{meterHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterHistory_id
integer
required

The ID of the meterHistory.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/meter-history/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a meter history

POST
http://fleet.test
/api/v1/mobile-app/meter-history/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/meter-history/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"voluptates\",
    \"meter\": 53,
    \"meter_date\": \"2025-03-14T08:17:35\"
}"

Update a meter history

POST
http://fleet.test
/api/v1/mobile-app/meter-history/update/{meterHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterHistory_id
integer
required

The ID of the meterHistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/meter-history/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"meter\": 26
}"

Delete a meter history

DELETE
http://fleet.test
/api/v1/mobile-app/meter-history/delete/{meterHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterHistory_id
integer
required

The ID of the meterHistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/meter-history/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

7- Expense management


Get expense types list

GET
http://fleet.test
/api/v1/mobile-app/expense/types
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/expense/types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get expenses list

GET
http://fleet.test
/api/v1/mobile-app/expense/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/expense/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get expense details

GET
http://fleet.test
/api/v1/mobile-app/expense/show/{expense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

expense_id
integer
required

The ID of the expense.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/expense/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an expense

POST
http://fleet.test
/api/v1/mobile-app/expense/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/expense/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"iure\",
    \"expense_type_id\": \"et\",
    \"vendor_id\": \"ut\",
    \"date\": \"2025-03-14T08:17:35\",
    \"amount\": 68,
    \"notes\": \"ufxbnydobzl\"
}"

Update an expense

POST
http://fleet.test
/api/v1/mobile-app/expense/update/{expense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

expense_id
integer
required

The ID of the expense.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/expense/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"dolore\",
    \"expense_type_id\": \"dolorem\",
    \"vendor_id\": \"id\",
    \"date\": \"2025-03-14T08:17:35\",
    \"amount\": 81,
    \"notes\": \"fyouirneddg\"
}"

Delete an expense

DELETE
http://fleet.test
/api/v1/mobile-app/expense/delete/{expense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

expense_id
integer
required

The ID of the expense.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/expense/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

8- Mobility Expense management


Get mobility expense types list

GET
http://fleet.test
/api/v1/mobile-app/mobility-expense/types
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/mobility-expense/types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get mobility expenses list

GET
http://fleet.test
/api/v1/mobile-app/mobility-expense/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/mobility-expense/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get mobility expense details

GET
http://fleet.test
/api/v1/mobile-app/mobility-expense/show/{mobilityExpense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mobilityExpense_id
integer
required

The ID of the mobilityExpense.

Example:
3
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/mobility-expense/show/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a mobility expense

POST
http://fleet.test
/api/v1/mobile-app/mobility-expense/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/mobility-expense/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"mobility_expense_type_id\": \"neque\",
    \"date\": \"2025-03-14T08:17:35\",
    \"amount\": 17,
    \"notes\": \"fgi\"
}"

Update a mobility expense

POST
http://fleet.test
/api/v1/mobile-app/mobility-expense/update/{mobilityExpense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mobilityExpense_id
integer
required

The ID of the mobilityExpense.

Example:
3

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/mobility-expense/update/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"mobility_expense_type_id\": \"minus\",
    \"date\": \"2025-03-14T08:17:35\",
    \"amount\": 34,
    \"notes\": \"xcisunhsm\"
}"

Delete a mobility expense

DELETE
http://fleet.test
/api/v1/mobile-app/mobility-expense/delete/{mobilityExpense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mobilityExpense_id
integer
required

The ID of the mobilityExpense.

Example:
3
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/mobility-expense/delete/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

9- Sinistre management


Get sinistres list

GET
http://fleet.test
/api/v1/mobile-app/sinistre/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/sinistre/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get sinistre details

GET
http://fleet.test
/api/v1/mobile-app/sinistre/show/{sinistre_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sinistre_id
integer
required

The ID of the sinistre.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/sinistre/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a sinistre

POST
http://fleet.test
/api/v1/mobile-app/sinistre/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/sinistre/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=eos"\
    --form "date_of_accident=2001-08-05"\
    --form "responsability=S"\
    --form "address=pscinelumnhxfysckacpw"\
    --form "commentaire=zdwrcqwske"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpE641.tmp" 

Update a sinistre

POST
http://fleet.test
/api/v1/mobile-app/sinistre/update/{sinistre_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

sinistre_id
integer
required

The ID of the sinistre.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/sinistre/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=pariatur"\
    --form "date_of_accident=2006-03-09"\
    --form "responsability=F"\
    --form "address=wkvldwndgkne"\
    --form "commentaire=kbiksuvhliwtuzylilo"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpE652.tmp" 

Delete a sinistre

DELETE
http://fleet.test
/api/v1/mobile-app/sinistre/delete/{sinistre_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sinistre_id
integer
required

The ID of the sinistre.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/sinistre/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

10- Dadycar garages management


Get all Dadycar garages list

GET
http://fleet.test
/api/v1/mobile-app/dadycar-garage/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/dadycar-garage/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get garage calendar

GET
http://fleet.test
/api/v1/mobile-app/dadycar-garage/calendar/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
quaerat
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/dadycar-garage/calendar/quaerat" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

11- User garage management


Get user garages list

GET
http://fleet.test
/api/v1/mobile-app/user-garage/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/user-garage/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all user garages list

GET
http://fleet.test
/api/v1/mobile-app/user-garage/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/user-garage/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get user garage details

GET
http://fleet.test
/api/v1/mobile-app/user-garage/show/{userGarage_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

userGarage_id
integer
required

The ID of the userGarage.

Example:
3
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/user-garage/show/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

12- User Vendor management


Get all user vendors list

GET
http://fleet.test
/api/v1/mobile-app/user-vendor/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/user-vendor/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

13- Vendor management


Get all linked vendors

GET
http://fleet.test
/api/v1/mobile-app/vendor/linked/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vendor/linked/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all vendors classifications

GET
http://fleet.test
/api/v1/mobile-app/vendor/classifications
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vendor/classifications" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

14- Partner Service management


Get partner services list

GET
http://fleet.test
/api/v1/mobile-app/partner-service/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/partner-service/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get partner service details

GET
http://fleet.test
/api/v1/mobile-app/partner-service/show/{partnerService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

partnerService_id
integer
required

The ID of the partnerService.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/partner-service/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an partner service

POST
http://fleet.test
/api/v1/mobile-app/partner-service/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/partner-service/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=et"\
    --form "provider_id=7"\
    --form "service_id=5"\
    --form "priority=N"\
    --form "schedule_date=2025-03-14T08:17:35"\
    --form "odometer=4"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE6D0.tmp" 

Update an partner service

POST
http://fleet.test
/api/v1/mobile-app/partner-service/update/{partnerService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

partnerService_id
integer
required

The ID of the partnerService.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/partner-service/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=quasi"\
    --form "provider_id=7"\
    --form "service_id=2"\
    --form "priority=S"\
    --form "schedule_date=2025-03-14T08:17:35"\
    --form "odometer=20"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE6E0.tmp" 

Delete an partner service

DELETE
http://fleet.test
/api/v1/mobile-app/partner-service/delete/{partnerService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

partnerService_id
integer
required

The ID of the partnerService.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/partner-service/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

15- Inhouse Service management


Get inhouse services list

GET
http://fleet.test
/api/v1/mobile-app/inhouse-service/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inhouse-service/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get inhouse service details

GET
http://fleet.test
/api/v1/mobile-app/inhouse-service/show/{inhouseService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inhouseService_id
integer
required

The ID of the inhouseService.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inhouse-service/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an inhouse service

POST
http://fleet.test
/api/v1/mobile-app/inhouse-service/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/inhouse-service/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=corporis"\
    --form "service_id=16"\
    --form "priority=U"\
    --form "schedule_date=2025-03-14T08:17:35"\
    --form "odometer=2"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE710.tmp" 

Update an inhouse service

POST
http://fleet.test
/api/v1/mobile-app/inhouse-service/update/{inhouseService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

inhouseService_id
integer
required

The ID of the inhouseService.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/inhouse-service/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=velit"\
    --form "service_id=3"\
    --form "priority=S"\
    --form "schedule_date=2025-03-14T08:17:35"\
    --form "odometer=4"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE721.tmp" 

Delete an inhouse service

DELETE
http://fleet.test
/api/v1/mobile-app/inhouse-service/delete/{inhouseService_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inhouseService_id
integer
required

The ID of the inhouseService.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/inhouse-service/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

16- Appointment management


Get appointments list

GET
http://fleet.test
/api/v1/mobile-app/appointment/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/appointment/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Show an appointment/estimation

GET
http://fleet.test
/api/v1/mobile-app/appointment/show/{appointment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

appointment_id
string
required

The ID of the appointment.

Example:
maiores

Query Parameters

appointment_id
integer
required

The ID of the appointment.

Example:
15
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/appointment/show/maiores?appointment_id=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an appointment

POST
http://fleet.test
/api/v1/mobile-app/appointment/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/appointment/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": 15,
    \"service_id\": 2,
    \"provider_id\": 3,
    \"note\": \"d\",
    \"appointment_date\": \"2024-12-31\",
    \"appointment_time\": \"12:00\"
}"

Get estimations list

GET
http://fleet.test
/api/v1/mobile-app/appointment/estimation/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/appointment/estimation/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an estimation

POST
http://fleet.test
/api/v1/mobile-app/appointment/estimation/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/appointment/estimation/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": 15,
    \"service_id\": 2,
    \"provider_id\": 3,
    \"note\": \"\\\"Please take care of the car\\\"\"
}"

17- Fuel History management


Get fuel histories list

GET
http://fleet.test
/api/v1/mobile-app/fuel-history/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/fuel-history/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get fuel history details

GET
http://fleet.test
/api/v1/mobile-app/fuel-history/show/{fuelHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fuelHistory_id
integer
required

The ID of the fuelHistory.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/fuel-history/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a fuel history

POST
http://fleet.test
/api/v1/mobile-app/fuel-history/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/fuel-history/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=esse"\
    --form "entry_date=2011-05-16"\
    --form "entry_hour=08:17"\
    --form "odometer=9"\
    --form "liters=50"\
    --form "total_price=55"\
    --form "fuel_cost=9"\
    --form "fuel_type_grade=et"\
    --form "is_partial_fuel_up=1"\
    --form "reset_usage=1"\
    --form "personal="\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE77F.tmp" 

Update a fuel history

POST
http://fleet.test
/api/v1/mobile-app/fuel-history/update/{fuelHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

fuelHistory_id
integer
required

The ID of the fuelHistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/fuel-history/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=cupiditate"\
    --form "entry_date=2016-04-05"\
    --form "entry_hour=08:17"\
    --form "odometer=77"\
    --form "liters=12"\
    --form "total_price=36"\
    --form "fuel_cost=71"\
    --form "fuel_type_grade=cum"\
    --form "is_partial_fuel_up=1"\
    --form "reset_usage=1"\
    --form "personal="\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE790.tmp" 

Delete a fuel history

DELETE
http://fleet.test
/api/v1/mobile-app/fuel-history/delete/{fuelHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fuelHistory_id
integer
required

The ID of the fuelHistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/fuel-history/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

18- Charging History management


Get charging histories list

GET
http://fleet.test
/api/v1/mobile-app/charging-history/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/charging-history/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get charging history details

GET
http://fleet.test
/api/v1/mobile-app/charging-history/show/{chargingHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

chargingHistory_id
integer
required

The ID of the chargingHistory.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/charging-history/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a charging history

POST
http://fleet.test
/api/v1/mobile-app/charging-history/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/charging-history/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=suscipit"\
    --form "chargin_started=2025-03-14 08:17"\
    --form "chargin_ended=2116-05-04"\
    --form "total_energy=67"\
    --form "energy_cost=31"\
    --form "personal=1"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE7C0.tmp" 

Update a charging history

POST
http://fleet.test
/api/v1/mobile-app/charging-history/update/{chargingHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

chargingHistory_id
integer
required

The ID of the chargingHistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/charging-history/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=ea"\
    --form "chargin_started=2025-03-14 08:17"\
    --form "chargin_ended=2115-12-20"\
    --form "total_energy=31"\
    --form "energy_cost=79"\
    --form "personal=1"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpE7D1.tmp" 

Delete a charging history

DELETE
http://fleet.test
/api/v1/mobile-app/charging-history/delete/{chargingHistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

chargingHistory_id
integer
required

The ID of the chargingHistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/charging-history/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

19- Inspections forms management


Get inspection forms list

GET
http://fleet.test
/api/v1/mobile-app/inspection-form/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inspection-form/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get inspection forms list by vehicle

GET
http://fleet.test
/api/v1/mobile-app/inspection-form/list/vehicle/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inspection-form/list/vehicle/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

20- Inspections management


Get submitted inspections list.

GET
http://fleet.test
/api/v1/mobile-app/inspection/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inspection/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get inspection details.

GET
http://fleet.test
/api/v1/mobile-app/inspection/show/{inspection_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_id
integer
required

The ID of the inspection.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/inspection/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete inspection.

DELETE
http://fleet.test
/api/v1/mobile-app/inspection/delete/{inspection_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_id
integer
required

The ID of the inspection.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/inspection/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

21- Infractions management


Get infractions list

GET
http://fleet.test
/api/v1/mobile-app/infraction/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/infraction/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get infraction details

GET
http://fleet.test
/api/v1/mobile-app/infraction/show/{infraction_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

infraction_id
integer
required

The ID of the infraction.

Example:
158
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/infraction/show/158" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

22- Service management


Get services list

GET
http://fleet.test
/api/v1/mobile-app/service/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/service/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get sub services list

GET
http://fleet.test
/api/v1/mobile-app/service/sub-service/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/service/sub-service/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

23- Vehicle sharing management


Get history list of sharing vehicles

GET
http://fleet.test
/api/v1/mobile-app/vehicle-sharing/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle-sharing/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get available sharing vehicles

GET
http://fleet.test
/api/v1/mobile-app/vehicle-sharing/available-vehicles/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle-sharing/available-vehicles/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store sharing vehicle

POST
http://fleet.test
/api/v1/mobile-app/vehicle-sharing/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/mobile-app/vehicle-sharing/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"aliquam\",
    \"start_date_time\": \"2111-12-05\",
    \"end_date_time\": \"2087-08-21\"
}"

24- Site management


Get all sites list

GET
http://fleet.test
/api/v1/mobile-app/site/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/site/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

25- Document management


Delete a document

DELETE
http://fleet.test
/api/v1/mobile-app/document/delete/{document_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

document_id
integer
required

The ID of the document.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/mobile-app/document/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

26- Notifications management


Get user notifications list.

GET
http://fleet.test
/api/v1/mobile-app/notification/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/notification/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

27- Service Reminder management


Get client service reminders list

GET
http://fleet.test
/api/v1/mobile-app/service-reminder/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/service-reminder/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

28- Vehicle Reminder management


Get client vehicle reminders list

GET
http://fleet.test
/api/v1/mobile-app/vehicle-reminder/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/mobile-app/vehicle-reminder/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Fleet Web

0- Stripe Webhook


Handle stripe Webhook

POST
http://fleet.test
/api/v1/fleet/stripe/webhook
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/stripe/webhook" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

0- Pricing page management


Get all pricing cards

GET
http://fleet.test
/api/v1/fleet/landingpage/pricingpage
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/landingpage/pricingpage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 59
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "status": true,
    "message": "Pricing card list",
    "data": {
        "plans": [
            {
                "id": 11,
                "original_price": "6.99",
                "discounted_price": "4.99",
                "discount_percentage": 40,
                "connected_vehicles": false,
                "name": "starter",
                "popular": false,
                "display_name": "Starter",
                "display_nameFr": "Starter",
                "description": "Basic plan, ideal for small fleets",
                "descriptionFr": "Plan basique, idéal pour les petites flottes",
                "display_order": 1,
                "billing_frequency": "monthly",
                "features": {
                    "included": [
                        {
                            "display_name": "Vehicle Management",
                            "display_nameFr": "Gestion des véhicules"
                        },
                        {
                            "display_name": "Deadline Reminders (technical control, insurance, etc.)",
                            "display_nameFr": "Rappel des échéances (contrôle technique, assurance, etc.)"
                        },
                        {
                            "display_name": "Employee & Site Management",
                            "display_nameFr": "Gestion des employés & Sites"
                        },
                        {
                            "display_name": "Dashboard",
                            "display_nameFr": "Tableau de bord"
                        }
                    ],
                    "excluded": [
                        {
                            "display_name": "Vehicle Assignment Planning (calendar)",
                            "display_nameFr": "Planification des affectations de véhicules (calendrier)"
                        },
                        {
                            "display_name": "Mobile App Access",
                            "display_nameFr": "Accès à l'application mobile"
                        }
                    ]
                }
            },
            {
                "id": 12,
                "original_price": "18.33",
                "discounted_price": "10.99",
                "discount_percentage": 40,
                "connected_vehicles": true,
                "name": "pro",
                "popular": true,
                "display_name": "Pro",
                "display_nameFr": "Pro",
                "description": "Provides telemetry options and advanced fleet management features",
                "descriptionFr": "Offre des options de télématique et des fonctionnalités avancées pour la gestion de flotte",
                "display_order": 2,
                "billing_frequency": "monthly",
                "features": {
                    "included": [
                        {
                            "display_name": "Everything in Starter",
                            "display_nameFr": "Tout dans Starter"
                        },
                        {
                            "display_name": "Vehicle Assignment Planning (calendar)",
                            "display_nameFr": "Planification des affectations de véhicules (calendrier)"
                        },
                        {
                            "display_name": "Reports and Analysis",
                            "display_nameFr": "Rapports et analyses"
                        },
                        {
                            "display_name": "Mobile App Access",
                            "display_nameFr": "Accès à l'application mobile"
                        }
                    ],
                    "excluded": [
                        {
                            "display_name": "Odometer Management (Automatic + real-time)",
                            "display_nameFr": "Gestion des odomètres (Automatique + temps réel)"
                        },
                        {
                            "display_name": "Vehicle Sharing (Car-sharing) lock/unlock",
                            "display_nameFr": "Partage de véhicules (Car-sharing) lock/unlock"
                        }
                    ]
                }
            },
            {
                "id": 13,
                "original_price": "24.99",
                "discounted_price": "14.99",
                "discount_percentage": 40,
                "connected_vehicles": true,
                "name": "advanced",
                "popular": false,
                "display_name": "Advanced",
                "display_nameFr": "Avancé",
                "description": "The complete solution for large enterprises with complex needs including telemetry, Car-sharing, and API integration",
                "descriptionFr": "La solution complète pour les grandes entreprises avec des besoins complexes incluant la télématique, le Car-sharing et l'intégration API",
                "display_order": 3,
                "billing_frequency": "monthly",
                "features": {
                    "included": [
                        {
                            "display_name": "Everything in Pro",
                            "display_nameFr": "Tout dans Pro"
                        },
                        {
                            "display_name": "Odometer Management (Automatic + real-time)",
                            "display_nameFr": "Gestion des odomètres (Automatique + temps réel)"
                        },
                        {
                            "display_name": "Vehicle Sharing (Car-sharing) lock/unlock",
                            "display_nameFr": "Partage de véhicules (Car-sharing) lock/unlock"
                        },
                        {
                            "display_name": "API Integration",
                            "display_nameFr": "Integration API"
                        },
                        {
                            "display_name": "Advanced Role Management",
                            "display_nameFr": "Gestion des rôles Avancé"
                        },
                        {
                            "display_name": "Unlimited access on web-app & Mobile app",
                            "display_nameFr": "Nombre d'accès sur web-app & Mobile app illimité"
                        },
                        {
                            "display_name": "Up to 1Gb Document Storage per vehicle",
                            "display_nameFr": "Jusqu'à 1Gb de Stockage Documents par véhicle"
                        }
                    ],
                    "excluded": []
                }
            }
        ],
        "comparisons": [
            {
                "id": 5,
                "category": "Vehicle Management",
                "categoryFr": "Gestion des véhicules",
                "features": [
                    {
                        "featureName": "Gestion des véhicules",
                        "featureNameFr": "Gestion des véhicules",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            },
                            "pro": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            },
                            "advanced": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            }
                        }
                    },
                    {
                        "featureName": "Planification des affectations de véhicules",
                        "featureNameFr": "Planification des affectations de véhicules",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            },
                            "pro": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            },
                            "advanced": {
                                "included": true,
                                "access": null,
                                "accessFR": null
                            }
                        }
                    },
                    {
                        "featureName": "Gestion des odomètres",
                        "featureNameFr": "Gestion des odomètres",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": "Basique",
                                "accessFR": "Basique"
                            },
                            "pro": {
                                "included": true,
                                "access": "Automatique (Chaque 24h)",
                                "accessFR": "Automatique (Chaque 24h)"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Automatique + temps réel",
                                "accessFR": "Automatique + temps réel"
                            }
                        }
                    },
                    {
                        "featureName": "Gestion des sites",
                        "featureNameFr": "Gestion des sites",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": "Jusqu'à 10",
                                "accessFR": "Jusqu'à 10"
                            },
                            "pro": {
                                "included": true,
                                "access": "Jusqu'à 50",
                                "accessFR": "Jusqu'à 50"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Illimité",
                                "accessFR": "Illimité"
                            }
                        }
                    },
                    {
                        "featureName": "Documents par vehicle",
                        "featureNameFr": "Documents par vehicle",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": "Jusqu'à 50 MB",
                                "accessFR": "Jusqu'à 50 MB"
                            },
                            "pro": {
                                "included": true,
                                "access": "Jusqu'à 500 MB",
                                "accessFR": "Jusqu'à 500 MB"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Jusqu'à 1gb",
                                "accessFR": "Jusqu'à 1gb"
                            }
                        }
                    }
                ]
            },
            {
                "id": 6,
                "category": "Tracking and Geolocation",
                "categoryFr": "Suivi et Géolocalisation",
                "features": [
                    {
                        "featureName": "Géolocalisation (Temps réel)",
                        "featureNameFr": "Géolocalisation (Temps réel)",
                        "included": {
                            "starter": {
                                "included": false,
                                "access": null,
                                "accessFR": null
                            },
                            "pro": {
                                "included": true,
                                "access": "Jusqu'à 100 véhicules",
                                "accessFR": "Jusqu'à 100 véhicules"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Illimité",
                                "accessFR": "Illimité"
                            }
                        }
                    }
                ]
            },
            {
                "id": 7,
                "category": "Reports and Analysis",
                "categoryFr": "Rapports et Analyses",
                "features": [
                    {
                        "featureName": "Tableau de bord",
                        "featureNameFr": "Tableau de bord",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": "Basique",
                                "accessFR": "Basique"
                            },
                            "pro": {
                                "included": true,
                                "access": "Avancés",
                                "accessFR": "Avancés"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Avancés et Personnalisés",
                                "accessFR": "Avancés et Personnalisés"
                            }
                        }
                    }
                ]
            },
            {
                "id": 8,
                "category": "Access and Users",
                "categoryFr": "Accès et Utilisateurs",
                "features": [
                    {
                        "featureName": "Nombre d'accès sur web-app",
                        "featureNameFr": "Nombre d'accès sur web-app",
                        "included": {
                            "starter": {
                                "included": true,
                                "access": "1",
                                "accessFR": "1"
                            },
                            "pro": {
                                "included": true,
                                "access": "Jusqu'a 10",
                                "accessFR": "Jusqu'a 10"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Illimité",
                                "accessFR": "Illimité"
                            }
                        }
                    },
                    {
                        "featureName": "Nombre d'accès sur mobile-app",
                        "featureNameFr": "Nombre d'accès sur mobile-app",
                        "included": {
                            "starter": {
                                "included": false,
                                "access": null,
                                "accessFR": null
                            },
                            "pro": {
                                "included": true,
                                "access": "Jusqu'a 10",
                                "accessFR": "Jusqu'a 10"
                            },
                            "advanced": {
                                "included": true,
                                "access": "Illimité",
                                "accessFR": "Illimité"
                            }
                        }
                    }
                ]
            }
        ]
    }
}

1- Authentification


Login client

POST
http://fleet.test
/api/v1/fleet/auth/login

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"eloisa.greenholt@example.net\",
    \"password\": \"ut\"
}"

Register client

POST
http://fleet.test
/api/v1/fleet/auth/register

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/auth/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"wzitencvopmowtvfcyimbcuh\",
    \"last_name\": \"ennojkyavjqjkmkczzvvtuxd\",
    \"email\": \"javonte35@example.com\",
    \"phone\": \"esiuvxf\",
    \"password\": \")[?,Ex8LEq}7O5N:\'N\"
}"

Send reset password link

POST
http://fleet.test
/api/v1/fleet/auth/password/forgot

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/auth/password/forgot" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"waelchi.constance@example.net\"
}"

Reset password

POST
http://fleet.test
/api/v1/fleet/auth/password/reset

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/auth/password/reset" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"token\": \"magni\",
    \"email\": \"bartholome.champlin@example.net\",
    \"password\": \"`\'S4oA0Hf*\"
}"

Logout user

POST
http://fleet.test
/api/v1/fleet/auth/logout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/auth/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

2- User management


Get user details

GET
http://fleet.test
/api/v1/fleet/user/show
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/user/show" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update user profile

POST
http://fleet.test
/api/v1/fleet/user/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/user/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"dfm\",
    \"first_name\": \"mvfmhehdxiroiakzvciutggg\",
    \"last_name\": \"xnnutkwusllnfzfr\",
    \"siren_number\": \"781177279\",
    \"email\": \"imelda.oreilly@example.com\",
    \"phone\": \"optio\",
    \"activity_code\": \"m\",
    \"tva_number\": \"non\",
    \"full_address\": \"dhprlnkzgmbrdcqnjhkhnkgxv\",
    \"country\": \"Greece\",
    \"company_profile\": \"C\"
}"

Update password

POST
http://fleet.test
/api/v1/fleet/user/password/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/user/password/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"current_password\": \"voluptatum\",
    \"password\": \"z(N$SEKWum\"
}"

Store temp email

POST
http://fleet.test
/api/v1/fleet/temp-email/store

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/temp-email/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Verify temp email

POST
http://fleet.test
/api/v1/fleet/temp-email/verify

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/temp-email/verify" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"uuid\": \"155e8247-8d86-336f-961f-2578cce50d0d\",
    \"otp\": \"766012\"
}"

POST api/v1/fleet/profile/complete

POST
http://fleet.test
/api/v1/fleet/profile/complete
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/profile/complete" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"country\": \"qyhbrpwfcnadfqpt\",
    \"name\": \"myeatpmafnbkphh\",
    \"siret\": \"ptpngnvsqulouhjsepm\",
    \"company_size_id\": \"quisquam\",
    \"fleet_size_id\": \"doloribus\",
    \"industries_ids\": [
        12
    ],
    \"company_role_id\": \"explicabo\",
    \"experience\": 1
}"

GET api/v1/fleet/profile/company-sizes

GET
http://fleet.test
/api/v1/fleet/profile/company-sizes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/profile/company-sizes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/profile/fleet-sizes

GET
http://fleet.test
/api/v1/fleet/profile/fleet-sizes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/profile/fleet-sizes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/profile/industries

GET
http://fleet.test
/api/v1/fleet/profile/industries
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/profile/industries" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/profile/company-roles

GET
http://fleet.test
/api/v1/fleet/profile/company-roles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/profile/company-roles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/profile/all-data

GET
http://fleet.test
/api/v1/fleet/profile/all-data
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/profile/all-data" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

3- Vehicle management


Get client vehicles list

GET
http://fleet.test
/api/v1/fleet/vehicles/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/export-json

GET
http://fleet.test
/api/v1/fleet/vehicles/export-json
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/export-json" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all vehicles

GET
http://fleet.test
/api/v1/fleet/vehicles/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle details

GET
http://fleet.test
/api/v1/fleet/vehicles/show/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle overview data

GET
http://fleet.test
/api/v1/fleet/vehicles/overview/{vehicle}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle
string
required
Example:
delectus
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/overview/delectus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Switch car sharing status

POST
http://fleet.test
/api/v1/fleet/vehicles/switch/carsharing/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/switch/carsharing/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Update vehicle lifecycle

POST
http://fleet.test
/api/v1/fleet/vehicles/update/lifecycle/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/update/lifecycle/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"in_service_date\": \"2025-03-14T08:17:31\",
    \"in_service_odometer\": 9,
    \"estimated_service_life_months\": 34,
    \"estimated_service_life_km\": 41,
    \"estimated_resale_value\": 0,
    \"out_of_service_date\": \"2077-05-03\",
    \"out_of_service_odometer\": 24
}"

Update vehicle financial

POST
http://fleet.test
/api/v1/fleet/vehicles/update/financial/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/update/financial/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"purchase_date\": \"2025-03-14T08:17:31\",
    \"purchase_price\": 38,
    \"odometer\": 17,
    \"financial_status\": \"loaned\",
    \"date_of_lease\": \"2025-03-14T08:17:31\",
    \"capitalized_cost\": 80,
    \"down_payment\": 49,
    \"first_payment_date\": \"2025-03-14T08:17:31\",
    \"monthly_payment\": 45,
    \"number_of_payments\": 73,
    \"residual_value\": 44,
    \"excess_km_charge\": 11,
    \"contract_km\": 53,
    \"lease_number\": \"facilis\",
    \"generate_expenses\": false,
    \"date_of_loan\": \"2025-03-14T08:17:31\",
    \"amount_of_loan\": 88,
    \"annual_percentage_rate\": 23,
    \"loan_end_date\": \"2025-03-14T08:17:31\",
    \"loan_number\": \"velit\",
    \"in_service_date\": \"2025-03-14T08:17:31\",
    \"in_service_odometer\": 28,
    \"estimated_service_life_months\": 60,
    \"estimated_service_life_km\": 10,
    \"estimated_resale_value\": 82,
    \"out_of_service_date\": \"2025-03-14T08:17:31\",
    \"out_of_service_odometer\": 28
}"

Update vehicle inspection

POST
http://fleet.test
/api/v1/fleet/vehicles/update/inspection/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/update/inspection/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \

POST api/v1/fleet/vehicles/maintenance/update/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/maintenance/update/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/maintenance/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"last_maintenance_date\": \"2024-12-25\",
    \"next_maintenance_date\": \"2048-01-02\",
    \"last_maintenance_mileage\": 90,
    \"next_maintenance_mileage\": 56,
    \"last_technical_control_date\": \"2010-06-21\",
    \"next_technical_control_date\": \"2062-02-05\"
}"

Delete a vehicle

DELETE
http://fleet.test
/api/v1/fleet/vehicles/delete/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/restore/{vehicle}

POST
http://fleet.test
/api/v1/fleet/vehicles/restore/{vehicle}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle
string
required
Example:
similique
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/restore/similique" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

DELETE api/v1/fleet/vehicles/delete-all

DELETE
http://fleet.test
/api/v1/fleet/vehicles/delete-all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/delete-all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/exitparc/{vehicle}

POST
http://fleet.test
/api/v1/fleet/vehicles/exitparc/{vehicle}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle
string
required
Example:
necessitatibus

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/exitparc/necessitatibus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"parc_exit_date\": \"2025-03-14T08:17:31\"
}"

POST api/v1/fleet/vehicles/changestatus/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/changestatus/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/changestatus/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"custom_status_id\": \"minima\"
}"

GET api/v1/fleet/vehicles/over-view/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/over-view/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/over-view/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-1/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-1/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-1/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-2/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-2/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-2/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-2/telemetry/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-2/telemetry/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-2/telemetry/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-2/history/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-2/history/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-2/history/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-2/sensor-alert/list

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-2/sensor-alert/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-2/sensor-alert/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/pr-2/sensor-alert-item/list/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/pr-2/sensor-alert-item/list/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/pr-2/sensor-alert-item/list/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/vehicles/pr-2/sensor-alert-item/update/{sensor_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/pr-2/sensor-alert-item/update/{sensor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sensor_id
integer
required

The ID of the sensor.

Example:
12

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/pr-2/sensor-alert-item/update/12" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"conditions\": [
        {
            \"sensor_alert_id\": 20,
            \"value\": 0.7261
        }
    ]
}"

POST api/v1/fleet/vehicles/pr-2/sensor-alert-item/reset/{sensor_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/pr-2/sensor-alert-item/reset/{sensor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sensor_id
integer
required

The ID of the sensor.

Example:
12
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/pr-2/sensor-alert-item/reset/12" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/pr-2/device/update/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/pr-2/device/update/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/pr-2/device/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

DELETE api/v1/fleet/vehicles/pr-2/sensor/delete/{sensor_id}

DELETE
http://fleet.test
/api/v1/fleet/vehicles/pr-2/sensor/delete/{sensor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sensor_id
integer
required

The ID of the sensor.

Example:
12
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/pr-2/sensor/delete/12" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

GET api/v1/fleet/vehicles/brands

GET
http://fleet.test
/api/v1/fleet/vehicles/brands
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/brands" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/models/{brand_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/models/{brand_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

brand_id
string
required

The ID of the brand.

Example:
voluptatem
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/models/voluptatem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/versions/{model_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/versions/{model_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

model_id
string
required

The ID of the model.

Example:
vitae
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/versions/vitae" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/find/{number_plate}

GET
http://fleet.test
/api/v1/fleet/vehicles/find/{number_plate}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

number_plate
string
required
Example:
non
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/find/non" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/matriculation/search/{matriculation}

GET
http://fleet.test
/api/v1/fleet/vehicles/matriculation/search/{matriculation}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

matriculation
string
required
Example:
fugit
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/matriculation/search/fugit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}
GET
http://fleet.test
/api/v1/fleet/vehicles/vroomly/search
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/vroomly/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:

GET api/v1/fleet/vehicles/vroomly/search-one

GET
http://fleet.test
/api/v1/fleet/vehicles/vroomly/search-one
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/vroomly/search-one" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}
GET
http://fleet.test
/api/v1/fleet/vehicles/idgarages/search
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/idgarages/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:

GET api/v1/fleet/vehicles/idgarages/search-one

GET
http://fleet.test
/api/v1/fleet/vehicles/idgarages/search-one
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/idgarages/search-one" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/vehicles/import-list

POST
http://fleet.test
/api/v1/fleet/vehicles/import-list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/import-list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/update-vehicles

POST
http://fleet.test
/api/v1/fleet/vehicles/update-vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/update-vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

DELETE api/v1/fleet/vehicles/delete-list

DELETE
http://fleet.test
/api/v1/fleet/vehicles/delete-list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/delete-list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/connect-vehicles

POST
http://fleet.test
/api/v1/fleet/vehicles/connect-vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/connect-vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/connect-vehicle/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/connect-vehicle/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/connect-vehicle/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

GET api/v1/fleet/vehicles/connected-vehicles

GET
http://fleet.test
/api/v1/fleet/vehicles/connected-vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/connected-vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/vehicles/disconnect-vehicle/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/disconnect-vehicle/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/disconnect-vehicle/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/disconnect-vehicles

POST
http://fleet.test
/api/v1/fleet/vehicles/disconnect-vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/disconnect-vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get vehicle car trips

GET
http://fleet.test
/api/v1/fleet/vehicles/cartrips/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/cartrips/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle car trips V2

GET
http://fleet.test
/api/v1/fleet/vehicles/cartripsv2/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/cartripsv2/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/cartrips/import/{vehicle_id}

GET
http://fleet.test
/api/v1/fleet/vehicles/cartrips/import/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/cartrips/import/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/vehicles/carlocations/list

GET
http://fleet.test
/api/v1/fleet/vehicles/carlocations/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/carlocations/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export vehicles table

GET
http://fleet.test
/api/v1/fleet/vehicles/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicles/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/vehicles/privatemode/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/privatemode/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/privatemode/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

DELETE api/v1/fleet/vehicles/antai/delete

DELETE
http://fleet.test
/api/v1/fleet/vehicles/antai/delete
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/antai/delete" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/antai/add

POST
http://fleet.test
/api/v1/fleet/vehicles/antai/add
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/antai/add" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

DELETE api/v1/fleet/vehicles/antai/delete/{vehicle_id}

DELETE
http://fleet.test
/api/v1/fleet/vehicles/antai/delete/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicles/antai/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/vehicles/antai/add/{vehicle_id}

POST
http://fleet.test
/api/v1/fleet/vehicles/antai/add/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicles/antai/add/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get all vehicles

GET
http://fleet.test
/api/v1/fleet/vehicle/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicle/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get antai client vehicles list

GET
http://fleet.test
/api/v1/fleet/antaivehicles/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/antaivehicles/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

4- Site management


Get client sites list

GET
http://fleet.test
/api/v1/fleet/site/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export sites table

GET
http://fleet.test
/api/v1/fleet/site/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get client all sites list

GET
http://fleet.test
/api/v1/fleet/site/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get site details

GET
http://fleet.test
/api/v1/fleet/site/show/{site_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

site_id
integer
required

The ID of the site.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get site vehicles

GET
http://fleet.test
/api/v1/fleet/site/{site_id}/vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

site_id
integer
required

The ID of the site.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/1/vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get site workers

GET
http://fleet.test
/api/v1/fleet/site/{site_id}/workers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

site_id
integer
required

The ID of the site.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site/1/workers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete a site

DELETE
http://fleet.test
/api/v1/fleet/site/delete/{site_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

site_id
integer
required

The ID of the site.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/site/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

5- Parkings management


Get client parkings list

GET
http://fleet.test
/api/v1/fleet/parking/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/parking/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get parking details

GET
http://fleet.test
/api/v1/fleet/parking/show/{parking_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

parking_id
integer
required

The ID of the parking.

Example:
5
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/parking/show/5" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a parking

POST
http://fleet.test
/api/v1/fleet/parking/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/parking/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"yryismahxxdqa\",
    \"address\": \"z\",
    \"parking_map\": \"zaxqnvrizs\"
}"

Update a parking

POST
http://fleet.test
/api/v1/fleet/parking/update/{parking_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

parking_id
integer
required

The ID of the parking.

Example:
5

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/parking/update/5" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"cv\",
    \"address\": \"yqkmxazxpvavxjeeo\",
    \"parking_map\": \"ziyxtcdek\"
}"

Delete a parking

DELETE
http://fleet.test
/api/v1/fleet/parking/delete/{parking_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

parking_id
integer
required

The ID of the parking.

Example:
5
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/parking/delete/5" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

6- Sites Managers management


Get client site managers list

GET
http://fleet.test
/api/v1/fleet/site-manager/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site-manager/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get site manager details

GET
http://fleet.test
/api/v1/fleet/site-manager/show/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/site-manager/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a site manager

POST
http://fleet.test
/api/v1/fleet/site-manager/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/site-manager/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"ewajtkdm\",
    \"last_name\": \"rghpkcncpsfyvjgyerzlvxd\",
    \"title\": \"Mm\",
    \"phone\": \"8145202915\",
    \"email\": \"kunde.gracie@example.net\",
    \"password\": \"tfIedupuEr6lh~y\",
    \"site_id\": 6,
    \"address\": \"xadubdnacntu\"
}"

Update a site manager

POST
http://fleet.test
/api/v1/fleet/site-manager/update/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/site-manager/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"fv\",
    \"last_name\": \"zxqbtvydzdhsfcev\",
    \"title\": \"Mr\",
    \"phone\": \"1981546556\",
    \"email\": \"jorge48@example.com\",
    \"password\": \",lkX;=\",
    \"site_id\": 16,
    \"address\": \"jwutbgrfeonjnzqkmk\"
}"

Delete a site manager

DELETE
http://fleet.test
/api/v1/fleet/site-manager/delete/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/site-manager/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

7- Drivers management


Get client drivers list

GET
http://fleet.test
/api/v1/fleet/driver/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/driver/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get driver details

GET
http://fleet.test
/api/v1/fleet/driver/show/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/driver/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a driver

POST
http://fleet.test
/api/v1/fleet/driver/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/driver/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"hbrozjaz\",
    \"last_name\": \"gmqfhwvszzhmfkmmamp\",
    \"phone\": \"9019604797\",
    \"email\": \"waino.wolff@example.com\",
    \"password\": \"?%nn5O\",
    \"address\": \"mwcnpculxvxjiybcz\",
    \"sites\": [
        11
    ],
    \"license_categories\": [
        2
    ],
    \"driver_license_number\": \"540753587945\",
    \"driving_license_issue_date\": \"2010-04-26\",
    \"driving_license_issue_place\": \"ycedzepbc\",
    \"driver_license_picture\": \"yciiiiawj\"
}"

Update a driver

POST
http://fleet.test
/api/v1/fleet/driver/update/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/driver/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"eprxoab\",
    \"last_name\": \"ulcdpuupoctblmu\",
    \"phone\": \"4759608045\",
    \"email\": \"cormier.telly@example.net\",
    \"password\": \"a3v3|#)Gz]E2C-$}n\",
    \"address\": \"dqwuuubtsilikxgz\",
    \"sites\": [
        2
    ],
    \"license_categories\": [
        3
    ],
    \"driver_license_number\": \"051551351403\",
    \"driving_license_issue_date\": \"2006-08-03\",
    \"driving_license_issue_place\": \"hgfdbdehctmgrygpk\",
    \"driver_license_picture\": \"enrmcz\"
}"

Assign a driver to a vehicle

POST
http://fleet.test
/api/v1/fleet/driver/assign-vehicle/{user_id}/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
vehicle_id
integer
required

The ID of the vehicle.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/driver/assign-vehicle/1/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Delete a driver

DELETE
http://fleet.test
/api/v1/fleet/driver/delete/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/driver/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

8- Service management


Get services list

GET
http://fleet.test
/api/v1/fleet/service/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/service/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get sub services list

GET
http://fleet.test
/api/v1/fleet/subservices/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/subservices/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

9- Vendor management


Get user vendors list

GET
http://fleet.test
/api/v1/fleet/vendor/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendor/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}
GET
http://fleet.test
/api/v1/fleet/vendor/search
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Query Parameters

query
string

the search value.

Example:
Garage
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendor/search?query=Garage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:

Filter vendors

GET
http://fleet.test
/api/v1/fleet/vendor/filter
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Query Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
15
service_id
integer
required

The ID of the service.

Example:
2
lat
string
required

The latitude coordinate.

Example:
48.859
long
string
required

The longitude coordinate.

Example:
2.347
radius
string
required

The filter radius in kilometers.

Example:
100.0

Body Parameters

Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendor/filter?vehicle_id=15&service_id=2&lat=48.859&long=2.347&radius=100.0" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"deserunt\",
    \"service_id\": 5,
    \"lat\": \"ugfxo\",
    \"long\": \"xytnswdqqnjschdcmmt\"
}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store vendor

POST
http://fleet.test
/api/v1/fleet/vendor/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendor/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qmzipjscxmaeweruitsgvwuy\",
    \"first_name\": \"lcefeoiqvfazbkdgz\",
    \"last_name\": \"joelspfvrebstkmdadbdbnosj\",
    \"email\": \"concepcion.bashirian@example.org\",
    \"phone_number\": \"5716968408596\",
    \"address\": \"placeat\",
    \"city\": \"sapiente\",
    \"siret_number\": \"03434177798005\",
    \"rcs_number\": \"impedit\",
    \"postal_code\": 5388649,
    \"lat\": 384002.855695413,
    \"lng\": 465078291
}"
POST
http://fleet.test
/api/v1/fleet/vendor/link/{vendorId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendorId
string
required
Example:
praesentium
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendor/link/praesentium" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

10- Appointment management


Get appointments list

GET
http://fleet.test
/api/v1/fleet/appointment/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/appointment/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Show an appointment/estimation

GET
http://fleet.test
/api/v1/fleet/appointment/show/{appointment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

appointment_id
string
required

The ID of the appointment.

Example:
sit

Query Parameters

appointment_id
integer
required

The ID of the appointment.

Example:
15
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/appointment/show/sit?appointment_id=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Refuse an estimation

PUT
http://fleet.test
/api/v1/fleet/appointment/refuse/{appointment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

appointment_id
string
required

The ID of the appointment.

Example:
esse

Query Parameters

appointment_id
integer
required

The ID of the appointment.

Example:
15
Example request:
curl --request PUT \
    "http://fleet.test/api/v1/fleet/appointment/refuse/esse?appointment_id=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get invoices list

GET
http://fleet.test
/api/v1/fleet/appointment/invoices
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/appointment/invoices" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get estimations list

GET
http://fleet.test
/api/v1/fleet/appointment/estimations
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/appointment/estimations" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an appointment

POST
http://fleet.test
/api/v1/fleet/appointment/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/appointment/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": 15,
    \"service_id\": 2,
    \"provider_id\": 3,
    \"appointment_date\": \"2024-12-31\",
    \"appointment_time\": \"12:00\"
}"

Store an estimation

POST
http://fleet.test
/api/v1/fleet/appointment/estimations/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/appointment/estimations/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": 15,
    \"service_id\": 2,
    \"provider_id\": 3,
    \"note\": \"\\\"Please take care of the car\\\"\"
}"

Accept an appointment date

POST
http://fleet.test
/api/v1/fleet/appointment/date/accept/{appointmentId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

appointmentId
string
required
Example:
non

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/appointment/date/accept/non" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"accept\": true
}"

Create an appointment from an estimation

POST
http://fleet.test
/api/v1/fleet/appointment/store/{estimationId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

estimationId
string
required
Example:
et

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/appointment/store/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"appointment_date\": \"2024-12-31\",
    \"appointment_time\": \"12:00\"
}"

10- Certify Appointment


Get certify appointments list for fleet client

GET
http://fleet.test
/api/v1/fleet/appointment/certify/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/appointment/certify/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

11- Conveying management


Get conveyings list

GET
http://fleet.test
/api/v1/fleet/conveying/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/conveying/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get conveying details

GET
http://fleet.test
/api/v1/fleet/conveying/show/{conveying}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

conveying
string
required
Example:
doloremque
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/conveying/show/doloremque" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Cancel conveying

POST
http://fleet.test
/api/v1/fleet/conveying/cancel/{conveying}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

conveying
string
required
Example:
quis

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/conveying/cancel/quis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Impedit consequatur incidunt distinctio error accusamus.\"
}"

Get conveyings contracts list

GET
http://fleet.test
/api/v1/fleet/conveying/contract/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/conveying/contract/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

12- License Categories management


Get license categories list

GET
http://fleet.test
/api/v1/fleet/license-category/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/license-category/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

13- Label management


Get user labels list

GET
http://fleet.test
/api/v1/fleet/labels/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/labels/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all user labels without pagination

GET
http://fleet.test
/api/v1/fleet/labels/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/labels/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get label details

GET
http://fleet.test
/api/v1/fleet/labels/show/{label_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

label_id
integer
required

The ID of the label.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/labels/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a label

POST
http://fleet.test
/api/v1/fleet/labels/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/labels/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qplcqrxx\",
    \"color\": \"nqsbimaaxytrt\",
    \"description\": \"Optio iure eaque harum eos.\"
}"

Update a label

POST
http://fleet.test
/api/v1/fleet/labels/update/{label_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

label_id
integer
required

The ID of the label.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/labels/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"pyiu\",
    \"color\": \"fj\",
    \"description\": \"Cupiditate corrupti recusandae et.\"
}"

Delete a label

DELETE
http://fleet.test
/api/v1/fleet/labels/delete/{label_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

label_id
integer
required

The ID of the label.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/labels/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

14- Issue management


Get client issues list

GET
http://fleet.test
/api/v1/fleet/issues/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/issues/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export issues table

GET
http://fleet.test
/api/v1/fleet/issues/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/issues/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get issue details

GET
http://fleet.test
/api/v1/fleet/issues/show/{issue}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue
string
required
Example:
exercitationem
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/issues/show/exercitationem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an issue

POST
http://fleet.test
/api/v1/fleet/issues/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/issues/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=yjcpejjbuoehbflvmwrjrhggc"\
    --form "description=In sed ipsum quia omnis sit."\
    --form "priority=Critical"\
    --form "vehicle_id=officia"\
    --form "reported_by=quae"\
    --form "reported_at=2025-03-14T08:17:32"\
    --form "due_date=2101-10-20"\
    --form "odometer=62"\
    --form "source=i"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD8A3.tmp" 

Update an issue

POST
http://fleet.test
/api/v1/fleet/issues/update/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/issues/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=detpypqgntpbb"\
    --form "description=Enim minima necessitatibus praesentium."\
    --form "priority=High"\
    --form "status=Resolved"\
    --form "vehicle_id=suscipit"\
    --form "reported_by=aut"\
    --form "reported_at=2025-03-14T08:17:32"\
    --form "due_date=2025-03-14T08:17:32"\
    --form "odometer=76"\
    --form "source=ohhjyalzehyaliusgtafdunr"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD8B4.tmp" 

POST api/v1/fleet/issues/partner/{issue_id}

POST
http://fleet.test
/api/v1/fleet/issues/partner/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/issues/partner/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"provider_id\": 15,
    \"service_id\": 4,
    \"priority\": \"N\",
    \"odometer\": 11,
    \"schedule_date\": \"2025-03-14T08:17:32\",
    \"enable_notifications\": false
}"

POST api/v1/fleet/issues/inhouse/{issue_id}

POST
http://fleet.test
/api/v1/fleet/issues/inhouse/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/issues/inhouse/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"service_id\": 12,
    \"priority\": \"N\",
    \"odometer\": 13,
    \"schedule_date\": \"2025-03-14T08:17:32\",
    \"enable_notifications\": false
}"

Resolve an issue

POST
http://fleet.test
/api/v1/fleet/issues/resolve/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/issues/resolve/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resolve_note\": \"lfd\"
}"

Delete an issue

DELETE
http://fleet.test
/api/v1/fleet/issues/delete/{issue_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

issue_id
integer
required

The ID of the issue.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/issues/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

15- Inhouse Service management


Get inhouse services list

GET
http://fleet.test
/api/v1/fleet/inhouseservices/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inhouseservices/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get inhouse service details

GET
http://fleet.test
/api/v1/fleet/inhouseservices/show/{inhouseservice}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inhouseservice
string
required
Example:
quia
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inhouseservices/show/quia" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an inhouse service

POST
http://fleet.test
/api/v1/fleet/inhouseservices/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inhouseservices/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=illum"\
    --form "service_id=12"\
    --form "priority=N"\
    --form "status=O"\
    --form "odometer=6"\
    --form "schedule_date=2025-03-14T08:17:32"\
    --form "enable_notifications=false"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD8F4.tmp" 

Update an inhouse service

POST
http://fleet.test
/api/v1/fleet/inhouseservices/update/{inhouseservice_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

inhouseservice_id
integer
required

The ID of the inhouseservice.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inhouseservices/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=sed"\
    --form "service_id=9"\
    --form "priority=N"\
    --form "status=R"\
    --form "odometer=14"\
    --form "schedule_date=2025-03-14T08:17:32"\
    --form "enable_notifications=true"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD904.tmp" 

Delete an inhouse service

DELETE
http://fleet.test
/api/v1/fleet/inhouseservices/delete/{inhouseservice_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inhouseservice_id
integer
required

The ID of the inhouseservice.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/inhouseservices/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

16- Partner Service management


Get partner services list

GET
http://fleet.test
/api/v1/fleet/partnerservices/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/partnerservices/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get partner service details

GET
http://fleet.test
/api/v1/fleet/partnerservices/show/{partnerservice}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

partnerservice
string
required
Example:
aut
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/partnerservices/show/aut" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an partner service

POST
http://fleet.test
/api/v1/fleet/partnerservices/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/partnerservices/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=molestiae"\
    --form "provider_id=10"\
    --form "service_id=3"\
    --form "priority=U"\
    --form "status=R"\
    --form "odometer=6"\
    --form "schedule_date=2025-03-14T08:17:32"\
    --form "enable_notifications=true"\
    --form "date_back_in_site=2025-03-14T08:17:32"\
    --form "back_in_site_custom_status_id=quia"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD934.tmp" 

Update an partner service

POST
http://fleet.test
/api/v1/fleet/partnerservices/update/{partnerservice_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

partnerservice_id
integer
required

The ID of the partnerservice.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/partnerservices/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=voluptatem"\
    --form "provider_id=8"\
    --form "service_id=7"\
    --form "priority=S"\
    --form "status=O"\
    --form "odometer=10"\
    --form "schedule_date=2025-03-14T08:17:32"\
    --form "enable_notifications=true"\
    --form "date_back_in_site=2025-03-14T08:17:32"\
    --form "back_in_site_custom_status_id=totam"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpD945.tmp" 

Delete an partner service

DELETE
http://fleet.test
/api/v1/fleet/partnerservices/delete/{partnerservice_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

partnerservice_id
integer
required

The ID of the partnerservice.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/partnerservices/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

17- Vendor management


Get vendors list

GET
http://fleet.test
/api/v1/fleet/vendors/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get user vendors list

GET
http://fleet.test
/api/v1/fleet/vendors/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export vendors table

GET
http://fleet.test
/api/v1/fleet/vendors/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a vendor

POST
http://fleet.test
/api/v1/fleet/vendors/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendors/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ojludqci\",
    \"phone\": \"iqkiooldmnjob\",
    \"address\": \"opawypzddgcifjzlcokuopj\",
    \"email\": \"upton.bianka@example.com\",
    \"note\": \"et\",
    \"website\": \"uqgt\",
    \"siret\": \"wnpivqbnbhkiky\",
    \"contact_person_name\": \"emxghhvnqynyenvuclcv\",
    \"contact_person_phone_number\": \"qxeeqtdlm\",
    \"contact_person_email\": \"will.webster@example.net\",
    \"contact_person_occupation\": \"tcnuiewjowgnsiw\",
    \"contract_start_date\": \"2025-03-14T08:17:32\",
    \"contract_end_date\": \"2105-10-30\",
    \"classifications\": [
        \"nulla\"
    ]
}"

Get all vendors classifications without pagination

GET
http://fleet.test
/api/v1/fleet/vendors/classifications
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/classifications" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update a vendor

POST
http://fleet.test
/api/v1/fleet/vendors/update/{vendor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor_id
integer
required

The ID of the vendor.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendors/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"iwhfqlxlpw\",
    \"phone\": \"wvvqrrw\",
    \"address\": \"nzunfjkivshlfrahsci\",
    \"email\": \"zboncak.helen@example.com\",
    \"note\": \"expedita\",
    \"website\": \"rijkgwpbvjkpgqvmeci\",
    \"siret\": \"nnna\",
    \"contact_person_name\": \"hbpibkghulvpegqyga\",
    \"contact_person_phone_number\": \"mhqjuo\",
    \"contact_person_email\": \"botsford.audreanne@example.net\",
    \"contact_person_occupation\": \"kjhynggrpoxstjmyyxzxsb\",
    \"contract_start_date\": \"2025-03-14T08:17:32\",
    \"contract_end_date\": \"2066-07-03\",
    \"classifications\": [
        \"mollitia\"
    ]
}"

Get vendor details

GET
http://fleet.test
/api/v1/fleet/vendors/show/{vendor}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
string
required
Example:
sed
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/show/sed" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Add a document to a vendor

POST
http://fleet.test
/api/v1/fleet/vendors/{vendor}/documents
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendors/1/documents" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "description=Sunt quibusdam accusamus consequatur dolor."\
    --form "file_name=cpfffiqixqplpllohfcqfuv"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpD9E2.tmp" 

Edit a document of a vendor

POST
http://fleet.test
/api/v1/fleet/vendors/{vendor}/documents/{document}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1
document
string
required

The document.

Example:
neque

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vendors/1/documents/neque" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "description=Ex omnis consequatur inventore aperiam soluta labore molestiae."\
    --form "file_name=ygpjqtzedowmtbjypazaru"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDA03.tmp" 

get a document of a vendor

GET
http://fleet.test
/api/v1/fleet/vendors/{vendor}/documents/{document}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1
document
string
required

The document.

Example:
aut
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/1/documents/aut" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete a document of a vendor

DELETE
http://fleet.test
/api/v1/fleet/vendors/{vendor}/documents/{document}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1
document
string
required

The document.

Example:
sequi
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vendors/1/documents/sequi" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get all documents of a specific vendor

GET
http://fleet.test
/api/v1/fleet/vendors/{vendor}/documents
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1

Body Parameters

Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/1/documents" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"created_at\": \"2025-03-14\"
}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all vehicles of a specific vendor

GET
http://fleet.test
/api/v1/fleet/vendors/{vendor}/vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/1/vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all entries of a specific vendor

GET
http://fleet.test
/api/v1/fleet/vendors/{vendor}/entries
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor
integer
required

The vendor.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vendors/1/entries" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete a vendor

DELETE
http://fleet.test
/api/v1/fleet/vendors/delete/{vendor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor_id
integer
required

The ID of the vendor.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vendors/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get user vendors list without pagination

GET
http://fleet.test
/api/v1/fleet/uservendors/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/uservendors/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}
POST
http://fleet.test
/api/v1/fleet/uservendors/link
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/uservendors/link" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vendor_id\": \"quo\",
    \"contact_person_name\": \"xldssjybuakoqxufsnddra\",
    \"contact_person_phone_number\": \"qgzclryaavzgzuo\",
    \"contact_person_email\": \"johathan.welch@example.org\",
    \"contact_person_occupation\": \"wsxrzwtvmnrt\",
    \"contract_start_date\": \"2025-03-14T08:17:32\",
    \"contract_end_date\": \"2043-11-12\",
    \"classifications\": [
        \"quae\"
    ]
}"
POST
http://fleet.test
/api/v1/fleet/uservendors/link/update/{vendor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor_id
integer
required

The ID of the vendor.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/uservendors/link/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"contact_person_name\": \"duq\",
    \"contact_person_phone_number\": \"wiakzxzrxktzgzi\",
    \"contact_person_email\": \"aglae71@example.com\",
    \"contact_person_occupation\": \"tluw\",
    \"contract_start_date\": \"2025-03-14T08:17:32\",
    \"contract_end_date\": \"2043-06-03\",
    \"classifications\": [
        \"esse\"
    ]
}"
DELETE
http://fleet.test
/api/v1/fleet/uservendors/unlink/{vendor_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vendor_id
integer
required

The ID of the vendor.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/uservendors/unlink/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

18- Fuel History management


Get client fuel histories list

GET
http://fleet.test
/api/v1/fleet/fuelhistories/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/fuelhistories/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export fuel histories table

GET
http://fleet.test
/api/v1/fleet/fuelhistories/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/fuelhistories/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/fuelhistories/import

POST
http://fleet.test
/api/v1/fleet/fuelhistories/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/fuelhistories/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get fuel history details

GET
http://fleet.test
/api/v1/fleet/fuelhistories/show/{fuelhistory}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fuelhistory
string
required
Example:
tempora
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/fuelhistories/show/tempora" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a fuel history

POST
http://fleet.test
/api/v1/fleet/fuelhistories/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/fuelhistories/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=et"\
    --form "vendor_id=qui"\
    --form "entry_date=2025-03-14"\
    --form "entry_hour=08:17"\
    --form "odometer=55"\
    --form "liters=77"\
    --form "total_price=6"\
    --form "fuel_cost=71"\
    --form "is_partial_fuel_up=true"\
    --form "reset_usage=false"\
    --form "personal=true"\
    --form "acceptance_point=iwrm"\
    --form "postal_code=80121"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDADF.tmp" 

Update a fuel history

POST
http://fleet.test
/api/v1/fleet/fuelhistories/update/{fuelhistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

fuelhistory_id
integer
required

The ID of the fuelhistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/fuelhistories/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "entry_date=2025-03-14T08:17:32"\
    --form "entry_hour=08:17"\
    --form "odometer=78"\
    --form "liters=18"\
    --form "total_price=60"\
    --form "fuel_cost=89"\
    --form "is_partial_fuel_up=true"\
    --form "reset_usage=false"\
    --form "acceptance_point=yfwewwcicp"\
    --form "postal_code=60076"\
    --form "personal=true"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDAF0.tmp" 

Delete a fuel history

DELETE
http://fleet.test
/api/v1/fleet/fuelhistories/delete/{fuelhistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fuelhistory_id
integer
required

The ID of the fuelhistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/fuelhistories/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

19- Charging History management


Get client charging histories list

GET
http://fleet.test
/api/v1/fleet/charginghistories/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/charginghistories/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get charging history details

GET
http://fleet.test
/api/v1/fleet/charginghistories/show/{charginghistory}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

charginghistory
string
required
Example:
iusto
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/charginghistories/show/iusto" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a charging history

POST
http://fleet.test
/api/v1/fleet/charginghistories/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/charginghistories/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=id"\
    --form "vendor_id=et"\
    --form "chargin_started=2025-03-14T08:17:32"\
    --form "chargin_ended=2075-12-20"\
    --form "duration=45"\
    --form "total_energy=29"\
    --form "energy_price=29"\
    --form "energy_cost=71"\
    --form "personal=false"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDB1F.tmp" 

Update a charging history

POST
http://fleet.test
/api/v1/fleet/charginghistories/update/{charginghistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

charginghistory_id
integer
required

The ID of the charginghistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/charginghistories/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "chargin_started=2025-03-14T08:17:32"\
    --form "chargin_ended=2033-02-13"\
    --form "duration=84"\
    --form "total_energy=52"\
    --form "energy_price=69"\
    --form "energy_cost=9"\
    --form "personal=false"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDB30.tmp" 

Delete a charging history

DELETE
http://fleet.test
/api/v1/fleet/charginghistories/delete/{charginghistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

charginghistory_id
integer
required

The ID of the charginghistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/charginghistories/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

20- Sinistre management


Get client sinistres list

GET
http://fleet.test
/api/v1/fleet/sinistres/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/sinistres/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get sinistre details

GET
http://fleet.test
/api/v1/fleet/sinistres/show/{sinistre}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sinistre
string
required
Example:
consequuntur
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/sinistres/show/consequuntur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a sinistre

POST
http://fleet.test
/api/v1/fleet/sinistres/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/sinistres/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=autem"\
    --form "date_of_accident=2025-03-14T08:17:32"\
    --form "date_of_reparation=2082-02-15"\
    --form "address=ipsum"\
    --form "city=eaque"\
    --form "postal_code=tempore"\
    --form "responsability=F"\
    --form "status=W"\
    --form "commentaire=est"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDB50.tmp" 

Update a sinistre

POST
http://fleet.test
/api/v1/fleet/sinistres/update/{sinistre_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

sinistre_id
integer
required

The ID of the sinistre.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/sinistres/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=eius"\
    --form "date_of_accident=2025-03-14T08:17:32"\
    --form "date_of_reparation=2116-02-05"\
    --form "address=id"\
    --form "city=in"\
    --form "postal_code=quos"\
    --form "responsability=S"\
    --form "status=R"\
    --form "commentaire=qui"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDB51.tmp" 

Delete a sinistre

DELETE
http://fleet.test
/api/v1/fleet/sinistres/delete/{sinistre_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

sinistre_id
integer
required

The ID of the sinistre.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/sinistres/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

21- Address management


Get distances and prices

POST
http://fleet.test
/api/v1/fleet/address/distances/{vehicle_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicle_id
integer
required

The ID of the vehicle.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/address/distances/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"departure_lat\": -89,
    \"departure_lng\": -180,
    \"arrival_lat\": -89,
    \"arrival_lng\": -179,
    \"coming_lat\": -89,
    \"coming_lng\": -179
}"

22- Dashboard


Get dashboard data

GET
http://fleet.test
/api/v1/fleet/dashboard
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/dashboard" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get dashboard preferences

GET
http://fleet.test
/api/v1/fleet/dashboard-preferences
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/dashboard-preferences" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update dashboard preference

POST
http://fleet.test
/api/v1/fleet/dashboard-preferences/update
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/dashboard-preferences/update" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"cards_order\": [],
    \"cards_visibility\": []
}"

23- Custom Status Management


Get user custom statuses list

GET
http://fleet.test
/api/v1/fleet/customstatuses/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/customstatuses/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all custom statuses without pagination

GET
http://fleet.test
/api/v1/fleet/customstatuses/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/customstatuses/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get custom status details

GET
http://fleet.test
/api/v1/fleet/customstatuses/show/{customStatus_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customStatus_id
integer
required

The ID of the customStatus.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/customstatuses/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a custom status

POST
http://fleet.test
/api/v1/fleet/customstatuses/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/customstatuses/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"label\": \"atbldyhdhlqvghbitxufhhwi\",
    \"color\": \"xk\",
    \"description\": \"Beatae qui deserunt dignissimos occaecati ab.\"
}"

Update a custom status

POST
http://fleet.test
/api/v1/fleet/customstatuses/update/{customStatus_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customStatus_id
integer
required

The ID of the customStatus.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/customstatuses/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"label\": \"bshzojebeg\",
    \"color\": \"kz\",
    \"description\": \"Eaque pariatur et modi laboriosam quo iste.\"
}"

Delete a custom status

DELETE
http://fleet.test
/api/v1/fleet/customstatuses/delete/{customStatus_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customStatus_id
integer
required

The ID of the customStatus.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/customstatuses/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

24- Custom Motive Management


Get user custom motives list

GET
http://fleet.test
/api/v1/fleet/custommotives/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/custommotives/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all custom motives without pagination

GET
http://fleet.test
/api/v1/fleet/custommotives/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/custommotives/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get custom motive details

GET
http://fleet.test
/api/v1/fleet/custommotives/show/{customMotive_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customMotive_id
integer
required

The ID of the customMotive.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/custommotives/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a custom motive

POST
http://fleet.test
/api/v1/fleet/custommotives/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/custommotives/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"label\": \"prezfvowmqf\",
    \"color\": \"olyulqalrkqkxato\",
    \"description\": \"Reprehenderit qui enim doloremque voluptas incidunt et quo.\"
}"

Update a custom motive

POST
http://fleet.test
/api/v1/fleet/custommotives/update/{customMotive_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customMotive_id
integer
required

The ID of the customMotive.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/custommotives/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"label\": \"kowtn\",
    \"color\": \"wtt\",
    \"description\": \"Cupiditate aut ut ut rem aliquam animi.\"
}"

Delete a custom motive

DELETE
http://fleet.test
/api/v1/fleet/custommotives/delete/{customMotive_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

customMotive_id
integer
required

The ID of the customMotive.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/custommotives/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

25- Employee management


Get client employees list

GET
http://fleet.test
/api/v1/fleet/employees/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export employees table

GET
http://fleet.test
/api/v1/fleet/employees/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all employees without pagination

GET
http://fleet.test
/api/v1/fleet/employees/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get employee details

GET
http://fleet.test
/api/v1/fleet/employees/show/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get employee vehicle assignments

GET
http://fleet.test
/api/v1/fleet/employees/{user_id}/vehicleassignments
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/1/vehicleassignments" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get employee assigned issues

GET
http://fleet.test
/api/v1/fleet/employees/{user_id}/issues
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/1/issues" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get employee documents

GET
http://fleet.test
/api/v1/fleet/employees/{user_id}/documents
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/employees/1/documents" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete an employee

DELETE
http://fleet.test
/api/v1/fleet/employees/delete/{user_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user_id
integer
required

The ID of the user.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/employees/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

26- Infraction management


Store infraction designation

POST
http://fleet.test
/api/v1/fleet/infractions/{infraction_id}/designate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

infraction_id
integer
required

The ID of the infraction.

Example:
158

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/infractions/158/designate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fleet_name\": \"kqynlvoocvjdrogfxmsq\",
    \"fleet_siret\": \"32411514794737\",
    \"fleet_email\": \"kessler.jasper@example.org\",
    \"fleet_address\": \"lthfffpiu\",
    \"fleet_postal_code\": \"dqbqjllo\",
    \"fleet_city\": \"q\",
    \"fleet_country\": \"iegeiunkytucmiu\",
    \"driver_title\": \"yrdllqfo\",
    \"driver_civility\": \"Mrs\",
    \"driver_lastname\": \"wftfrxtshfcilvqdooutfwu\",
    \"driver_firstname\": \"wjirjnfdfcewzqibufe\",
    \"driver_birth_date\": \"2025-03-14T08:17:32\",
    \"driver_birth_place\": \"ainhwrhfaditklxp\",
    \"driver_email\": \"collins.ara@example.net\",
    \"driver_address\": \"baifgoaiomijptmybkqmjcq\",
    \"driver_postal_code\": \"zfdkcxjxru\",
    \"driver_city\": \"vqwcqequbtzjniytpy\",
    \"driver_country\": \"yxnvwmiu\",
    \"license_number\": \"nfacnvrp\",
    \"license_issue_date\": \"2025-03-14T08:17:32\",
    \"license_issue_place\": \"upeekecuq\"
}"

Get client infractions list

GET
http://fleet.test
/api/v1/fleet/infractions/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/infractions/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get infraction details

GET
http://fleet.test
/api/v1/fleet/infractions/show/{infraction_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

infraction_id
integer
required

The ID of the infraction.

Example:
158
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/infractions/show/158" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Check Fleet for infraction

GET
http://fleet.test
/api/v1/fleet/infractions/fleet/{infraction_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

infraction_id
integer
required

The ID of the infraction.

Example:
158
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/infractions/fleet/158" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete infraction

DELETE
http://fleet.test
/api/v1/fleet/infractions/delete/{infraction_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

infraction_id
integer
required

The ID of the infraction.

Example:
158
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/infractions/delete/158" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

27- UploadedDocument management


Get Uploaded documents list

GET
http://fleet.test
/api/v1/fleet/uploadeddocuments/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/uploadeddocuments/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get Uploaded Document details

GET
http://fleet.test
/api/v1/fleet/uploadeddocuments/show/{uploadedDocument}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

uploadedDocument
string
required
Example:
ea
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/uploadeddocuments/show/ea" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an uploaded document

POST
http://fleet.test
/api/v1/fleet/uploadeddocuments/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/uploadeddocuments/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "type=CT"\
    --form "vehicle_id=perspiciatis"\
    --form "provider_id=2"\
    --form "vendor_id=sed"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDCC9.tmp" 

Update an uploaded document

POST
http://fleet.test
/api/v1/fleet/uploadeddocuments/update/{uploadedDocument_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

uploadedDocument_id
integer
required

The ID of the uploadedDocument.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/uploadeddocuments/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "provider_id=3"\
    --form "vendor_id=debitis"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDCDA.tmp" 

Delete an uploaded document

DELETE
http://fleet.test
/api/v1/fleet/uploadeddocuments/delete/{uploadedDocument_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

uploadedDocument_id
integer
required

The ID of the uploadedDocument.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/uploadeddocuments/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/expenses/analyze

POST
http://fleet.test
/api/v1/fleet/expenses/analyze
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/expenses/analyze" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "invoice=@C:\Users\21355\AppData\Local\Temp\phpDD0A.tmp" 

28- Expense management


Get expense types list

GET
http://fleet.test
/api/v1/fleet/expenses/types
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/expenses/types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get client expenses list

GET
http://fleet.test
/api/v1/fleet/expenses/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/expenses/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export expenses table

GET
http://fleet.test
/api/v1/fleet/expenses/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/expenses/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get expense details

GET
http://fleet.test
/api/v1/fleet/expenses/show/{expense}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

expense
string
required
Example:
error
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/expenses/show/error" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store an expense

POST
http://fleet.test
/api/v1/fleet/expenses/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/expenses/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vendor_id=qui"\
    --form "expense_type_id=nihil"\
    --form "amount_ht=28"\
    --form "amount=32"\
    --form "recurrent_expense=true"\
    --form "date=2025-03-14T08:17:33"\
    --form "start_date=2025-03-14T08:17:33"\
    --form "end_date=2115-12-29"\
    --form "frequency=M"\
    --form "amount_type=1"\
    --form "notes=ygmxpzlxqyjobppme"\
    --form "select_all=voluptas"\
    --form "vehicles[]=maiores"\
    --form "invoice_number=commodi"\
    --form "invoice=@C:\Users\21355\AppData\Local\Temp\phpDD1B.tmp" \
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDD2C.tmp" 

Update an expense

POST
http://fleet.test
/api/v1/fleet/expenses/update/{expense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

expense_id
integer
required

The ID of the expense.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/expenses/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vendor_id=debitis"\
    --form "expense_type_id=aliquam"\
    --form "amount_ht=82"\
    --form "amount=66"\
    --form "invoice_number=aut"\
    --form "date=2025-03-14T08:17:33"\
    --form "end_date=2026-09-27"\
    --form "frequency=M"\
    --form "amount_type=1"\
    --form "notes=kkweaxkqkhkvjwcvmtzrdrna"\
    --form "select_all=tempore"\
    --form "vehicles[]=sit"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDD3D.tmp" 

Delete an expense

DELETE
http://fleet.test
/api/v1/fleet/expenses/delete/{expense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

expense_id
integer
required

The ID of the expense.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/expenses/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

29- Mobility Expense management


Get mobility expense types list

GET
http://fleet.test
/api/v1/fleet/mobilityexpenses/types
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/mobilityexpenses/types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get client mobility expenses list

GET
http://fleet.test
/api/v1/fleet/mobilityexpenses/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/mobilityexpenses/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export mobility expenses table

GET
http://fleet.test
/api/v1/fleet/mobilityexpenses/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/mobilityexpenses/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get mobility expense details

GET
http://fleet.test
/api/v1/fleet/mobilityexpenses/show/{mobilityExpense}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mobilityExpense
string
required
Example:
hic
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/mobilityexpenses/show/hic" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a mobility expense

POST
http://fleet.test
/api/v1/fleet/mobilityexpenses/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/mobilityexpenses/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "employee_id=sint"\
    --form "mobility_expense_type_id=facilis"\
    --form "amount_ht=69"\
    --form "amount=30"\
    --form "recurrent_expense=true"\
    --form "date=2025-03-14T08:17:33"\
    --form "start_date=2025-03-14T08:17:33"\
    --form "end_date=2025-10-12"\
    --form "frequency=Y"\
    --form "notes=y"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDD7C.tmp" 

Update a mobility expense

POST
http://fleet.test
/api/v1/fleet/mobilityexpenses/update/{mobilityExpense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

mobilityExpense_id
integer
required

The ID of the mobilityExpense.

Example:
3

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/mobilityexpenses/update/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "employee_id=impedit"\
    --form "mobility_expense_type_id=est"\
    --form "amount_ht=38"\
    --form "amount=14"\
    --form "date=2025-03-14T08:17:33"\
    --form "start_date=2025-03-14T08:17:33"\
    --form "end_date=2095-11-29"\
    --form "frequency=M"\
    --form "notes=lwhdxbqsrsjcqaunebibei"\
    --form "documents[]=@C:\Users\21355\AppData\Local\Temp\phpDD8D.tmp" 

Delete a mobility expense

DELETE
http://fleet.test
/api/v1/fleet/mobilityexpenses/delete/{mobilityExpense_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mobilityExpense_id
integer
required

The ID of the mobilityExpense.

Example:
3
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/mobilityexpenses/delete/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

30- Notifications management


Get user notifications list.

GET
http://fleet.test
/api/v1/fleet/notification/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/notification/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

31- Settings management


Get user profile

GET
http://fleet.test
/api/v1/fleet/settings/userprofile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/userprofile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update user profile

POST
http://fleet.test
/api/v1/fleet/settings/userprofile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/userprofile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "first_name=azkirdbd"\
    --form "last_name=fcdkmhuprk"\
    --form "email=sydney.considine@example.com"\
    --form "phone=mnytrjyslgjapjueln"\
    --form "profile_picture=@C:\Users\21355\AppData\Local\Temp\phpDDBD.tmp" 

Get company profile

GET
http://fleet.test
/api/v1/fleet/settings/companyprofile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companyprofile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update company profile

POST
http://fleet.test
/api/v1/fleet/settings/companyprofile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companyprofile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ullnchaqiexd"\
    --form "siret=mnuiweuhsyigx"\
    --form "address=oycbywcxpkscxanqleqacjbln"\
    --form "logo=@C:\Users\21355\AppData\Local\Temp\phpDDCD.tmp" 

Get user language

GET
http://fleet.test
/api/v1/fleet/settings/userlanguage
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/userlanguage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update user language

POST
http://fleet.test
/api/v1/fleet/settings/userlanguage
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/userlanguage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"preferred_language\": \"FR\"
}"

Get company billing information

GET
http://fleet.test
/api/v1/fleet/settings/companybilling
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companybilling" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update company billing information

POST
http://fleet.test
/api/v1/fleet/settings/companybilling
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companybilling" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"billing_address\": \"vcrirbvrdsvvpf\"
}"

Get user 2fa

GET
http://fleet.test
/api/v1/fleet/settings/user2fa
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/user2fa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update user language

POST
http://fleet.test
/api/v1/fleet/settings/user2fa
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/user2fa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"enable_2fa\": false
}"

Send reset password

POST
http://fleet.test
/api/v1/fleet/settings/send-otp-reset-password
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/send-otp-reset-password" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Reset password

POST
http://fleet.test
/api/v1/fleet/settings/reset-password
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/reset-password" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"old_password\": \"nmbrmuayvgzwvqpbfvc\",
    \"password\": \"=!wZe]F9gV,;XWNjo3\"
}"

Verify OTP

POST
http://fleet.test
/api/v1/fleet/settings/verify-otp
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/verify-otp" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"uuid\": \"0af4841f-4428-3056-be72-5fed93ffffda\",
    \"otp\": \"otrgck\"
}"

Get company subscription & invoices

GET
http://fleet.test
/api/v1/fleet/settings/companysubinvoices
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companysubinvoices" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Update company subscription

POST
http://fleet.test
/api/v1/fleet/settings/companysubinvoices
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companysubinvoices" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subscription_plan_id\": \"nulla\"
}"

GET api/v1/fleet/settings/companyprivatemode

GET
http://fleet.test
/api/v1/fleet/settings/companyprivatemode
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companyprivatemode" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/settings/companyprivatemode

POST
http://fleet.test
/api/v1/fleet/settings/companyprivatemode
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companyprivatemode" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"private_mode\": true,
    \"schedules\": [
        {
            \"day_of_week\": 0,
            \"is_active\": true,
            \"time_ranges\": [
                {
                    \"start_time\": \"08:17\",
                    \"end_time\": \"2103-11-12\"
                }
            ]
        }
    ]
}"

Switch add vehicles in antai

PUT
http://fleet.test
/api/v1/fleet/settings/switchantai
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request PUT \
    "http://fleet.test/api/v1/fleet/settings/switchantai" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get add vehicles in antai

GET
http://fleet.test
/api/v1/fleet/settings/antai
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/antai" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/settings/companycreditcard/show/{creditCardId}

GET
http://fleet.test
/api/v1/fleet/settings/companycreditcard/show/{creditCardId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

creditCardId
string
required
Example:
blanditiis
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companycreditcard/show/blanditiis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/settings/companycreditcard/hide/{creditCardId}

GET
http://fleet.test
/api/v1/fleet/settings/companycreditcard/hide/{creditCardId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

creditCardId
string
required
Example:
unde
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/settings/companycreditcard/hide/unde" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/settings/companycreditcard/update/{creditCardId}

POST
http://fleet.test
/api/v1/fleet/settings/companycreditcard/update/{creditCardId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

creditCardId
string
required
Example:
sunt

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companycreditcard/update/sunt" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name_on_card\": \"aygo\",
    \"card_number\": \"9352326521340526\",
    \"cvv\": \"6214\",
    \"exp_date\": \"2072-04-09\"
}"

DELETE api/v1/fleet/settings/companycreditcard/delete/{creditCardId}

DELETE
http://fleet.test
/api/v1/fleet/settings/companycreditcard/delete/{creditCardId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

creditCardId
string
required
Example:
non
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/settings/companycreditcard/delete/non" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

POST api/v1/fleet/settings/companycreditcard/create

POST
http://fleet.test
/api/v1/fleet/settings/companycreditcard/create
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/settings/companycreditcard/create" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name_on_card\": \"qzzpehlrnturn\",
    \"card_number\": \"7395757692891378\",
    \"cvv\": \"563\",
    \"exp_date\": \"2049-02-17\"
}"

32- Document management


Delete a document

DELETE
http://fleet.test
/api/v1/fleet/documents/delete/{document_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

document_id
integer
required

The ID of the document.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/documents/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

GET api/v1/fleet/documents/invoices/vehicle

GET
http://fleet.test
/api/v1/fleet/documents/invoices/vehicle
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/documents/invoices/vehicle" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/documents/invoices/mobility

GET
http://fleet.test
/api/v1/fleet/documents/invoices/mobility
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/documents/invoices/mobility" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

33- TechnicalControl management


Get Technical controls list

GET
http://fleet.test
/api/v1/fleet/technicalcontrols/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/technicalcontrols/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get Technical control details

GET
http://fleet.test
/api/v1/fleet/technicalcontrols/show/{technicalControl}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

technicalControl
string
required
Example:
voluptas
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/technicalcontrols/show/voluptas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a technical control

POST
http://fleet.test
/api/v1/fleet/technicalcontrols/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/technicalcontrols/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "vehicle_id=saepe"\
    --form "provider_id=7"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDEA9.tmp" 

Update a technical control

POST
http://fleet.test
/api/v1/fleet/technicalcontrols/update/{technicalControl_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

technicalControl_id
integer
required

The ID of the technicalControl.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/technicalcontrols/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "provider_id=6"\
    --form "document=@C:\Users\21355\AppData\Local\Temp\phpDEAA.tmp" 

Delete a technical control

DELETE
http://fleet.test
/api/v1/fleet/technicalcontrols/delete/{technicalControl_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

technicalControl_id
integer
required

The ID of the technicalControl.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/technicalcontrols/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

34- Sensor Alert management


Get sensor alerts list

GET
http://fleet.test
/api/v1/fleet/sensoralerts/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/sensoralerts/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

35- Device management


Get all company devices without pagination

GET
http://fleet.test
/api/v1/fleet/devices/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/devices/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

36- Vehicle Reminder management


Get client vehicle reminders list

GET
http://fleet.test
/api/v1/fleet/vehiclereminders/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehiclereminders/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle reminder details

GET
http://fleet.test
/api/v1/fleet/vehiclereminders/show/{vehiclereminder}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehiclereminder
string
required
Example:
sapiente
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehiclereminders/show/sapiente" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a vehicle reminder

POST
http://fleet.test
/api/v1/fleet/vehiclereminders/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehiclereminders/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"esse\",
    \"type\": \"I\",
    \"due_date\": \"2064-08-20\",
    \"remind_before\": 12,
    \"remind_before_unit\": \"Y\",
    \"enable_notifications\": false,
    \"comment\": \"quis\"
}"

Update a vehicle reminder

POST
http://fleet.test
/api/v1/fleet/vehiclereminders/update/{vehiclereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehiclereminder_id
integer
required

The ID of the vehiclereminder.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehiclereminders/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"ad\",
    \"type\": \"T\",
    \"due_date\": \"2080-11-28\",
    \"remind_before\": 62,
    \"remind_before_unit\": \"M\",
    \"enable_notifications\": false,
    \"comment\": \"et\"
}"

Delete a vehicle reminder

DELETE
http://fleet.test
/api/v1/fleet/vehiclereminders/delete/{vehiclereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehiclereminder_id
integer
required

The ID of the vehiclereminder.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehiclereminders/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Close a vehicle reminder

DELETE
http://fleet.test
/api/v1/fleet/vehiclereminders/close/{vehiclereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehiclereminder_id
integer
required

The ID of the vehiclereminder.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehiclereminders/close/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

37- Meter History management


Get client meter histories list

GET
http://fleet.test
/api/v1/fleet/meterhistories/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/meterhistories/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export meter histories table

GET
http://fleet.test
/api/v1/fleet/meterhistories/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/meterhistories/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get meter history details

GET
http://fleet.test
/api/v1/fleet/meterhistories/show/{meterhistory}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterhistory
string
required
Example:
ut
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/meterhistories/show/ut" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a meter history

POST
http://fleet.test
/api/v1/fleet/meterhistories/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/meterhistories/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"voluptatem\",
    \"meter\": 3,
    \"meter_date\": \"2025-03-14T08:17:33\"
}"

Update a meter history

POST
http://fleet.test
/api/v1/fleet/meterhistories/update/{meterhistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterhistory_id
integer
required

The ID of the meterhistory.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/meterhistories/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"meter\": 34
}"

Delete a meter history

DELETE
http://fleet.test
/api/v1/fleet/meterhistories/delete/{meterhistory_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

meterhistory_id
integer
required

The ID of the meterhistory.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/meterhistories/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

38- Vehicle Assignment management


GET api/v1/fleet/vehicleassignments/table/list

GET
http://fleet.test
/api/v1/fleet/vehicleassignments/table/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicleassignments/table/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get client vehicle assignments list

GET
http://fleet.test
/api/v1/fleet/vehicleassignments/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicleassignments/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get vehicle assignment details

GET
http://fleet.test
/api/v1/fleet/vehicleassignments/show/{vehicleassignment}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicleassignment
string
required
Example:
quia
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/vehicleassignments/show/quia" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a vehicle assignment

POST
http://fleet.test
/api/v1/fleet/vehicleassignments/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicleassignments/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"quo\",
    \"driver_id\": \"nulla\",
    \"start_date\": \"2025-03-14\",
    \"start_time\": \"08:17\",
    \"end_date\": \"2025-03-14\",
    \"end_time\": \"08:17\",
    \"odometer\": 73
}"

Unassign a vehicle

POST
http://fleet.test
/api/v1/fleet/vehicleassignments/unassign/{vehicleassignment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicleassignment_id
integer
required

The ID of the vehicleassignment.

Example:
1
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicleassignments/unassign/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Update a vehicle assignment

POST
http://fleet.test
/api/v1/fleet/vehicleassignments/update/{vehicleassignment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicleassignment_id
integer
required

The ID of the vehicleassignment.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/vehicleassignments/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"sit\",
    \"driver_id\": \"et\",
    \"start_date\": \"2025-03-14\",
    \"start_time\": \"08:17\",
    \"end_date\": \"2025-03-14\",
    \"end_time\": \"08:17\",
    \"odometer\": 83
}"

Delete a vehicle assignment

DELETE
http://fleet.test
/api/v1/fleet/vehicleassignments/delete/{vehicleassignment_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

vehicleassignment_id
integer
required

The ID of the vehicleassignment.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/vehicleassignments/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

39- Inspections management


Display a listing of the inspections.

GET
http://fleet.test
/api/v1/fleet/inspections/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspections/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the inspection details.

GET
http://fleet.test
/api/v1/fleet/inspections/show/{inspection_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_id
integer
required

The ID of the inspection.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspections/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Remove the specified inspection.

DELETE
http://fleet.test
/api/v1/fleet/inspections/delete/{inspection_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_id
integer
required

The ID of the inspection.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/inspections/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

40- Inspection forms management


Display a listing of the inspection forms.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display all inspection forms with their items

GET
http://fleet.test
/api/v1/fleet/inspectionforms/items/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/items/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all user vehicles list without already linked to form

GET
http://fleet.test
/api/v1/fleet/inspectionforms/vehicles/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
integer
required
Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/vehicles/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display all the inspection forms.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the items of the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/show/items/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
excepturi
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/show/items/excepturi" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the items of the specified inspection form. (as a select)

GET
http://fleet.test
/api/v1/fleet/inspectionforms/select/items/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
sint
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/select/items/sint" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the vehicles of the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/show/vehicles/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
integer
required
Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/show/vehicles/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all vehicles of the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/get/vehicles/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
integer
required
Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/get/vehicles/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Add a vehicle to the inspection form.

POST
http://fleet.test
/api/v1/fleet/inspectionforms/add/vehicle/{inspection_form_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form_id
integer
required

The ID of the inspection form.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inspectionforms/add/vehicle/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \

Display the submissions of the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/show/submissions/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
dolorem
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/show/submissions/dolorem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the conditions of the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/show/conditions/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
quam
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/show/conditions/quam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Display the specified inspection form.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/show/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
debitis
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/show/debitis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a newly created inspection form.

POST
http://fleet.test
/api/v1/fleet/inspectionforms/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inspectionforms/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"pjofgr\",
    \"description\": \"Illum sequi voluptas illo esse iure voluptatem.\",
    \"start_date\": \"2025-03-14\",
    \"time_interval\": 30,
    \"time_interval_unit\": \"Y\",
    \"items\": [
        {
            \"type\": \"photo\",
            \"is_required\": true,
            \"short_description\": \"voluptatibus\",
            \"item_title\": \"excepturi\",
            \"order\": 15,
            \"date_type\": \"DO\",
            \"pass_label\": \"wvsaetfozyrl\",
            \"fail_label\": \"kuybgldhtjxcvhfeybgnnkrgk\",
            \"minimum\": 2,
            \"maximum\": 118492377.917,
            \"require_secondary_meter\": false,
            \"require_photo_verification\": true,
            \"require_comment_for_pass\": true,
            \"require_comment_for_fail\": false,
            \"require_photo_for_pass\": false,
            \"require_photo_for_fail\": true,
            \"choices\": [
                {
                    \"choice_text\": \"quia\",
                    \"fail_item_if_chosen\": false
                }
            ]
        }
    ]
}"

Store a newly created condition in storage.

POST
http://fleet.test
/api/v1/fleet/inspectionforms/conditions/{inspection_form}/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
vel

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inspectionforms/conditions/vel/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"form_submitted\",
    \"select_all\": false,
    \"action\": {
        \"action_type\": \"create_in_house_service_order\",
        \"details\": {
            \"priority\": \"Low\",
            \"due_after\": 18,
            \"due_unit\": \"M\",
            \"schedule_date\": \"2025-03-14T08:17:33\"
        }
    }
}"

Display the specified condition.

GET
http://fleet.test
/api/v1/fleet/inspectionforms/conditions/{inspection_form}/show/{condition}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
sint
condition
string
required
Example:
dicta
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/inspectionforms/conditions/sint/show/dicta" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Remove the specified condition from storage.

DELETE
http://fleet.test
/api/v1/fleet/inspectionforms/conditions/{inspection_form}/delete/{condition}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
beatae
condition
string
required
Example:
est
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/inspectionforms/conditions/beatae/delete/est" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Update the specified condition in storage.

POST
http://fleet.test
/api/v1/fleet/inspectionforms/conditions/{inspection_form}/update/{condition}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
string
required
Example:
odio
condition
string
required
Example:
aliquid

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inspectionforms/conditions/odio/update/aliquid" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"form_submitted\",
    \"select_all\": true,
    \"action\": {
        \"action_type\": \"change_vehicle_status\",
        \"details\": {
            \"priority\": \"Critical\",
            \"due_after\": 19,
            \"due_unit\": \"M\",
            \"schedule_date\": \"2025-03-14T08:17:33\"
        }
    }
}"

Update the specified inspection form.

POST
http://fleet.test
/api/v1/fleet/inspectionforms/update/{user}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

user
string
required
Example:
maiores

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/inspectionforms/update/maiores" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"tmtafthlecjvswfmuqtaa\",
    \"description\": \"Et est illum corporis cumque officiis.\",
    \"start_date\": \"2025-03-14\",
    \"time_interval\": 49,
    \"time_interval_unit\": \"W\",
    \"items\": [
        {
            \"type\": \"number\",
            \"is_required\": true,
            \"short_description\": \"libero\",
            \"item_title\": \"maiores\",
            \"order\": 20,
            \"date_type\": \"DT\",
            \"pass_label\": \"amrxjhhthtqrvnww\",
            \"fail_label\": \"rxojhvln\",
            \"minimum\": 6,
            \"maximum\": 71.1255536,
            \"require_secondary_meter\": true,
            \"require_photo_verification\": false,
            \"require_comment_for_pass\": false,
            \"require_comment_for_fail\": false,
            \"require_photo_for_pass\": false,
            \"require_photo_for_fail\": true,
            \"choices\": [
                {
                    \"choice_text\": \"minus\",
                    \"fail_item_if_chosen\": true
                }
            ]
        }
    ]
}"

Remove the specified inspection form.

DELETE
http://fleet.test
/api/v1/fleet/inspectionforms/delete/{inspection_form}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

inspection_form
integer
required
Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/inspectionforms/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

40- IA chat


Chat with IA

POST
http://fleet.test
/api/v1/fleet/ia/chat
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/ia/chat" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"question\": \"nihil\"
}"

Get Static Chatbot Responses

POST
http://fleet.test
/api/v1/fleet/chatbot/question
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/chatbot/question" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Get Static Recommendations for a Vehicle

GET
http://fleet.test
/api/v1/fleet/chatbot/recommendations
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/chatbot/recommendations" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

41- User garage management


Get user garages list

GET
http://fleet.test
/api/v1/fleet/usergarages/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/usergarages/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all user garages list

GET
http://fleet.test
/api/v1/fleet/usergarages/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/usergarages/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get all user garages list

GET
http://fleet.test
/api/v1/fleet/usergarages/plainlist/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/usergarages/plainlist/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

show user garage

GET
http://fleet.test
/api/v1/fleet/usergarages/show/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
iure
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/usergarages/show/iure" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get garage calendar

GET
http://fleet.test
/api/v1/fleet/usergarages/calendar/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
itaque
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/usergarages/calendar/itaque" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store garage

POST
http://fleet.test
/api/v1/fleet/usergarages/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/usergarages/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"bifugih\",
    \"email\": \"lucie.hoppe@example.net\",
    \"phone_number\": \"fpmnembalvfqburec\",
    \"address\": \"odit\",
    \"siret_number\": \"71944959499084\",
    \"rcs_number\": \"qui\",
    \"contact_person_name\": \"ppdwwzqiaffnfgxrhdsnyj\",
    \"contact_person_occupation\": \"enarmnbpmybjeyvimgsh\",
    \"contact_person_phone_number\": \"pipmmzavilnemamoyjua\",
    \"contact_person_email\": \"deshaun.bernhard@example.com\"
}"
POST
http://fleet.test
/api/v1/fleet/usergarages/link
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/usergarages/link" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"provider_id\": \"quidem\",
    \"contact_person_name\": \"hvimbqfrdfyobmwmbkxkfo\",
    \"contact_person_occupation\": \"gkuoo\",
    \"contact_person_phone_number\": \"nkbhqivxgenordggz\",
    \"contact_person_email\": \"terrell84@example.org\"
}"
POST
http://fleet.test
/api/v1/fleet/usergarages/link/update/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
alias

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/usergarages/link/update/alias" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"contact_person_name\": \"s\",
    \"contact_person_occupation\": \"imzxpwbhnlaysxkjgkx\",
    \"contact_person_phone_number\": \"jwwqzjolycpgtxadusfyfkf\",
    \"contact_person_email\": \"marcus08@example.net\"
}"
DELETE
http://fleet.test
/api/v1/fleet/usergarages/unlink/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
explicabo
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/usergarages/unlink/explicabo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Update garage

POST
http://fleet.test
/api/v1/fleet/usergarages/update/{garage}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

garage
string
required
Example:
accusamus

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/usergarages/update/accusamus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"fkm\",
    \"email\": \"mariana.cummerata@example.com\",
    \"phone_number\": \"jnpgiaeqakfxgyrqmmpj\",
    \"address\": \"deleniti\",
    \"siret_number\": \"98417146539393\",
    \"rcs_number\": \"dolorum\",
    \"contact_person_name\": \"dt\",
    \"contact_person_occupation\": \"xulvqb\",
    \"contact_person_phone_number\": \"xmjezhwdvufnwqgs\",
    \"contact_person_email\": \"mazie31@example.org\"
}"

Get all garages list

GET
http://fleet.test
/api/v1/fleet/garages/list/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/garages/list/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

42- Service Reminder management


Get client service reminders list

GET
http://fleet.test
/api/v1/fleet/servicereminders/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/servicereminders/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Export service reminders table

GET
http://fleet.test
/api/v1/fleet/servicereminders/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/servicereminders/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get service reminder details

GET
http://fleet.test
/api/v1/fleet/servicereminders/show/{servicereminder}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

servicereminder
string
required
Example:
repellendus
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/servicereminders/show/repellendus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Store a service reminder

POST
http://fleet.test
/api/v1/fleet/servicereminders/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/servicereminders/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"at\",
    \"service_id\": \"est\",
    \"time_interval\": 72,
    \"time_interval_unit\": \"Y\",
    \"remind_before\": 83,
    \"remind_before_unit\": \"Y\",
    \"meter_interval\": 18,
    \"meter_remind_before\": 84,
    \"start_date\": \"2025-03-14T08:17:34\",
    \"enable_notifications\": true
}"

Update a service reminder

POST
http://fleet.test
/api/v1/fleet/servicereminders/update/{servicereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

servicereminder_id
integer
required

The ID of the servicereminder.

Example:
1

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/servicereminders/update/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"ut\",
    \"service_id\": \"est\",
    \"time_interval\": 53,
    \"time_interval_unit\": \"W\",
    \"remind_before\": 23,
    \"remind_before_unit\": \"M\",
    \"meter_interval\": 8,
    \"meter_remind_before\": 30,
    \"start_date\": \"2025-03-14T08:17:34\",
    \"enable_notifications\": true
}"

Delete a service reminder

DELETE
http://fleet.test
/api/v1/fleet/servicereminders/delete/{servicereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

servicereminder_id
integer
required

The ID of the servicereminder.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/servicereminders/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Close a service reminder

DELETE
http://fleet.test
/api/v1/fleet/servicereminders/close/{servicereminder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

servicereminder_id
integer
required

The ID of the servicereminder.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/servicereminders/close/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

43- Subscriptions management


Get all subscriptions

POST
http://fleet.test
/api/v1/fleet/subscriptions/create
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/subscriptions/create" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_method_id\": \"ea\",
    \"subscription_plan_id\": \"quibusdam\"
}"

44- Pricing card management


Get all pricing cards

GET
http://fleet.test
/api/v1/fleet/pricingcards/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/pricingcards/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

45- Charging status management


Get charging status data

GET
http://fleet.test
/api/v1/fleet/chargingstatus/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/chargingstatus/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

46- Image Upload management


Upload an image to the server

POST
http://fleet.test
/api/v1/fleet/images/upload
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/images/upload" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\21355\AppData\Local\Temp\phpE16A.tmp" 

47- EV suitability assessment management


Get charging status data

POST
http://fleet.test
/api/v1/fleet/evsuitassessement/analyze
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/evsuitassessement/analyze" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"vehicle_id\": \"in\"
}"

POST api/v1/fleet/evsuitassessement/store

POST
http://fleet.test
/api/v1/fleet/evsuitassessement/store
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/evsuitassessement/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"charging_location_type\": \"skip\",
    \"vehicle_id\": \"maiores\",
    \"procurement_method\": \"purchase\",
    \"retention_period\": \"7_years\",
    \"fuel_price\": 34,
    \"electricity_price\": 58,
    \"analysis_period\": \"past_year\",
    \"mileage\": 35,
    \"ev_vehicles\": [
        {
            \"mark\": \"voluptas\",
            \"model\": \"aut\",
            \"version\": \"magni\",
            \"year\": 22,
            \"co2_emissions\": 42,
            \"range\": 87,
            \"vehicle_type\": \"excepturi\",
            \"vehicle_size\": \"Small\",
            \"vehicle_powertrain\": \"HEV\",
            \"description\": \"Numquam non molestiae natus qui ut in assumenda.\"
        }
    ]
}"

Get EV suitability assessments list

GET
http://fleet.test
/api/v1/fleet/evsuitassessement/list
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/evsuitassessement/list" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Get EV suitability details

GET
http://fleet.test
/api/v1/fleet/evsuitassessement/show/{fleetElectrificationReport_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fleetElectrificationReport_id
integer
required

The ID of the fleetElectrificationReport.

Example:
1
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/evsuitassessement/show/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

Delete EV suitability report

DELETE
http://fleet.test
/api/v1/fleet/evsuitassessement/delete/{fleetElectrificationReport_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

fleetElectrificationReport_id
integer
required

The ID of the fleetElectrificationReport.

Example:
1
Example request:
curl --request DELETE \
    "http://fleet.test/api/v1/fleet/evsuitassessement/delete/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

48- Sidebar management


Get user sidebar

GET
http://fleet.test
/api/v1/fleet/sidebar/items
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/sidebar/items" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/sidebar/hideable-items

GET
http://fleet.test
/api/v1/fleet/sidebar/hideable-items
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/sidebar/hideable-items" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/sidebar/hideable-items

POST
http://fleet.test
/api/v1/fleet/sidebar/hideable-items
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/sidebar/hideable-items" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"items\": [
        {
            \"id\": \"non\",
            \"is_hidden\": false
        }
    ]
}"

49- Insee Siren Siret Information


GET
http://fleet.test
/api/v1/fleet/insee/search
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/insee/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:

50- Reports


GET api/v1/fleet/reports/tco

GET
http://fleet.test
/api/v1/fleet/reports/tco
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/tco" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/emissions

GET
http://fleet.test
/api/v1/fleet/reports/emissions
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/emissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/emissionssum

GET
http://fleet.test
/api/v1/fleet/reports/emissionssum
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/emissionssum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/sitechanges

GET
http://fleet.test
/api/v1/fleet/reports/sitechanges
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/sitechanges" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/statuschanges

GET
http://fleet.test
/api/v1/fleet/reports/statuschanges
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/statuschanges" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicle-status

GET
http://fleet.test
/api/v1/fleet/reports/vehicle-status
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicle-status" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/expensebyvehicle

GET
http://fleet.test
/api/v1/fleet/reports/expensebyvehicle
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/expensebyvehicle" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/costkmtrend

GET
http://fleet.test
/api/v1/fleet/reports/costkmtrend
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/costkmtrend" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/costcomparisonbyyear

GET
http://fleet.test
/api/v1/fleet/reports/costcomparisonbyyear
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/costcomparisonbyyear" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicles

GET
http://fleet.test
/api/v1/fleet/reports/vehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehiclereminders

GET
http://fleet.test
/api/v1/fleet/reports/vehiclereminders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehiclereminders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/inspections

GET
http://fleet.test
/api/v1/fleet/reports/inspections
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/inspections" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/submissions

GET
http://fleet.test
/api/v1/fleet/reports/submissions
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/submissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/submissionschedules

GET
http://fleet.test
/api/v1/fleet/reports/submissionschedules
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/submissionschedules" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/submissionfailures

GET
http://fleet.test
/api/v1/fleet/reports/submissionfailures
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/submissionfailures" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/issues

GET
http://fleet.test
/api/v1/fleet/reports/issues
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/issues" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/colabinspections

GET
http://fleet.test
/api/v1/fleet/reports/colabinspections
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/colabinspections" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/servicereminders

GET
http://fleet.test
/api/v1/fleet/reports/servicereminders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/servicereminders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/outofservicevehicles

GET
http://fleet.test
/api/v1/fleet/reports/outofservicevehicles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/outofservicevehicles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/fuelsummary

GET
http://fleet.test
/api/v1/fleet/reports/fuelsummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/fuelsummary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/fuelsbyvehicle

GET
http://fleet.test
/api/v1/fleet/reports/fuelsbyvehicle
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/fuelsbyvehicle" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/fuelbyvendor

GET
http://fleet.test
/api/v1/fleet/reports/fuelbyvendor
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/fuelbyvendor" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/employees

GET
http://fleet.test
/api/v1/fleet/reports/employees
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/employees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/conveyingsbyvehicle

GET
http://fleet.test
/api/v1/fleet/reports/conveyingsbyvehicle
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/conveyingsbyvehicle" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicleassignmentssum

GET
http://fleet.test
/api/v1/fleet/reports/vehicleassignmentssum
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicleassignmentssum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicleassignments

GET
http://fleet.test
/api/v1/fleet/reports/vehicleassignments
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicleassignments" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/serviceremindercompliance

GET
http://fleet.test
/api/v1/fleet/reports/serviceremindercompliance
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/serviceremindercompliance" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/expensesummary

GET
http://fleet.test
/api/v1/fleet/reports/expensesummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/expensesummary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/mobilityexpenses

GET
http://fleet.test
/api/v1/fleet/reports/mobilityexpenses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/mobilityexpenses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/alerts

GET
http://fleet.test
/api/v1/fleet/reports/alerts
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/alerts" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/appointmentsummary

GET
http://fleet.test
/api/v1/fleet/reports/appointmentsummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/appointmentsummary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/partnersummary

GET
http://fleet.test
/api/v1/fleet/reports/partnersummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/partnersummary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/inhousesummary

GET
http://fleet.test
/api/v1/fleet/reports/inhousesummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/inhousesummary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicledetails

GET
http://fleet.test
/api/v1/fleet/reports/vehicledetails
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicledetails" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/operatingcosts

GET
http://fleet.test
/api/v1/fleet/reports/operatingcosts
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/operatingcosts" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicleexits

GET
http://fleet.test
/api/v1/fleet/reports/vehicleexits
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicleexits" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicleentries

GET
http://fleet.test
/api/v1/fleet/reports/vehicleentries
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicleentries" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehiclebenefits

GET
http://fleet.test
/api/v1/fleet/reports/vehiclebenefits
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehiclebenefits" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehicleco2tax

GET
http://fleet.test
/api/v1/fleet/reports/vehicleco2tax
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehicleco2tax" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/vehiclepollutiontax

GET
http://fleet.test
/api/v1/fleet/reports/vehiclepollutiontax
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/vehiclepollutiontax" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/fuelvat

GET
http://fleet.test
/api/v1/fleet/reports/fuelvat
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/fuelvat" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/malusecologique

GET
http://fleet.test
/api/v1/fleet/reports/malusecologique
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/malusecologique" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/regionaltaxes

GET
http://fleet.test
/api/v1/fleet/reports/regionaltaxes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/regionaltaxes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/bonusecologique

GET
http://fleet.test
/api/v1/fleet/reports/bonusecologique
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/bonusecologique" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/amortissement

GET
http://fleet.test
/api/v1/fleet/reports/amortissement
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/amortissement" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

GET api/v1/fleet/reports/environmentaltax

GET
http://fleet.test
/api/v1/fleet/reports/environmentaltax
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/reports/environmentaltax" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

51- Import management


POST api/v1/fleet/imports/analyze

POST
http://fleet.test
/api/v1/fleet/imports/analyze
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/imports/analyze" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "table=dggmbsbbzoodpibntqgtcpxjfcjmhttfectbqaonsxwnrmkhapiomhmzsvxfvikifiqfxnm"\
    --form "file=@C:\Users\21355\AppData\Local\Temp\phpE489.tmp" 

POST api/v1/fleet/imports/check

POST
http://fleet.test
/api/v1/fleet/imports/check
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/imports/check" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "mappings[][file_column]=voluptas"\
    --form "mappings[][selected_db_column]=modi"\
    --form "mappings[][status]=id"\
    --form "table=fnttbwhlkyqqsqzuupbrukabneqyftvejurcsptgrfluuzdrplhhged"\
    --form "file=@C:\Users\21355\AppData\Local\Temp\phpE49B.tmp" 

POST api/v1/fleet/imports/import

POST
http://fleet.test
/api/v1/fleet/imports/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/imports/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "table=hlibjzouqpwyuiusvyzindmmgjvnttyedolydlypgpczbchgdmolxkhnpqiofmedfiiaaghzhhiccjumaqx"\
    --form "mappings[][file_column]=eos"\
    --form "mappings[][selected_db_column]=enim"\
    --form "mappings[][status]=quas"\
    --form "file=@C:\Users\21355\AppData\Local\Temp\phpE49D.tmp" 

GET api/v1/fleet/imports/columns/{table}

GET
http://fleet.test
/api/v1/fleet/imports/columns/{table}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

table
string
required
Example:
vero
Example request:
curl --request GET \
    --get "http://fleet.test/api/v1/fleet/imports/columns/vero" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    vary
                                                            : Origin
                                                         
{
    "error": "Unauthenticated."
}

POST api/v1/fleet/cbm/import

POST
http://fleet.test
/api/v1/fleet/cbm/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/cbm/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "csv_file=@C:\Users\21355\AppData\Local\Temp\phpE4CE.tmp" 

POST api/v1/fleet/grh/import

POST
http://fleet.test
/api/v1/fleet/grh/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/grh/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "xlsx_file=@C:\Users\21355\AppData\Local\Temp\phpE4DF.tmp" 

POST api/v1/fleet/safetyfer/import

POST
http://fleet.test
/api/v1/fleet/safetyfer/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "http://fleet.test/api/v1/fleet/safetyfer/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "csv_file=@C:\Users\21355\AppData\Local\Temp\phpE4E1.tmp"