Skip to main content

List vehicles

GET 

/api/vehicle

List of vehicles associated with your company

Request

Query Parameters

    page string

    Page of the list

    limit string

    Data per page

Header Parameters

    apikey stringrequired

    Apikey of a company linked to a user

Responses

Example response

Schema
    status integer
    data object
    docs object[]
  • Array [
  • _id string
    position object

    Array of services and their last known position

    deliveries object[]
    role string

    Account role ("driver", "dev", "manager" or "admin")

    status boolean

    Account status (Locked or active in boolean).

    reason string

    Account blocking reason.

    emailVerified boolean

    Boolean that indicates whether the email is verified.

    phone string

    Trucker's phone.

    country string

    Country of residence of the trucker.

    timezone string

    Trucker time zone.

    image string

    Trucker image.

    recovery_token string

    Password recovery token.

    i18n string

    Language of the trucker user.

    deleted boolean

    Boolean indicating whether the user has been deleted.

    name string

    Name of the trucker.

    lastname string

    Truck driver's last name.

    email string

    Trucker email (Must be unique)

    taxid string

    Truck's identity document (Must be unique).

    password string

    Hashed password of the trucker account.

  • ]
  • totalDocs integer
    limit integer
    totalPages integer
    page integer
    pagingCounter integer
    hasPrevPage boolean
    hasNextPage boolean
    prevPage integer
    nextPage integer
Loading...