Update
Integrations
Vehicles
Fleet
- Settings
- ServiceTypes
- Regions
- GETList
- GETGet
- POSTCreate
- PUTUpdate
Transponders
Tolls
Integrations
- Webhook
- Fleet Active Integrations
- Logs
- GETList
Update
PUT
/
v2
/
integrations
/
active
/
{ID}
curl --request PUT \
--url https://api.app.fleetit.com/v2/integrations/active/{ID}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"integration": 1,
"enabled": true,
"data": {}
}'
{
"id": 87,
"integration": 1,
"enabled": true,
"data": {
"auth": {
"api_key": "dummy_api_key",
"account_token": "dummy_account_token"
},
"urls": {},
"config": {
"vehicle": "active",
"entryTypes": {
"toll": 706773,
"parking": 706774
},
"vehicleStatusIds": [
194757,
194759
],
"fetch_vehicles_on_save": true
},
"documentation": "https://developer.example.com/reference/getting-started"
},
"documentation": "https://help.example.com/s/article/FleetIT-Integration"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Path Parameters
curl --request PUT \
--url https://api.app.fleetit.com/v2/integrations/active/{ID}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"integration": 1,
"enabled": true,
"data": {}
}'
{
"id": 87,
"integration": 1,
"enabled": true,
"data": {
"auth": {
"api_key": "dummy_api_key",
"account_token": "dummy_account_token"
},
"urls": {},
"config": {
"vehicle": "active",
"entryTypes": {
"toll": 706773,
"parking": 706774
},
"vehicleStatusIds": [
194757,
194759
],
"fetch_vehicles_on_save": true
},
"documentation": "https://developer.example.com/reference/getting-started"
},
"documentation": "https://help.example.com/s/article/FleetIT-Integration"
}