GET
/
v2
/
integrations
/
logs
curl --request GET \
  --url https://api.app.fleetit.com/v2/integrations/logs/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 1,
  "next": "http://api.app.fleetit.com/v2/integrations/logs/?integration=123&limit=10&offset=10",
  "previous": null,
  "results": [
    {
      "id": 123456,
      "integration": 49,
      "timestamp": "2024-05-05T21:09:01.685651-04:00",
      "direction": "Receiving",
      "success": true,
      "response": {
        "message": "Success",
        "vehicles_updated": 2,
        "new_vehicles_added": 0,
        "unable_to_find_states": 0,
        "total_vehicles_fetched": 6178,
        "belongs_to_different_fleet": 6176
      },
      "details": {
        "payload": null,
        "error": null
      },
      "entity_type": "Vehicle",
      "entity_id": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Fleet-ID
integer

Query Parameters

integration
string

ID of the integration to filter

success
string

Boolean

entity_type
integer

Where Choices Includes (1, Ticket), (2, Parking), (3, Violation), (4, Vehicle), (5, Transponder), (6, Authentication)

integration_is_null
string

Boolean

timestamp_after
string

Date in YYYY-MM-DD format

timestamp_before
string

Date in YYYY-MM-DD format

entity_id
string

ID of the Entity you want to search for. e.g Ticket ID, Parking ID.

Response

200 - application/json
Successful response
count
integer

Total number of matching logs

next
string

URL to the next page of results

previous
string

URL to the previous page of results

results
object[]