Skip to main content

Get a fleet inspection

GET 

/fleets/:id

Returns a fleet inspection owned by the authenticated insurer. Use the ULID returned as uid or id.

Request​

Path Parameters

    id stringrequired

    Fleet inspection ULID.

Responses​

Fleet inspection returned successfully.

Schema
    data object
    uid string

    Fleet ULID used in fleet API URLs.

    id string

    Alias of uid.

    inspection_type string

    Possible values: [personal, corporate]

    name string
    company_name string
    company_phone_no string
    company_email email
    status string
    payment_status string
    policy_start_date datenullable
    policy_end_date datenullable
    meta object[]

    Uploaded fleet documents. Returned by the get operation.

  • Array [
  • type string
    url uri
    file string
  • ]
  • insurer object

    Returned by the get operation.

    id integer
    code string
    has_policies integer

    Number of policies attached to the fleet.

    vehicles_count integer
    created_at date-time
    inspection_link uri
Loading...