Munic GraphQL API

Exploring the API

Authentication

Most queries require an authenticated user.

See auth service to obain a token, and provide your auth token in the Authorization: Bearer <YOUR_JSON_WEB_TOKEN_HERE> http header.

Main objects

  • Accounts represent your user and what it has access to.
  • Devices are Munic devices (obd dongle...) plugged into a vehicle.
  • Vehicles are cars, trucks, etc.
  • Groups contain accounts, devices, vehicles, and other groups. They help organizing assets and permissions. They are the starting point for most searches.

Support

Queries

account

Description

Get account info

Response

Returns an Account

Arguments
Name Description
id - ID Account id. Defaults to logged-in user. Default = "me"

Example

Query
query account($id: ID) {
  account(id: $id) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": "me"}
Response
{
  "data": {
    "account": {
      "alert_preference": AlertPreference,
      "company_name": "abc123",
      "country_code": "abc123",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "xyz789",
      "full_name": "xyz789",
      "groups": GroupPaged,
      "id": 4,
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": "4",
      "phone": "xyz789",
      "roles": [AccountRole],
      "short_name": "xyz789",
      "time_zone": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

accounts

Description

List accounts

Response

Returns an AccountPaged

Arguments
Name Description
email - String Filter by email
full_name - String Filter by full name
ids - [ID!] Filter by ids
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
phone - String Filter by phone
short_name - String Filter by short name

Example

Query
query accounts(
  $email: String,
  $full_name: String,
  $ids: [ID!],
  $page_id: ID,
  $page_size: Int,
  $phone: String,
  $short_name: String
) {
  accounts(
    email: $email,
    full_name: $full_name,
    ids: $ids,
    page_id: $page_id,
    page_size: $page_size,
    phone: $phone,
    short_name: $short_name
  ) {
    count
    list {
      ...AccountFragment
    }
    next
  }
}
Variables
{
  "email": "abc123",
  "full_name": "xyz789",
  "ids": [4],
  "page_id": 4,
  "page_size": 987,
  "phone": "abc123",
  "short_name": "xyz789"
}
Response
{
  "data": {
    "accounts": {
      "count": 123,
      "list": [Account],
      "next": 4
    }
  }
}

alert_feedbacks

Description

List alert feedbacks

Response

Returns a VehicleAlertFeedbackPaged

Arguments
Name Description
alert_ids - [ID!] Filter by alert ids
language - LangArg Filter by feedback language
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
status - VehicleAlertFeedbackStatusArg Filter by feedback status

Example

Query
query alert_feedbacks(
  $alert_ids: [ID!],
  $language: LangArg,
  $page_id: ID,
  $page_size: Int,
  $status: VehicleAlertFeedbackStatusArg
) {
  alert_feedbacks(
    alert_ids: $alert_ids,
    language: $language,
    page_id: $page_id,
    page_size: $page_size,
    status: $status
  ) {
    count
    list {
      ...VehicleAlertFeedbackFragment
    }
    next
  }
}
Variables
{
  "alert_ids": [4],
  "language": "EN",
  "page_id": "4",
  "page_size": 987,
  "status": "CONFIRMED"
}
Response
{
  "data": {
    "alert_feedbacks": {
      "count": 123,
      "list": [VehicleAlertFeedback],
      "next": "4"
    }
  }
}

alert_template

Description

Get template

Response

Returns an AlertTemplate

Arguments
Name Description
id - ID!

Example

Query
query alert_template($id: ID!) {
  alert_template(id: $id) {
    id
    attachments {
      ...AlertAttachmentPagedFragment
    }
    channel_name
    content_type
    created_at
    default_context
    definition
    locked
    name
    updated_at
    version
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "alert_template": {
      "id": 4,
      "attachments": AlertAttachmentPaged,
      "channel_name": "abc123",
      "content_type": "HTML",
      "created_at": "2007-12-03T10:15:30Z",
      "default_context": Json,
      "definition": "xyz789",
      "locked": false,
      "name": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "version": "xyz789"
    }
  }
}

alert_templates

Description

List templates

Response

Returns an AlertTemplatePaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query alert_templates(
  $page_id: ID,
  $page_size: Int
) {
  alert_templates(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...AlertTemplateFragment
    }
    next
  }
}
Variables
{"page_id": "4", "page_size": 123}
Response
{
  "data": {
    "alert_templates": {
      "count": 123,
      "list": [AlertTemplate],
      "next": 4
    }
  }
}

alpr

Description

Recognize plate from image

Response

Returns an Alpr

Arguments
Name Description
country - String! vehicle country type string and required / value supports country code such as fr, it , al, ad , ao, ect ..
region - String vehicle region type string and optional / values are supported region Codes, they are made for United States of America plates: nc, ak, az, ct, ect …. Default = "NA"
vehicle_picture - String! vehicle picture type String and required / value in 64b and supports jpg,jpeg,png ... except GIF
year - Int vehicle manufacturing year type integer and optional / supported value are a valid year such as 1990,2001,2009 ... Default = 0

Example

Query
query alpr(
  $country: String!,
  $region: String,
  $vehicle_picture: String!,
  $year: Int
) {
  alpr(
    country: $country,
    region: $region,
    vehicle_picture: $vehicle_picture,
    year: $year
  ) {
    plate {
      ...PlateFragment
    }
    vehicle {
      ...VehicleInfoFragment
    }
  }
}
Variables
{
  "country": "abc123",
  "region": "NA",
  "vehicle_picture": "abc123",
  "year": 0
}
Response
{
  "data": {
    "alpr": {
      "plate": Plate,
      "vehicle": VehicleInfo
    }
  }
}

am_group_user_roles

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/groups/{args.group_id}/user_roles

[alpha] List Group User roles

Response

Returns a user_role_paginated

Arguments
Name Description
group_id - String! Group Id
page_number - Int page number
page_size - Int page size
fields_user_roles - String

Example

Query
query am_group_user_roles(
  $group_id: String!,
  $page_number: Int,
  $page_size: Int,
  $fields_user_roles: String
) {
  am_group_user_roles(
    group_id: $group_id,
    page_number: $page_number,
    page_size: $page_size,
    fields_user_roles: $fields_user_roles
  ) {
    data {
      ...am_user_roleFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "group_id": "xyz789",
  "page_number": 987,
  "page_size": 123,
  "fields_user_roles": "xyz789"
}
Response
{
  "data": {
    "am_group_user_roles": {
      "data": [am_user_role],
      "meta": meta
    }
  }
}

booking

Description

Get booking by ID

Response

Returns a Booking

Arguments
Name Description
id - ID! Booking ID

Example

Query
query booking($id: ID!) {
  booking(id: $id) {
    id
    additional_information
    booking_date
    city
    contact_method
    country
    plate_number
    preferred_language
    quotation_ids
    status
    user_email
    user_name
    user_phone_number
    vehicle_make
    vehicle_model
    vehicle_year
    vin
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "booking": {
      "id": "4",
      "additional_information": "abc123",
      "booking_date": "2007-12-03T10:15:30Z",
      "city": "xyz789",
      "contact_method": "EMAIL",
      "country": "abc123",
      "plate_number": "xyz789",
      "preferred_language": Language,
      "quotation_ids": [4],
      "status": "CONFIRMED",
      "user_email": "abc123",
      "user_name": "abc123",
      "user_phone_number": "xyz789",
      "vehicle_make": "xyz789",
      "vehicle_model": "abc123",
      "vehicle_year": "abc123",
      "vin": "abc123",
      "workshop": Workshop
    }
  }
}

bookings

Description

List Bookings

Response

Returns a BookingPaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query bookings(
  $page_id: ID,
  $page_size: Int
) {
  bookings(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...BookingFragment
    }
    next
  }
}
Variables
{"page_id": 4, "page_size": 123}
Response
{
  "data": {
    "bookings": {
      "count": 123,
      "list": [Booking],
      "next": "4"
    }
  }
}

cache

Description

Configure server-side query cache

Tweak this to bias toward performance or data freshness. The configuration is tied to your login token.

Response

Returns a CacheInfo

Arguments
Name Description
extend_ttl - Boolean Wether cache hits extend the time to live (default false)
flush - Boolean Remove all cache entries from the scope. Default = false
save_settings - Boolean Wether settings should be applied for the duration of the SSO login (default true). Default = true
scope - CacheScope Cache scope (default LOGIN)
soft_flush - Boolean Ignore old cache entries in the scope
ttl - Int Time to live of future entries (default 5 seconds)

Example

Query
query cache(
  $extend_ttl: Boolean,
  $flush: Boolean,
  $save_settings: Boolean,
  $scope: CacheScope,
  $soft_flush: Boolean,
  $ttl: Int
) {
  cache(
    extend_ttl: $extend_ttl,
    flush: $flush,
    save_settings: $save_settings,
    scope: $scope,
    soft_flush: $soft_flush,
    ttl: $ttl
  ) {
    extend_ttl
    scope
    soft_flush
    ttl
  }
}
Variables
{
  "extend_ttl": true,
  "flush": false,
  "save_settings": true,
  "scope": "LOGIN",
  "soft_flush": false,
  "ttl": 987
}
Response
{
  "data": {
    "cache": {
      "extend_ttl": false,
      "scope": "LOGIN",
      "soft_flush": "abc123",
      "ttl": 987
    }
  }
}

campaign

Temporary internal API
Response

Returns a Campaign

Arguments
Name Description
id - ID!

Example

Query
query campaign($id: ID!) {
  campaign(id: $id) {
    id
    configurations
    created_at
    devices_status {
      ...CampaignDeviceFragment
    }
    name
    status
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "campaign": {
      "id": "4",
      "configurations": ["4"],
      "created_at": "2007-12-03T10:15:30Z",
      "devices_status": [CampaignDevice],
      "name": "xyz789",
      "status": "OTHER"
    }
  }
}

campaigns

Temporary internal API
Response

Returns a CampaignPaged

Arguments
Name Description
archived - Boolean Include archived campaigns
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query campaigns(
  $archived: Boolean,
  $page_id: ID,
  $page_size: Int
) {
  campaigns(
    archived: $archived,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...CampaignFragment
    }
    next
  }
}
Variables
{
  "archived": true,
  "page_id": "4",
  "page_size": 987
}
Response
{
  "data": {
    "campaigns": {
      "count": 987,
      "list": [Campaign],
      "next": "4"
    }
  }
}

client_identifications

Description

List client identifications

Response

Returns a ClientIdentificationPaged

Arguments
Name Description
client_reference - ID
code - String
default_account_id - ID
distributor_id - ID
label - String
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
usable - Boolean

Example

Query
query client_identifications(
  $client_reference: ID,
  $code: String,
  $default_account_id: ID,
  $distributor_id: ID,
  $label: String,
  $page_id: ID,
  $page_size: Int,
  $usable: Boolean
) {
  client_identifications(
    client_reference: $client_reference,
    code: $code,
    default_account_id: $default_account_id,
    distributor_id: $distributor_id,
    label: $label,
    page_id: $page_id,
    page_size: $page_size,
    usable: $usable
  ) {
    count
    list {
      ...ClientIdentificationFragment
    }
    next
  }
}
Variables
{
  "client_reference": 4,
  "code": "xyz789",
  "default_account_id": "4",
  "distributor_id": "4",
  "label": "abc123",
  "page_id": 4,
  "page_size": 987,
  "usable": false
}
Response
{
  "data": {
    "client_identifications": {
      "count": 123,
      "list": [ClientIdentification],
      "next": 4
    }
  }
}

coverage_blacklists

Description

Parameter coverage info for a given type of vehicle

Response

Returns a CoverageBlacklistPaged

Arguments
Name Description
ids - [ID!] Filter by ids
makes - [String!] Filter by vehicle maker
models - [String!] Filter by vehicle model
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
years - [Int!] Filter by vehicle year

Example

Query
query coverage_blacklists(
  $ids: [ID!],
  $makes: [String!],
  $models: [String!],
  $page_id: ID,
  $page_size: Int,
  $years: [Int!]
) {
  coverage_blacklists(
    ids: $ids,
    makes: $makes,
    models: $models,
    page_id: $page_id,
    page_size: $page_size,
    years: $years
  ) {
    count
    list {
      ...CoverageBlacklistFragment
    }
    next
  }
}
Variables
{
  "ids": ["4"],
  "makes": ["xyz789"],
  "models": ["xyz789"],
  "page_id": 4,
  "page_size": 123,
  "years": [123]
}
Response
{
  "data": {
    "coverage_blacklists": {
      "count": 987,
      "list": [CoverageBlacklist],
      "next": "4"
    }
  }
}

coverage_makes

Response

Returns a CoverageMakePaged

Arguments
Name Description
name - String
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query coverage_makes(
  $name: String,
  $page_id: ID,
  $page_size: Int
) {
  coverage_makes(
    name: $name,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...CoverageMakeFragment
    }
    next
  }
}
Variables
{
  "name": "abc123",
  "page_id": "4",
  "page_size": 123
}
Response
{
  "data": {
    "coverage_makes": {
      "count": 987,
      "list": [CoverageMake],
      "next": "4"
    }
  }
}

coverage_models

Response

Returns a CoverageModelPaged

Arguments
Name Description
makes - [String!] Filter by vehicle make
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query coverage_models(
  $makes: [String!],
  $page_id: ID,
  $page_size: Int
) {
  coverage_models(
    makes: $makes,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...CoverageModelFragment
    }
    next
  }
}
Variables
{
  "makes": ["abc123"],
  "page_id": 4,
  "page_size": 987
}
Response
{
  "data": {
    "coverage_models": {
      "count": 123,
      "list": [CoverageModel],
      "next": "4"
    }
  }
}

coverage_vehicles

Description

Parameter coverage info for a given type of vehicle

Response

Returns a CoverageVehiclePaged

Arguments
Name Description
blacklisted - Boolean Filter by blacklist status
energy_types - [CoverageEnergyTypeArg!] Filter by vehicle energy type
ids - [ID!] Filter by ids
makes - [String!] Filter by vehicle make
models - [String!] Filter by vehicle model
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
parameters - [String!] Filter by covered parameters
powertrain - CoveragePowertrainArg Filter by powertrain
regions - [CoverageRegionArg!] Filter by world region
vin - [String!] Filter by VIN
years - [Int!] Filter by vehicle year

Example

Query
query coverage_vehicles(
  $blacklisted: Boolean,
  $energy_types: [CoverageEnergyTypeArg!],
  $ids: [ID!],
  $makes: [String!],
  $models: [String!],
  $page_id: ID,
  $page_size: Int,
  $parameters: [String!],
  $powertrain: CoveragePowertrainArg,
  $regions: [CoverageRegionArg!],
  $vin: [String!],
  $years: [Int!]
) {
  coverage_vehicles(
    blacklisted: $blacklisted,
    energy_types: $energy_types,
    ids: $ids,
    makes: $makes,
    models: $models,
    page_id: $page_id,
    page_size: $page_size,
    parameters: $parameters,
    powertrain: $powertrain,
    regions: $regions,
    vin: $vin,
    years: $years
  ) {
    count
    list {
      ...CoverageVehicleFragment
    }
    next
  }
}
Variables
{
  "blacklisted": true,
  "energy_types": ["DIESEL"],
  "ids": [4],
  "makes": ["xyz789"],
  "models": ["abc123"],
  "page_id": "4",
  "page_size": 987,
  "parameters": ["xyz789"],
  "powertrain": "HEV",
  "regions": ["EUROPE"],
  "vin": ["abc123"],
  "years": [987]
}
Response
{
  "data": {
    "coverage_vehicles": {
      "count": 987,
      "list": [CoverageVehicle],
      "next": 4
    }
  }
}

data_fusion_vehicles_refills

Description

Method: GET Base URL: {env.DATA_FUSION_API} Path: /v1/vehicles/{args.id}/refills Index Document Feature Refill

Response

Returns a vehicles_refills_response

Arguments
Name Description
id - String! Vehicle ID
start_time - DateTime Start Time
end_time - DateTime End Time
page_number - Int Page Number
page_size - Int Page Size
sort - [queryInput_vehicles_refills_sort_items] Sort results by fields (use "-" prefix for descending order)
fields_refills - [queryInput_vehicles_refills_fields_LEFT_SQUARE_BRACE_refills_RIGHT_SQUARE_BRACE__items] Fields to include in the response

Example

Query
query data_fusion_vehicles_refills(
  $id: String!,
  $start_time: DateTime,
  $end_time: DateTime,
  $page_number: Int,
  $page_size: Int,
  $sort: [queryInput_vehicles_refills_sort_items],
  $fields_refills: [queryInput_vehicles_refills_fields_LEFT_SQUARE_BRACE_refills_RIGHT_SQUARE_BRACE__items]
) {
  data_fusion_vehicles_refills(
    id: $id,
    start_time: $start_time,
    end_time: $end_time,
    page_number: $page_number,
    page_size: $page_size,
    sort: $sort,
    fields_refills: $fields_refills
  ) {
    ... on refill_paged {
      ...refill_pagedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "start_time": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z",
  "page_number": 987,
  "page_size": 987,
  "sort": ["id"],
  "fields_refills": ["product"]
}
Response
{"data": {"data_fusion_vehicles_refills": refill_paged}}

decode_dtcs

Description

Get list of dtc codes description & related informations

Response

Returns [Dtc]

Arguments
Name Description
codes - [String]! List of DTC codes to be decoded
language - Language Decoded information display language
make - String Vehicle's make
protocol - DtcProtocol! Protocol used for communicating with the vehicle
region - DtcRegion! Decoding region
vin - String! VIN of vehicle related to the codes

Example

Query
query decode_dtcs(
  $codes: [String]!,
  $language: Language,
  $make: String,
  $protocol: DtcProtocol!,
  $region: DtcRegion!,
  $vin: String!
) {
  decode_dtcs(
    codes: $codes,
    language: $language,
    make: $make,
    protocol: $protocol,
    region: $region,
    vin: $vin
  ) {
    cause
    classification
    code
    description
    effect
    id
    information
    mdi_dtc
    protocol
    recommendation
    subdescription
    warning
    warning_img
  }
}
Variables
{
  "codes": ["xyz789"],
  "language": Language,
  "make": "xyz789",
  "protocol": "UNKNOWN",
  "region": "EU",
  "vin": "abc123"
}
Response
{
  "data": {
    "decode_dtcs": [
      {
        "cause": "abc123",
        "classification": "xyz789",
        "code": "xyz789",
        "description": "xyz789",
        "effect": "xyz789",
        "id": "4",
        "information": "abc123",
        "mdi_dtc": "abc123",
        "protocol": "xyz789",
        "recommendation": "abc123",
        "subdescription": "xyz789",
        "warning": "abc123",
        "warning_img": "xyz789"
      }
    ]
  }
}

decode_plate

Description

Get list of vehicle descriptions by Plate & Country

Response

Returns [DecodeVinResult!]

Arguments
Name Description
country - String!
plate - String!

Example

Query
query decode_plate(
  $country: String!,
  $plate: String!
) {
  decode_plate(
    country: $country,
    plate: $plate
  ) {
    acceleration
    advanced_model
    body_type
    body_type_code
    brakes_abs
    brakes_front_type
    brakes_rear_type
    brakes_system
    cargo_capacity
    co_2_emission
    co_emission
    color
    company_id
    country
    critair
    curb_weight
    day_of_first_circulation
    day_of_sale
    decoding_region
    doors
    drive_type
    electric_vehicle_battery_capacity
    electric_vehicle_battery_voltage
    emission_standard
    engine_aspiration
    engine_bore
    engine_code
    engine_configuration
    engine_cylinder_head_type
    engine_cylinders
    engine_displacement
    engine_extra
    engine_fiscal_power
    engine_fuel_type
    engine_fuel_type_secondary
    engine_fuel_type_tertiary
    engine_ignition_system
    engine_manufacturer
    engine_output_power
    engine_output_power_ps
    engine_rpm_idle_max
    engine_rpm_idle_min
    engine_rpm_max
    engine_stroke
    engine_valves
    engine_version
    engine_with_turbo
    extra_info {
      ...VinExtraInfoFragment
    }
    front_overhang
    front_track
    fuel_efficiency_city
    fuel_efficiency_combined
    fuel_efficiency_highway
    fuel_injection_control_type
    fuel_injection_subtype
    fuel_injection_system_design
    fuel_injection_type
    gearbox_speed
    gearbox_type
    gross_weight
    hc_emission
    hc_nox_emission
    height
    hip_room_front
    hip_room_rear
    id
    k_type
    kba
    length
    make
    manufacturer
    max_roof_load
    max_tow_bar_download
    max_trailer_load_b_license
    max_trailer_load_braked_12
    max_trailer_load_unbraked
    model
    model_code
    model_version_code
    month_of_first_circulation
    month_of_sale
    nox_emission
    oil_temperature_emission
    options {
      ...DescriptionOptionFragment
    }
    plate
    price
    rear_overhang
    rear_track
    seats
    sli_battery_capacity
    springs_front_type
    springs_rear_type
    steering_system
    steering_type
    tank_volume
    top_speed
    transmission_electronic_control
    transmission_manufacturer_code
    transmission_type
    trunk_volume
    url_vehicle_image
    vehicle_type
    verified
    vin
    wheel_base
    wheels_dimension
    width
    year_of_first_circulation
    year_of_sale
  }
}
Variables
{
  "country": "abc123",
  "plate": "xyz789"
}
Response
{
  "data": {
    "decode_plate": [
      {
        "acceleration": 123.45,
        "advanced_model": "xyz789",
        "body_type": "xyz789",
        "body_type_code": "xyz789",
        "brakes_abs": "abc123",
        "brakes_front_type": "xyz789",
        "brakes_rear_type": "xyz789",
        "brakes_system": "xyz789",
        "cargo_capacity": 123,
        "co_2_emission": 123,
        "co_emission": 123.45,
        "color": "xyz789",
        "company_id": 4,
        "country": "xyz789",
        "critair": "abc123",
        "curb_weight": 987,
        "day_of_first_circulation": 987,
        "day_of_sale": 987,
        "decoding_region": "abc123",
        "doors": 123,
        "drive_type": "abc123",
        "electric_vehicle_battery_capacity": 987.65,
        "electric_vehicle_battery_voltage": 987.65,
        "emission_standard": "xyz789",
        "engine_aspiration": "xyz789",
        "engine_bore": 987.65,
        "engine_code": "abc123",
        "engine_configuration": "xyz789",
        "engine_cylinder_head_type": "abc123",
        "engine_cylinders": 987,
        "engine_displacement": 987,
        "engine_extra": "xyz789",
        "engine_fiscal_power": 123,
        "engine_fuel_type": "ADBLUE",
        "engine_fuel_type_secondary": "ADBLUE",
        "engine_fuel_type_tertiary": "ADBLUE",
        "engine_ignition_system": "xyz789",
        "engine_manufacturer": "abc123",
        "engine_output_power": 987,
        "engine_output_power_ps": 123,
        "engine_rpm_idle_max": 987,
        "engine_rpm_idle_min": 123,
        "engine_rpm_max": 123,
        "engine_stroke": 123.45,
        "engine_valves": 123,
        "engine_version": "abc123",
        "engine_with_turbo": false,
        "extra_info": VinExtraInfo,
        "front_overhang": 987,
        "front_track": 123,
        "fuel_efficiency_city": 123.45,
        "fuel_efficiency_combined": 987.65,
        "fuel_efficiency_highway": 123.45,
        "fuel_injection_control_type": "abc123",
        "fuel_injection_subtype": "abc123",
        "fuel_injection_system_design": "abc123",
        "fuel_injection_type": "abc123",
        "gearbox_speed": 987,
        "gearbox_type": "xyz789",
        "gross_weight": 987,
        "hc_emission": 123.45,
        "hc_nox_emission": 123.45,
        "height": 123,
        "hip_room_front": 123,
        "hip_room_rear": 123,
        "id": 4,
        "k_type": "abc123",
        "kba": 4,
        "length": 123,
        "make": "abc123",
        "manufacturer": "abc123",
        "max_roof_load": 987,
        "max_tow_bar_download": 123,
        "max_trailer_load_b_license": 987,
        "max_trailer_load_braked_12": 987,
        "max_trailer_load_unbraked": 123,
        "model": "abc123",
        "model_code": "xyz789",
        "model_version_code": "xyz789",
        "month_of_first_circulation": 123,
        "month_of_sale": 123,
        "nox_emission": 123.45,
        "oil_temperature_emission": 123.45,
        "options": [DescriptionOption],
        "plate": "xyz789",
        "price": 123,
        "rear_overhang": 987,
        "rear_track": 123,
        "seats": 987,
        "sli_battery_capacity": 123.45,
        "springs_front_type": "xyz789",
        "springs_rear_type": "abc123",
        "steering_system": "xyz789",
        "steering_type": "xyz789",
        "tank_volume": 987,
        "top_speed": 987,
        "transmission_electronic_control": "abc123",
        "transmission_manufacturer_code": "xyz789",
        "transmission_type": "abc123",
        "trunk_volume": 987,
        "url_vehicle_image": "xyz789",
        "vehicle_type": "xyz789",
        "verified": false,
        "vin": "abc123",
        "wheel_base": 123,
        "wheels_dimension": "abc123",
        "width": 123,
        "year_of_first_circulation": 987,
        "year_of_sale": 987
      }
    ]
  }
}

decode_vin

Description

Get list of vehicle descriptions by VIN and region (optional)

Response

Returns [DecodeVinResult!]

Arguments
Name Description
device_id - ID Device imei
k_type - ID k_type number (also known as techdoc number)
kba - ID Kraftfahrbundesamt (Germany and Austria)
region - String Decode region (africa, asia, europe, north america, south america, oceania)
vin - String! Vehicle Identification Number to decode

Example

Query
query decode_vin(
  $device_id: ID,
  $k_type: ID,
  $kba: ID,
  $region: String,
  $vin: String!
) {
  decode_vin(
    device_id: $device_id,
    k_type: $k_type,
    kba: $kba,
    region: $region,
    vin: $vin
  ) {
    acceleration
    advanced_model
    body_type
    body_type_code
    brakes_abs
    brakes_front_type
    brakes_rear_type
    brakes_system
    cargo_capacity
    co_2_emission
    co_emission
    color
    company_id
    country
    critair
    curb_weight
    day_of_first_circulation
    day_of_sale
    decoding_region
    doors
    drive_type
    electric_vehicle_battery_capacity
    electric_vehicle_battery_voltage
    emission_standard
    engine_aspiration
    engine_bore
    engine_code
    engine_configuration
    engine_cylinder_head_type
    engine_cylinders
    engine_displacement
    engine_extra
    engine_fiscal_power
    engine_fuel_type
    engine_fuel_type_secondary
    engine_fuel_type_tertiary
    engine_ignition_system
    engine_manufacturer
    engine_output_power
    engine_output_power_ps
    engine_rpm_idle_max
    engine_rpm_idle_min
    engine_rpm_max
    engine_stroke
    engine_valves
    engine_version
    engine_with_turbo
    extra_info {
      ...VinExtraInfoFragment
    }
    front_overhang
    front_track
    fuel_efficiency_city
    fuel_efficiency_combined
    fuel_efficiency_highway
    fuel_injection_control_type
    fuel_injection_subtype
    fuel_injection_system_design
    fuel_injection_type
    gearbox_speed
    gearbox_type
    gross_weight
    hc_emission
    hc_nox_emission
    height
    hip_room_front
    hip_room_rear
    id
    k_type
    kba
    length
    make
    manufacturer
    max_roof_load
    max_tow_bar_download
    max_trailer_load_b_license
    max_trailer_load_braked_12
    max_trailer_load_unbraked
    model
    model_code
    model_version_code
    month_of_first_circulation
    month_of_sale
    nox_emission
    oil_temperature_emission
    options {
      ...DescriptionOptionFragment
    }
    plate
    price
    rear_overhang
    rear_track
    seats
    sli_battery_capacity
    springs_front_type
    springs_rear_type
    steering_system
    steering_type
    tank_volume
    top_speed
    transmission_electronic_control
    transmission_manufacturer_code
    transmission_type
    trunk_volume
    url_vehicle_image
    vehicle_type
    verified
    vin
    wheel_base
    wheels_dimension
    width
    year_of_first_circulation
    year_of_sale
  }
}
Variables
{
  "device_id": "4",
  "k_type": 4,
  "kba": "4",
  "region": "abc123",
  "vin": "xyz789"
}
Response
{
  "data": {
    "decode_vin": [
      {
        "acceleration": 987.65,
        "advanced_model": "xyz789",
        "body_type": "xyz789",
        "body_type_code": "abc123",
        "brakes_abs": "abc123",
        "brakes_front_type": "xyz789",
        "brakes_rear_type": "xyz789",
        "brakes_system": "abc123",
        "cargo_capacity": 987,
        "co_2_emission": 987,
        "co_emission": 987.65,
        "color": "xyz789",
        "company_id": "4",
        "country": "abc123",
        "critair": "abc123",
        "curb_weight": 123,
        "day_of_first_circulation": 987,
        "day_of_sale": 123,
        "decoding_region": "abc123",
        "doors": 123,
        "drive_type": "xyz789",
        "electric_vehicle_battery_capacity": 987.65,
        "electric_vehicle_battery_voltage": 123.45,
        "emission_standard": "abc123",
        "engine_aspiration": "abc123",
        "engine_bore": 123.45,
        "engine_code": "abc123",
        "engine_configuration": "xyz789",
        "engine_cylinder_head_type": "xyz789",
        "engine_cylinders": 987,
        "engine_displacement": 987,
        "engine_extra": "xyz789",
        "engine_fiscal_power": 123,
        "engine_fuel_type": "ADBLUE",
        "engine_fuel_type_secondary": "ADBLUE",
        "engine_fuel_type_tertiary": "ADBLUE",
        "engine_ignition_system": "xyz789",
        "engine_manufacturer": "xyz789",
        "engine_output_power": 123,
        "engine_output_power_ps": 123,
        "engine_rpm_idle_max": 123,
        "engine_rpm_idle_min": 987,
        "engine_rpm_max": 123,
        "engine_stroke": 123.45,
        "engine_valves": 123,
        "engine_version": "xyz789",
        "engine_with_turbo": true,
        "extra_info": VinExtraInfo,
        "front_overhang": 123,
        "front_track": 987,
        "fuel_efficiency_city": 123.45,
        "fuel_efficiency_combined": 987.65,
        "fuel_efficiency_highway": 987.65,
        "fuel_injection_control_type": "xyz789",
        "fuel_injection_subtype": "xyz789",
        "fuel_injection_system_design": "xyz789",
        "fuel_injection_type": "xyz789",
        "gearbox_speed": 987,
        "gearbox_type": "xyz789",
        "gross_weight": 987,
        "hc_emission": 123.45,
        "hc_nox_emission": 987.65,
        "height": 987,
        "hip_room_front": 123,
        "hip_room_rear": 987,
        "id": "4",
        "k_type": "abc123",
        "kba": "4",
        "length": 123,
        "make": "abc123",
        "manufacturer": "xyz789",
        "max_roof_load": 123,
        "max_tow_bar_download": 987,
        "max_trailer_load_b_license": 123,
        "max_trailer_load_braked_12": 123,
        "max_trailer_load_unbraked": 987,
        "model": "abc123",
        "model_code": "abc123",
        "model_version_code": "abc123",
        "month_of_first_circulation": 123,
        "month_of_sale": 123,
        "nox_emission": 123.45,
        "oil_temperature_emission": 123.45,
        "options": [DescriptionOption],
        "plate": "abc123",
        "price": 987,
        "rear_overhang": 987,
        "rear_track": 987,
        "seats": 123,
        "sli_battery_capacity": 987.65,
        "springs_front_type": "abc123",
        "springs_rear_type": "xyz789",
        "steering_system": "xyz789",
        "steering_type": "xyz789",
        "tank_volume": 987,
        "top_speed": 123,
        "transmission_electronic_control": "xyz789",
        "transmission_manufacturer_code": "abc123",
        "transmission_type": "xyz789",
        "trunk_volume": 987,
        "url_vehicle_image": "abc123",
        "vehicle_type": "xyz789",
        "verified": false,
        "vin": "xyz789",
        "wheel_base": 987,
        "wheels_dimension": "xyz789",
        "width": 123,
        "year_of_first_circulation": 987,
        "year_of_sale": 987
      }
    ]
  }
}

description

Response

Returns a Description

Arguments
Name Description
id - ID!
subject - DescriptionSubject!

Example

Query
query description(
  $id: ID!,
  $subject: DescriptionSubject!
) {
  description(
    id: $id,
    subject: $subject
  ) {
    created_at
    id
    label
    source
    updated_at
    value
  }
}
Variables
{
  "id": "4",
  "subject": DescriptionSubject
}
Response
{
  "data": {
    "description": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "label": "abc123",
      "source": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "xyz789"
    }
  }
}

device

Response

Returns a Device

Arguments
Name Description
id - ID!

Example

Query
query device($id: ID!) {
  device(id: $id) {
    id
    active_account
    aggregated_data {
      ...AggregatedDataFragment
    }
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    battery_annotations {
      ...BatteryAnnotationPagedFragment
    }
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    device_type
    fields {
      ...FieldPagedFragment
    }
    first_connection_at
    groups {
      ...GroupPagedFragment
    }
    harshes {
      ...TripHarshPagedFragment
    }
    history {
      ...DeviceHistoryPagedFragment
    }
    last_activity_at
    last_connection_at
    last_connection_reason
    last_disconnection_at
    last_disconnection_reason
    last_position {
      ...CoordinatesFragment
    }
    last_trip {
      ...TripFragment
    }
    log_fetches {
      ...LogfetchPagedFragment
    }
    onboarded
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    owner {
      ...AccountFragment
    }
    profile_mode {
      ...ProfileDeviceModeFragment
    }
    profile_modes {
      ...ProfileDeviceModePagedFragment
    }
    profile_privacies {
      ...ProfilePrivacyPagedFragment
    }
    profile_privacy {
      ...ProfilePrivacyFragment
    }
    readings {
      ...ReadingPagedFragment
    }
    readings_anon {
      ...ReadingAnonPagedFragment
    }
    remote_diags {
      ...RemoteDiagPagedFragment
    }
    serial_number
    status
    trip_summary {
      ...TripSummaryFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    vehicle_sessions {
      ...DeviceVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    cleaned_positions {
      ...map_matching_position_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    trip_journeys {
      ...journey_trip_paginatedFragment
    }
    trip_tag_schedules {
      ...trip_tag_schedule_paginatedFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "device": {
      "id": 4,
      "active_account": "abc123",
      "aggregated_data": AggregatedData,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "battery_annotations": BatteryAnnotationPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "device_type": "abc123",
      "fields": FieldPaged,
      "first_connection_at": "2007-12-03T10:15:30Z",
      "groups": GroupPaged,
      "harshes": TripHarshPaged,
      "history": DeviceHistoryPaged,
      "last_activity_at": "2007-12-03T10:15:30Z",
      "last_connection_at": "2007-12-03T10:15:30Z",
      "last_connection_reason": "CLOSED_BY_SERVER",
      "last_disconnection_at": "2007-12-03T10:15:30Z",
      "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
      "last_position": Coordinates,
      "last_trip": Trip,
      "log_fetches": LogfetchPaged,
      "onboarded": true,
      "overspeeds": TripOverspeedPaged,
      "owner": Account,
      "profile_mode": ProfileDeviceMode,
      "profile_modes": ProfileDeviceModePaged,
      "profile_privacies": ProfilePrivacyPaged,
      "profile_privacy": ProfilePrivacy,
      "readings": ReadingPaged,
      "readings_anon": ReadingAnonPaged,
      "remote_diags": RemoteDiagPaged,
      "serial_number": "xyz789",
      "status": "CONNECTED",
      "trip_summary": TripSummary,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle_sessions": DeviceVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "geofences": geofence_paginated,
      "cleaned_positions": map_matching_position_paginated,
      "summary_from_journey": journey_summary,
      "trip_journeys": journey_trip_paginated,
      "trip_tag_schedules": trip_tag_schedule_paginated,
      "journey_reports": report_paginated
    }
  }
}

devices

Response

Returns a DevicePaged

Arguments
Name Description
device_types - [String]
ids - [ID]
onboarded - Boolean
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
statuses - [DeviceStatus!]

Example

Query
query devices(
  $device_types: [String],
  $ids: [ID],
  $onboarded: Boolean,
  $page_id: ID,
  $page_size: Int,
  $statuses: [DeviceStatus!]
) {
  devices(
    device_types: $device_types,
    ids: $ids,
    onboarded: $onboarded,
    page_id: $page_id,
    page_size: $page_size,
    statuses: $statuses
  ) {
    count
    list {
      ...DeviceFragment
    }
    next
  }
}
Variables
{
  "device_types": ["abc123"],
  "ids": ["4"],
  "onboarded": false,
  "page_id": "4",
  "page_size": 987,
  "statuses": ["CONNECTED"]
}
Response
{
  "data": {
    "devices": {
      "count": 123,
      "list": [Device],
      "next": "4"
    }
  }
}

distributor

Description

Get distributor

Response

Returns an OnboardingDistributor

Arguments
Name Description
id - ID!

Example

Query
query distributor($id: ID!) {
  distributor(id: $id) {
    id
    is_active
    label
    organization_id
    provider {
      ...OnboardingProviderFragment
    }
    provider_workshop_id
    requests {
      ...OnboardingRequestPagedFragment
    }
    staff {
      ...OnboardingStaffPagedFragment
    }
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "distributor": {
      "id": "4",
      "is_active": true,
      "label": "abc123",
      "organization_id": "4",
      "provider": OnboardingProvider,
      "provider_workshop_id": 4,
      "requests": OnboardingRequestPaged,
      "staff": OnboardingStaffPaged,
      "workshop": Workshop
    }
  }
}

distributors

Description

List distributors

Response

Returns an OnboardingDistributorPaged

Arguments
Name Description
is_active - Boolean Select either active or inactive distributors
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query distributors(
  $is_active: Boolean,
  $page_id: ID,
  $page_size: Int
) {
  distributors(
    is_active: $is_active,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...OnboardingDistributorFragment
    }
    next
  }
}
Variables
{
  "is_active": true,
  "page_id": "4",
  "page_size": 123
}
Response
{
  "data": {
    "distributors": {
      "count": 987,
      "list": [OnboardingDistributor],
      "next": 4
    }
  }
}

driver

Response

Returns a Driver

Arguments
Name Description
id - ID Driver id. Default = "me"

Example

Query
query driver($id: ID) {
  driver(id: $id) {
    active
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    current_vehicles {
      ...VehiclePagedFragment
    }
    default_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    id
    id_key
    label
    last_trip {
      ...TripFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    user_contact {
      ...AccountFragment
    }
    user_profile {
      ...AccountFragment
    }
    vehicle_sessions {
      ...DriverVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": "me"}
Response
{
  "data": {
    "driver": {
      "active": false,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "current_vehicles": VehiclePaged,
      "default_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "groups": GroupPaged,
      "id": 4,
      "id_key": "xyz789",
      "label": "xyz789",
      "last_trip": Trip,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "user_contact": Account,
      "user_profile": Account,
      "vehicle_sessions": DriverVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show
    }
  }
}

driver_authorized_vehicles

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/driver_authorized_vehicles

[beta] get vehicle authorizations

Arguments
Name Description
driver_id - String! Driver ID
vehicle_id - String
start_at_before - DateTime
start_at_after - DateTime
end_at_before - DateTime
active - Boolean
end_at_after - DateTime
page_number - Int page number
page_size - Int page size

Example

Query
query driver_authorized_vehicles(
  $driver_id: String!,
  $vehicle_id: String,
  $start_at_before: DateTime,
  $start_at_after: DateTime,
  $end_at_before: DateTime,
  $active: Boolean,
  $end_at_after: DateTime,
  $page_number: Int,
  $page_size: Int
) {
  driver_authorized_vehicles(
    driver_id: $driver_id,
    vehicle_id: $vehicle_id,
    start_at_before: $start_at_before,
    start_at_after: $start_at_after,
    end_at_before: $end_at_before,
    active: $active,
    end_at_after: $end_at_after,
    page_number: $page_number,
    page_size: $page_size
  ) {
    ... on driver_authorized_vehicle_paginated {
      ...driver_authorized_vehicle_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "vehicle_id": "abc123",
  "start_at_before": "2007-12-03T10:15:30Z",
  "start_at_after": "2007-12-03T10:15:30Z",
  "end_at_before": "2007-12-03T10:15:30Z",
  "active": true,
  "end_at_after": "2007-12-03T10:15:30Z",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "driver_authorized_vehicles": driver_authorized_vehicle_paginated
  }
}

driver_auxiliary_devices

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/auxiliary_devices

[beta] list driver's auxilary devices

Arguments
Name Description
driver_id - String! Driver ID
label - String Driver label
id_key - String Custom identifier
kind - auxiliary_device_kind
created_by_id - String User uid
serial_number - String User uid
page_number - Int page number
page_size - Int page size

Example

Query
query driver_auxiliary_devices(
  $driver_id: String!,
  $label: String,
  $id_key: String,
  $kind: auxiliary_device_kind,
  $created_by_id: String,
  $serial_number: String,
  $page_number: Int,
  $page_size: Int
) {
  driver_auxiliary_devices(
    driver_id: $driver_id,
    label: $label,
    id_key: $id_key,
    kind: $kind,
    created_by_id: $created_by_id,
    serial_number: $serial_number,
    page_number: $page_number,
    page_size: $page_size
  ) {
    ... on auxiliary_device_paginated {
      ...auxiliary_device_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "xyz789",
  "label": "xyz789",
  "id_key": "abc123",
  "kind": "phone",
  "created_by_id": "abc123",
  "serial_number": "xyz789",
  "page_number": 123,
  "page_size": 987
}
Response
{
  "data": {
    "driver_auxiliary_devices": auxiliary_device_paginated
  }
}

driver_service

Description

Get Driver service by ID

Response

Returns a DriverService

Arguments
Name Description
id - ID! Driver service ID

Example

Query
query driver_service($id: ID!) {
  driver_service(id: $id) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "driver_service": {
      "id": "4",
      "description": "abc123",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

driver_services

Description

List Driver services

Response

Returns a DriverServicePaged

Arguments
Name Description
label - String Driver service label
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query driver_services(
  $label: String,
  $page_id: ID,
  $page_size: Int
) {
  driver_services(
    label: $label,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...DriverServiceFragment
    }
    next
  }
}
Variables
{
  "label": "xyz789",
  "page_id": 4,
  "page_size": 123
}
Response
{
  "data": {
    "driver_services": {
      "count": 987,
      "list": [DriverService],
      "next": "4"
    }
  }
}

drivers

Response

Returns a DriverPaged

Arguments
Name Description
active - Boolean
auxiliary_device_id_keys - [String!] Filter by driver auxiliary devices id_key
auxiliary_device_mac_address_hashs - [String!] Filter by driver auxiliary devices mac address hash
auxiliary_device_serial_numbers - [String!] Filter by driver auxiliary devices serial number
has_vehicle - Boolean
id_keys - [ID!] Filter by id_keys
ids - [ID!] Filter by ids
labels - [String!] Filter by labels
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query drivers(
  $active: Boolean,
  $auxiliary_device_id_keys: [String!],
  $auxiliary_device_mac_address_hashs: [String!],
  $auxiliary_device_serial_numbers: [String!],
  $has_vehicle: Boolean,
  $id_keys: [ID!],
  $ids: [ID!],
  $labels: [String!],
  $page_id: ID,
  $page_size: Int
) {
  drivers(
    active: $active,
    auxiliary_device_id_keys: $auxiliary_device_id_keys,
    auxiliary_device_mac_address_hashs: $auxiliary_device_mac_address_hashs,
    auxiliary_device_serial_numbers: $auxiliary_device_serial_numbers,
    has_vehicle: $has_vehicle,
    id_keys: $id_keys,
    ids: $ids,
    labels: $labels,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...DriverFragment
    }
    next
  }
}
Variables
{
  "active": false,
  "auxiliary_device_id_keys": ["abc123"],
  "auxiliary_device_mac_address_hashs": [
    "abc123"
  ],
  "auxiliary_device_serial_numbers": [
    "abc123"
  ],
  "has_vehicle": true,
  "id_keys": ["4"],
  "ids": [4],
  "labels": ["abc123"],
  "page_id": 4,
  "page_size": 987
}
Response
{
  "data": {
    "drivers": {
      "count": 123,
      "list": [Driver],
      "next": "4"
    }
  }
}

geodecode

Description

Get the geodecoding of a coordinate

Response

Returns a Geodecode

Arguments
Name Description
lang - String

Coordinate Language Define the language that will be used to perform the address lookup. Objects for which defined language code is not available, default language will be used. Values language Code - An US-ASCII string that defines an ISO 639-1 (2-letter) language code. The specials "IC" (no sensitive case) language code allows you to search for a country depending on its ISO-3166 Alpha-3 or Alpha-2 country code.

default "en". Default = "en"

lat - Float Coordinate latitude
lng - Float Coordinate longitude
max_result - Int Max Results, default 1. Default = 1
radius - Int Search radius around lat/lon (meters), default 100. Default = 100
skip_empty_streetname - Boolean Skip results with empty streetnames. Default = true

Example

Query
query geodecode(
  $lang: String,
  $lat: Float,
  $lng: Float,
  $max_result: Int,
  $radius: Int,
  $skip_empty_streetname: Boolean
) {
  geodecode(
    lang: $lang,
    lat: $lat,
    lng: $lng,
    max_result: $max_result,
    radius: $radius,
    skip_empty_streetname: $skip_empty_streetname
  ) {
    elements {
      ...GeodecodeElementsFragment
    }
    extent {
      ...GeodecodeExtentFragment
    }
  }
}
Variables
{
  "lang": "en",
  "lat": 987.65,
  "lng": 123.45,
  "max_result": 1,
  "radius": 100,
  "skip_empty_streetname": true
}
Response
{
  "data": {
    "geodecode": {
      "elements": GeodecodeElements,
      "extent": GeodecodeExtent
    }
  }
}

geofence_alert

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/alerts/{args.id}

[alpha] Show Alert

Response

Returns an alert_show

Arguments
Name Description
id - String! Alert id

Example

Query
query geofence_alert($id: String!) {
  geofence_alert(id: $id) {
    data {
      ...geofence_alertFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{"data": {"geofence_alert": {"data": geofence_alert}}}

geofence_alerts

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/alerts

[alpha] Get Alerts

Response

Returns an alert_paginated

Arguments
Name Description
state - String Alert state
event_type - String Alert event type
group_id - String Group ID
sort - queryInput_alerts_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_alerts(
  $state: String,
  $event_type: String,
  $group_id: String,
  $sort: queryInput_alerts_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_alerts(
    state: $state,
    event_type: $event_type,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_alertFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "state": "xyz789",
  "event_type": "abc123",
  "group_id": "abc123",
  "sort": "id",
  "page_number": 123,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_alerts": {
      "data": [geofence_alert],
      "meta": meta
    }
  }
}

geofence_device

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/devices/{args.id}

[alpha] Show Device

Response

Returns a device_show

Arguments
Name Description
id - String! Device imei

Example

Query
query geofence_device($id: String!) {
  geofence_device(id: $id) {
    data {
      ...geofence_deviceFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{"data": {"geofence_device": {"data": geofence_device}}}

geofence_devices

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/devices

[alpha] Get Device

Response

Returns a JSON

Example

Query
query geofence_devices {
  geofence_devices
}
Response
{"data": {"geofence_devices": {}}}

geofence_devices_alerts

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/devices/{args.id}/alerts

[alpha] List device alerts

Response

Returns an alert_paginated

Arguments
Name Description
id - String! Device id
state - String Alert state
event_type - String Alert event type
group_id - String group_id
sort - queryInput_devices_alerts_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_devices_alerts(
  $id: String!,
  $state: String,
  $event_type: String,
  $group_id: String,
  $sort: queryInput_devices_alerts_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_devices_alerts(
    id: $id,
    state: $state,
    event_type: $event_type,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_alertFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "state": "xyz789",
  "event_type": "xyz789",
  "group_id": "xyz789",
  "sort": "id",
  "page_number": 123,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_devices_alerts": {
      "data": [geofence_alert],
      "meta": meta
    }
  }
}

geofence_devices_geofences

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/devices/{args.id}/geofences

[alpha] List device geofences

Response

Returns a geofence_paginated

Arguments
Name Description
id - String! Device id
active - Boolean active status
label - String label (accept partial match)
imei - String IMEI (accept partial match)
shape_center - String shape center coordinate in the format 'latitude,longitude,max_distance_in_meters'
group_id - String group_id
sort - queryInput_devices_geofences_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_devices_geofences(
  $id: String!,
  $active: Boolean,
  $label: String,
  $imei: String,
  $shape_center: String,
  $group_id: String,
  $sort: queryInput_devices_geofences_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_devices_geofences(
    id: $id,
    active: $active,
    label: $label,
    imei: $imei,
    shape_center: $shape_center,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_geofenceFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "active": false,
  "label": "abc123",
  "imei": "xyz789",
  "shape_center": "xyz789",
  "group_id": "abc123",
  "sort": "id",
  "page_number": 987,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_devices_geofences": {
      "data": [geofence_geofence],
      "meta": meta
    }
  }
}

geofence_drop_data_requests

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/drop_data_requests

[alpha] List Drop Data Requests

Response

Returns a JSON

Example

Query
query geofence_drop_data_requests {
  geofence_drop_data_requests
}
Response
{"data": {"geofence_drop_data_requests": {}}}

geofence_geofence

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}

[alpha] Show Geofence

Response

Returns a geofence_show

Arguments
Name Description
id - String! Geofence id

Example

Query
query geofence_geofence($id: String!) {
  geofence_geofence(id: $id) {
    data {
      ...geofence_geofenceFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "geofence_geofence": {"data": geofence_geofence}
  }
}

geofence_geofences

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences

[alpha] Get Geofence

Response

Returns a geofence_paginated

Arguments
Name Description
active - Boolean active status
label - String label (accept partial match)
imei - String IMEI (accept partial match)
shape_center - String shape center coordinate in the format 'latitude,longitude,max_distance_in_meters'
group_id - String group_id
sort - queryInput_geofences_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences(
  $active: Boolean,
  $label: String,
  $imei: String,
  $shape_center: String,
  $group_id: String,
  $sort: queryInput_geofences_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences(
    active: $active,
    label: $label,
    imei: $imei,
    shape_center: $shape_center,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_geofenceFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "active": false,
  "label": "xyz789",
  "imei": "xyz789",
  "shape_center": "xyz789",
  "group_id": "abc123",
  "sort": "id",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "geofence_geofences": {
      "data": [geofence_geofence],
      "meta": meta
    }
  }
}

geofence_geofences_alerts

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.geofence_id}/alerts

[alpha] Get Geofence Alerts

Response

Returns an alert_paginated

Arguments
Name Description
geofence_id - String! Geofence id
state - String Alert state
event_type - String Alert event type
group_id - String group_id
sort - queryInput_geofences_alerts_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences_alerts(
  $geofence_id: String!,
  $state: String,
  $event_type: String,
  $group_id: String,
  $sort: queryInput_geofences_alerts_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences_alerts(
    geofence_id: $geofence_id,
    state: $state,
    event_type: $event_type,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_alertFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "geofence_id": "xyz789",
  "state": "xyz789",
  "event_type": "abc123",
  "group_id": "xyz789",
  "sort": "id",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "geofence_geofences_alerts": {
      "data": [geofence_alert],
      "meta": meta
    }
  }
}

geofence_geofences_devices

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.geofence_id}/devices

[alpha] Get Geofence Devices

Response

Returns a geofence_device_paginated

Arguments
Name Description
geofence_id - String! Geofence id
imei - String IMEI (accept partial match)
sort - queryInput_geofences_devices_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences_devices(
  $geofence_id: String!,
  $imei: String,
  $sort: queryInput_geofences_devices_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences_devices(
    geofence_id: $geofence_id,
    imei: $imei,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_deviceFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "geofence_id": "xyz789",
  "imei": "xyz789",
  "sort": "id",
  "page_number": 123,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_geofences_devices": {
      "data": [geofence_device],
      "meta": meta
    }
  }
}

geofence_geofences_groups

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.geofence_id}/groups

[alpha] Get Geofence Groups

Response

Returns a JSON

Arguments
Name Description
geofence_id - String! Geofence id

Example

Query
query geofence_geofences_groups($geofence_id: String!) {
  geofence_geofences_groups(geofence_id: $geofence_id)
}
Variables
{"geofence_id": "xyz789"}
Response
{"data": {"geofence_geofences_groups": {}}}

geofence_geofences_relationships_devices

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/relationships/devices

[alpha] Show Devices

Response

Returns a JSON

Arguments
Name Description
id - String! Geofence id
imei - String IMEI (accept partial match)
sort - queryInput_geofences_relationships_devices_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences_relationships_devices(
  $id: String!,
  $imei: String,
  $sort: queryInput_geofences_relationships_devices_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences_relationships_devices(
    id: $id,
    imei: $imei,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  )
}
Variables
{
  "id": "abc123",
  "imei": "abc123",
  "sort": "id",
  "page_number": 987,
  "page_size": 123
}
Response
{"data": {"geofence_geofences_relationships_devices": {}}}

geofence_geofences_schedules

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/schedules

[alpha] Get Geofence Schedules

Response

Returns a schedule_paginated

Arguments
Name Description
id - String! Geofence id
time_zone - timezone
outside_of_slots - Boolean outside of slots
group_id - String group_id
sort - queryInput_geofences_schedules_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences_schedules(
  $id: String!,
  $time_zone: timezone,
  $outside_of_slots: Boolean,
  $group_id: String,
  $sort: queryInput_geofences_schedules_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences_schedules(
    id: $id,
    time_zone: $time_zone,
    outside_of_slots: $outside_of_slots,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_scheduleFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "time_zone": "Africa_Abidjan",
  "outside_of_slots": true,
  "group_id": "abc123",
  "sort": "id",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "geofence_geofences_schedules": {
      "data": [geofence_schedule],
      "meta": meta
    }
  }
}

geofence_geofences_shapes

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/shapes

[alpha] Get Geofence Schedules

Response

Returns a shape_paginated

Arguments
Name Description
id - String! Geofence id
geometry_type - String Shape geometry type
shape_center - String Shape center coordinate in the format 'latitude,longitude,max_distance_in_meters'
group_id - String group_id
sort - queryInput_geofences_shapes_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_geofences_shapes(
  $id: String!,
  $geometry_type: String,
  $shape_center: String,
  $group_id: String,
  $sort: queryInput_geofences_shapes_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_geofences_shapes(
    id: $id,
    geometry_type: $geometry_type,
    shape_center: $shape_center,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_shapeFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "geometry_type": "abc123",
  "shape_center": "xyz789",
  "group_id": "xyz789",
  "sort": "id",
  "page_number": 123,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_geofences_shapes": {
      "data": [geofence_shape],
      "meta": meta
    }
  }
}

geofence_schedule

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/schedules/{args.id}

[alpha] Show Schedule

Response

Returns a schedule_show

Arguments
Name Description
id - String! Schedule id

Example

Query
query geofence_schedule($id: String!) {
  geofence_schedule(id: $id) {
    data {
      ...geofence_scheduleFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "geofence_schedule": {"data": geofence_schedule}
  }
}

geofence_schedules

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/schedules

[alpha] Get Schedules

Response

Returns a schedule_paginated

Arguments
Name Description
geofence_id - String geofence identifier
time_zone - timezone
outside_of_slots - Boolean outside of slots
group_id - String group_id
sort - queryInput_schedules_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_schedules(
  $geofence_id: String,
  $time_zone: timezone,
  $outside_of_slots: Boolean,
  $group_id: String,
  $sort: queryInput_schedules_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_schedules(
    geofence_id: $geofence_id,
    time_zone: $time_zone,
    outside_of_slots: $outside_of_slots,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_scheduleFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "geofence_id": "abc123",
  "time_zone": "Africa_Abidjan",
  "outside_of_slots": false,
  "group_id": "xyz789",
  "sort": "id",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "geofence_schedules": {
      "data": [geofence_schedule],
      "meta": meta
    }
  }
}

geofence_shape

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/shapes/{args.id}

[alpha] Show Shape

Response

Returns a shape_show

Arguments
Name Description
id - String! Geofence id

Example

Query
query geofence_shape($id: String!) {
  geofence_shape(id: $id) {
    data {
      ...geofence_shapeFragment
    }
  }
}
Variables
{"id": "xyz789"}
Response
{"data": {"geofence_shape": {"data": geofence_shape}}}

geofence_shapes

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/shapes

[alpha] Get Shape

Response

Returns a shape_paginated

Arguments
Name Description
geofence_id - String Geofence identifier
geometry_type - String Shape geometry type
shape_center - String Shape center coordinate in the format 'latitude,longitude,max_distance_in_meters'
group_id - String group_id
sort - queryInput_shapes_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_shapes(
  $geofence_id: String,
  $geometry_type: String,
  $shape_center: String,
  $group_id: String,
  $sort: queryInput_shapes_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_shapes(
    geofence_id: $geofence_id,
    geometry_type: $geometry_type,
    shape_center: $shape_center,
    group_id: $group_id,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...geofence_shapeFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "geofence_id": "xyz789",
  "geometry_type": "abc123",
  "shape_center": "abc123",
  "group_id": "abc123",
  "sort": "id",
  "page_number": 987,
  "page_size": 123
}
Response
{
  "data": {
    "geofence_shapes": {
      "data": [geofence_shape],
      "meta": meta
    }
  }
}

geofence_user

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/users/{args.id}

[alpha] Show User

Response

Returns a geofence_user

Arguments
Name Description
id - String! User id

Example

Query
query geofence_user($id: String!) {
  geofence_user(id: $id) {
    data {
      ...geofence_query_user_dataFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "geofence_user": {"data": geofence_query_user_data}
  }
}

geofence_users

Description

Method: GET Base URL: {env.GEOFENCE_API} Path: /v1/users

[alpha] Get Users

Response

Returns a JSON

Arguments
Name Description
uid - String UID (accept partial match)
full_name - String full name (accept partial match)
role - String role
sort - queryInput_users_sort
page_number - Int page number
page_size - Int page size

Example

Query
query geofence_users(
  $uid: String,
  $full_name: String,
  $role: String,
  $sort: queryInput_users_sort,
  $page_number: Int,
  $page_size: Int
) {
  geofence_users(
    uid: $uid,
    full_name: $full_name,
    role: $role,
    sort: $sort,
    page_number: $page_number,
    page_size: $page_size
  )
}
Variables
{
  "uid": "xyz789",
  "full_name": "xyz789",
  "role": "abc123",
  "sort": "id",
  "page_number": 123,
  "page_size": 987
}
Response
{"data": {"geofence_users": {}}}

get_driver_authorized_vehicle

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/driver_authorized_vehicles/{args.vehicle_id}

[beta] show vehicle authorization info

Arguments
Name Description
driver_id - String! Driver ID
vehicle_id - String! Vehicle ID

Example

Query
query get_driver_authorized_vehicle(
  $driver_id: String!,
  $vehicle_id: String!
) {
  get_driver_authorized_vehicle(
    driver_id: $driver_id,
    vehicle_id: $vehicle_id
  ) {
    ... on driver_authorized_vehicle_show {
      ...driver_authorized_vehicle_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "vehicle_id": "xyz789"
}
Response
{
  "data": {
    "get_driver_authorized_vehicle": driver_authorized_vehicle_show
  }
}

get_driver_auxiliary_device

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/auxiliary_devices/{args.aux_id}

[beta] show auxiliary device info

Arguments
Name Description
driver_id - String! Driver ID
aux_id - String! Auxiliary Device ID

Example

Query
query get_driver_auxiliary_device(
  $driver_id: String!,
  $aux_id: String!
) {
  get_driver_auxiliary_device(
    driver_id: $driver_id,
    aux_id: $aux_id
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "xyz789",
  "aux_id": "xyz789"
}
Response
{
  "data": {
    "get_driver_auxiliary_device": auxiliary_device_show
  }
}

get_metadatum

Description

Get trip metdatum

Response

Returns a TripMetadatum

Arguments
Name Description
id - ID! Metadatum id

Example

Query
query get_metadatum($id: ID!) {
  get_metadatum(id: $id) {
    created_at
    id
    key
    trip_id
    updated_at
    value
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "get_metadatum": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": 4,
      "key": "xyz789",
      "trip_id": "4",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "abc123"
    }
  }
}

get_vehicle_auxiliary_device

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/auxiliary_devices/{args.aux_id}

[beta] show auxiliary device info

Arguments
Name Description
vehicle_id - String! Vehicle ID
aux_id - String! Auxiliary Device ID

Example

Query
query get_vehicle_auxiliary_device(
  $vehicle_id: String!,
  $aux_id: String!
) {
  get_vehicle_auxiliary_device(
    vehicle_id: $vehicle_id,
    aux_id: $aux_id
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "abc123",
  "aux_id": "xyz789"
}
Response
{
  "data": {
    "get_vehicle_auxiliary_device": auxiliary_device_show
  }
}

group

Response

Returns a Group

Arguments
Name Description
id - ID! Group Identifier

Example

Query
query group($id: ID!) {
  group(id: $id) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    children {
      ...GroupPagedFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    hierarchy_level
    label
    owner {
      ...AccountFragment
    }
    parents {
      ...GroupPagedFragment
    }
    tags
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    device_groups {
      ...device_group_paginatedFragment
    }
    user_roles {
      ...user_role_paginatedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    summary_from_alerts {
      ... on fleet_summary {
        ...fleet_summaryFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "group": {
      "id": "4",
      "alerts": VehicleAlertPaged,
      "children": GroupPaged,
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "hierarchy_level": "CENTER",
      "label": "xyz789",
      "owner": Account,
      "parents": GroupPaged,
      "tags": ["xyz789"],
      "users": AccountPaged,
      "vehicles": VehiclePaged,
      "device_groups": device_group_paginated,
      "user_roles": user_role_paginated,
      "geofences": geofence_paginated,
      "summary_from_journey": journey_summary,
      "journey_reports": report_paginated,
      "summary_from_alerts": fleet_summary
    }
  }
}

group_devices

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/groups/{args.id}/device_groups

[alpha] List Group Devices

Response

Returns a device_group_paginated

Arguments
Name Description
id - String! Group Id
page_number - Int page number
page_size - Int page size
max_created_at - DateTime Max device group assocation created at

Example

Query
query group_devices(
  $id: String!,
  $page_number: Int,
  $page_size: Int,
  $max_created_at: DateTime
) {
  group_devices(
    id: $id,
    page_number: $page_number,
    page_size: $page_size,
    max_created_at: $max_created_at
  ) {
    data {
      ...am_device_groupFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "page_number": 987,
  "page_size": 987,
  "max_created_at": "2007-12-03T10:15:30Z"
}
Response
{
  "data": {
    "group_devices": {
      "data": [am_device_group],
      "meta": meta
    }
  }
}

groups

Response

Returns a GroupPaged

Arguments
Name Description
hierarchy_levels - [GroupHierarchyLevel!]
ids - [ID!]
labels - [String!]
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query groups(
  $hierarchy_levels: [GroupHierarchyLevel!],
  $ids: [ID!],
  $labels: [String!],
  $page_id: ID,
  $page_size: Int
) {
  groups(
    hierarchy_levels: $hierarchy_levels,
    ids: $ids,
    labels: $labels,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...GroupFragment
    }
    next
  }
}
Variables
{
  "hierarchy_levels": ["CENTER"],
  "ids": ["4"],
  "labels": ["abc123"],
  "page_id": "4",
  "page_size": 123
}
Response
{
  "data": {
    "groups": {"count": 987, "list": [Group], "next": 4}
  }
}

journey_device_reports

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/devices/{args.id}/reports

[alpha] List group reports

Response

Returns a device_reports_response

Arguments
Name Description
id - String! device id
page_number - Int page number
page_size - Int page size
time - DateTime report having time
kind - report_kind
status - report_status
sort - String

Example

Query
query journey_device_reports(
  $id: String!,
  $page_number: Int,
  $page_size: Int,
  $time: DateTime,
  $kind: report_kind,
  $status: report_status,
  $sort: String
) {
  journey_device_reports(
    id: $id,
    page_number: $page_number,
    page_size: $page_size,
    time: $time,
    kind: $kind,
    status: $status,
    sort: $sort
  ) {
    ... on report_paginated {
      ...report_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "page_number": 987,
  "page_size": 123,
  "time": "2007-12-03T10:15:30Z",
  "kind": "trips",
  "status": "pending",
  "sort": "abc123"
}
Response
{"data": {"journey_device_reports": report_paginated}}

journey_device_summary

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/devices/{args.id}/summary

[alpha] Show Device Summary

Response

Returns a journey_summary

Arguments
Name Description
id - String! Device id
since - DateTime since timestamp in RFC3339
until - DateTime until timestamp in RFC3339
computed_statistics - String computed_statistics
metadata_key - String include only trips having the given metadata_key
not_metadata_key - String include only trips not having the given metadata_key

Example

Query
query journey_device_summary(
  $id: String!,
  $since: DateTime,
  $until: DateTime,
  $computed_statistics: String,
  $metadata_key: String,
  $not_metadata_key: String
) {
  journey_device_summary(
    id: $id,
    since: $since,
    until: $until,
    computed_statistics: $computed_statistics,
    metadata_key: $metadata_key,
    not_metadata_key: $not_metadata_key
  ) {
    data {
      ...query_device_summary_dataFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "since": "2007-12-03T10:15:30Z",
  "until": "2007-12-03T10:15:30Z",
  "computed_statistics": "abc123",
  "metadata_key": "xyz789",
  "not_metadata_key": "abc123"
}
Response
{
  "data": {
    "journey_device_summary": {
      "data": query_device_summary_data
    }
  }
}

journey_device_trip_tag_schedules

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/devices/{args.id}/trip_tag_schedules

[alpha] List trip tag schedules

Response

Returns a trip_tag_schedule_paginated

Arguments
Name Description
id - String! Device id
page_number - Int page number
page_size - Int page size
active - Boolean is active

Example

Query
query journey_device_trip_tag_schedules(
  $id: String!,
  $page_number: Int,
  $page_size: Int,
  $active: Boolean
) {
  journey_device_trip_tag_schedules(
    id: $id,
    page_number: $page_number,
    page_size: $page_size,
    active: $active
  ) {
    data {
      ...journey_trip_tag_scheduleFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "page_number": 123,
  "page_size": 123,
  "active": true
}
Response
{
  "data": {
    "journey_device_trip_tag_schedules": {
      "data": [journey_trip_tag_schedule],
      "meta": meta
    }
  }
}

journey_device_trips

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/devices/{args.id}/trips

[alpha] List Device Trips

Response

Returns a journey_trip_paginated

Arguments
Name Description
id - String! Device id
min_time - DateTime min time
max_time - DateTime max time
has_time - DateTime has time
fields_trips - String fields to query
computed_statistics - String statistics to compute
with_postal_addresses - Boolean
fields_metadata - String fields to query
page_number - Int page number
page_size - Int page size
include - String additional relationship to query
metadata_key - String include only trips having the given metadata_key
not_metadata_key - String include only trips not having the given metadata_key

Example

Query
query journey_device_trips(
  $id: String!,
  $min_time: DateTime,
  $max_time: DateTime,
  $has_time: DateTime,
  $fields_trips: String,
  $computed_statistics: String,
  $with_postal_addresses: Boolean,
  $fields_metadata: String,
  $page_number: Int,
  $page_size: Int,
  $include: String,
  $metadata_key: String,
  $not_metadata_key: String
) {
  journey_device_trips(
    id: $id,
    min_time: $min_time,
    max_time: $max_time,
    has_time: $has_time,
    fields_trips: $fields_trips,
    computed_statistics: $computed_statistics,
    with_postal_addresses: $with_postal_addresses,
    fields_metadata: $fields_metadata,
    page_number: $page_number,
    page_size: $page_size,
    include: $include,
    metadata_key: $metadata_key,
    not_metadata_key: $not_metadata_key
  ) {
    data {
      ...journey_tripFragment
    }
    meta {
      ...metaFragment
    }
    included {
      ...journey_query_device_trips_included_itemsFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "min_time": "2007-12-03T10:15:30Z",
  "max_time": "2007-12-03T10:15:30Z",
  "has_time": "2007-12-03T10:15:30Z",
  "fields_trips": "abc123",
  "computed_statistics": "abc123",
  "with_postal_addresses": true,
  "fields_metadata": "xyz789",
  "page_number": 987,
  "page_size": 987,
  "include": "abc123",
  "metadata_key": "abc123",
  "not_metadata_key": "xyz789"
}
Response
{
  "data": {
    "journey_device_trips": {
      "data": [journey_trip],
      "meta": meta,
      "included": [
        journey_query_device_trips_included_items
      ]
    }
  }
}

journey_get_trip

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/trips/{args.id}

[alpha] Get one trip

Response

Returns a get_trip_response

Arguments
Name Description
id - String! Trip id
fields_trips - String fields to query
computed_statistics - String statistics to compute
with_postal_addresses - Boolean
fields_metadata - String fields to query
include - String additional relationship to query

Example

Query
query journey_get_trip(
  $id: String!,
  $fields_trips: String,
  $computed_statistics: String,
  $with_postal_addresses: Boolean,
  $fields_metadata: String,
  $include: String
) {
  journey_get_trip(
    id: $id,
    fields_trips: $fields_trips,
    computed_statistics: $computed_statistics,
    with_postal_addresses: $with_postal_addresses,
    fields_metadata: $fields_metadata,
    include: $include
  ) {
    ... on journey_trip_encapsulated {
      ...journey_trip_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "fields_trips": "abc123",
  "computed_statistics": "abc123",
  "with_postal_addresses": false,
  "fields_metadata": "xyz789",
  "include": "abc123"
}
Response
{"data": {"journey_get_trip": journey_trip_encapsulated}}

journey_group_reports

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/groups/{args.id}/reports

[alpha] List group reports

Response

Returns a group_reports_response

Arguments
Name Description
id - String! group id
page_number - Int page number
page_size - Int page size
time - DateTime report having time
kind - report_kind
status - report_status
sort - String

Example

Query
query journey_group_reports(
  $id: String!,
  $page_number: Int,
  $page_size: Int,
  $time: DateTime,
  $kind: report_kind,
  $status: report_status,
  $sort: String
) {
  journey_group_reports(
    id: $id,
    page_number: $page_number,
    page_size: $page_size,
    time: $time,
    kind: $kind,
    status: $status,
    sort: $sort
  ) {
    ... on report_paginated {
      ...report_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "page_number": 123,
  "page_size": 987,
  "time": "2007-12-03T10:15:30Z",
  "kind": "trips",
  "status": "pending",
  "sort": "abc123"
}
Response
{"data": {"journey_group_reports": report_paginated}}

journey_group_summary

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/groups/{args.id}/summary

[alpha] Show Group Summary

Response

Returns a journey_summary

Arguments
Name Description
id - String! Group id
since - DateTime since timestamp in RFC3339
until - DateTime until timestamp in RFC3339
computed_statistics - String computed_statistics
metadata_key - String include only trips having the given metadata_key
not_metadata_key - String include only trips not having the given metadata_key

Example

Query
query journey_group_summary(
  $id: String!,
  $since: DateTime,
  $until: DateTime,
  $computed_statistics: String,
  $metadata_key: String,
  $not_metadata_key: String
) {
  journey_group_summary(
    id: $id,
    since: $since,
    until: $until,
    computed_statistics: $computed_statistics,
    metadata_key: $metadata_key,
    not_metadata_key: $not_metadata_key
  ) {
    data {
      ...query_device_summary_dataFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "since": "2007-12-03T10:15:30Z",
  "until": "2007-12-03T10:15:30Z",
  "computed_statistics": "abc123",
  "metadata_key": "abc123",
  "not_metadata_key": "xyz789"
}
Response
{
  "data": {
    "journey_group_summary": {
      "data": query_device_summary_data
    }
  }
}

journey_report

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/reports/{args.id}

[alpha] Use show report

Response

Returns a report_response

Arguments
Name Description
id - String! report id

Example

Query
query journey_report($id: String!) {
  journey_report(id: $id) {
    ... on report_encapsulated {
      ...report_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{"data": {"journey_report": report_encapsulated}}

journey_reports

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/reports

[alpha] List reports

Response

Returns a reports_response

Arguments
Name Description
page_number - Int page number
page_size - Int page size
time - DateTime report having time
kind - report_kind
imei - String imei
group_id - String group_id
status - report_status
sort - String

Example

Query
query journey_reports(
  $page_number: Int,
  $page_size: Int,
  $time: DateTime,
  $kind: report_kind,
  $imei: String,
  $group_id: String,
  $status: report_status,
  $sort: String
) {
  journey_reports(
    page_number: $page_number,
    page_size: $page_size,
    time: $time,
    kind: $kind,
    imei: $imei,
    group_id: $group_id,
    status: $status,
    sort: $sort
  ) {
    ... on report_paginated {
      ...report_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "page_number": 123,
  "page_size": 123,
  "time": "2007-12-03T10:15:30Z",
  "kind": "trips",
  "imei": "xyz789",
  "group_id": "xyz789",
  "status": "pending",
  "sort": "abc123"
}
Response
{"data": {"journey_reports": report_paginated}}

journey_trip

Description

[alpha]

Response

Returns a get_trip_response

Arguments
Name Description
id - String!

Example

Query
query journey_trip($id: String!) {
  journey_trip(id: $id) {
    ... on journey_trip_encapsulated {
      ...journey_trip_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{"data": {"journey_trip": journey_trip_encapsulated}}

journey_trip_harshes

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/trips/{args.id}/harshes

[alpha] get journey trip harshes

Response

Returns a journey_trip_harsh_paginated

Arguments
Name Description
id - String! Trip id
page_number - Int page number
page_size - Int page size
fields_harshes - String

Example

Query
query journey_trip_harshes(
  $id: String!,
  $page_number: Int,
  $page_size: Int,
  $fields_harshes: String
) {
  journey_trip_harshes(
    id: $id,
    page_number: $page_number,
    page_size: $page_size,
    fields_harshes: $fields_harshes
  ) {
    data {
      ...journey_trip_harshFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "page_number": 987,
  "page_size": 987,
  "fields_harshes": "xyz789"
}
Response
{
  "data": {
    "journey_trip_harshes": {
      "data": [journey_trip_harsh],
      "meta": meta
    }
  }
}

journey_trip_tag_schedule

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules/{args.id}

[alpha] Show Trip Tag Schedule

Response

Returns a trip_tag_schedule_encapsulated

Arguments
Name Description
id - String! Device id

Example

Query
query journey_trip_tag_schedule($id: String!) {
  journey_trip_tag_schedule(id: $id) {
    data {
      ...journey_trip_tag_scheduleFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "journey_trip_tag_schedule": {
      "data": journey_trip_tag_schedule
    }
  }
}

journey_trip_tag_schedule_devices

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules/{args.id}/devices

[alpha] List trip tag schedule devices

Response

Returns a journey_device_paginated

Arguments
Name Description
id - String! Trip Tag Schedule id
fields_devices - String fields to request
page_number - Int page number
page_size - Int page size

Example

Query
query journey_trip_tag_schedule_devices(
  $id: String!,
  $fields_devices: String,
  $page_number: Int,
  $page_size: Int
) {
  journey_trip_tag_schedule_devices(
    id: $id,
    fields_devices: $fields_devices,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...journey_associated_deviceFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "fields_devices": "xyz789",
  "page_number": 123,
  "page_size": 123
}
Response
{
  "data": {
    "journey_trip_tag_schedule_devices": {
      "data": [journey_associated_device],
      "meta": meta
    }
  }
}

journey_trip_tag_schedules

Description

Method: GET Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules

[alpha] List trip tag schedules

Response

Returns a trip_tag_schedule_paginated

Arguments
Name Description
page_number - Int page number
page_size - Int page size
active - Boolean is active

Example

Query
query journey_trip_tag_schedules(
  $page_number: Int,
  $page_size: Int,
  $active: Boolean
) {
  journey_trip_tag_schedules(
    page_number: $page_number,
    page_size: $page_size,
    active: $active
  ) {
    data {
      ...journey_trip_tag_scheduleFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{"page_number": 123, "page_size": 987, "active": false}
Response
{
  "data": {
    "journey_trip_tag_schedules": {
      "data": [journey_trip_tag_schedule],
      "meta": meta
    }
  }
}

logfetch_actions

Description

List standard log fetch actions

Response

Returns a LogfetchActionPaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query logfetch_actions(
  $page_id: ID,
  $page_size: Int
) {
  logfetch_actions(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...LogfetchActionFragment
    }
    next
  }
}
Variables
{"page_id": "4", "page_size": 987}
Response
{
  "data": {
    "logfetch_actions": {
      "count": 987,
      "list": [LogfetchAction],
      "next": 4
    }
  }
}

lpa

Description

Local profile assistance

Response

Returns a Lpa

Arguments
Name Description
function_name - FunctionNameType! The name of the function to call
imei - ID! IMEI of the dongle
parameters - ParametersType! Parameters needed for the called function

Example

Query
query lpa(
  $function_name: FunctionNameType!,
  $imei: ID!,
  $parameters: ParametersType!
) {
  lpa(
    function_name: $function_name,
    imei: $imei,
    parameters: $parameters
  ) {
    function_name
    id
    imei
    parameters {
      ...ParametersFragment
    }
    status
  }
}
Variables
{
  "function_name": "DELETE_PROFILE",
  "imei": "4",
  "parameters": ParametersType
}
Response
{
  "data": {
    "lpa": {
      "function_name": "xyz789",
      "id": "4",
      "imei": "4",
      "parameters": Parameters,
      "status": "xyz789"
    }
  }
}

maintenance_criticality_threshold

Response

Returns a MaintenanceCriticalityThreshold

Example

Query
query maintenance_criticality_threshold {
  maintenance_criticality_threshold {
    criticality
    description
    id
    remaining_distance
    remaining_duration
  }
}
Response
{
  "data": {
    "maintenance_criticality_threshold": {
      "criticality": 123,
      "description": "xyz789",
      "id": "4",
      "remaining_distance": 987,
      "remaining_duration": 123
    }
  }
}

maintenance_criticality_thresholds

Description

Maintenance criticality ID

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query maintenance_criticality_thresholds(
  $page_id: ID,
  $page_size: Int
) {
  maintenance_criticality_thresholds(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...MaintenanceCriticalityThresholdFragment
    }
    next
  }
}
Variables
{"page_id": "4", "page_size": 123}
Response
{
  "data": {
    "maintenance_criticality_thresholds": {
      "count": 123,
      "list": [MaintenanceCriticalityThreshold],
      "next": "4"
    }
  }
}

maintenance_historical

Response

Returns a MaintenanceHistorical

Arguments
Name Description
id - ID! Historical maintenance ID

Example

Query
query maintenance_historical($id: ID!) {
  maintenance_historical(id: $id) {
    id
    date
    mileage
    template {
      ...MaintenanceTemplateFragment
    }
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "maintenance_historical": {
      "id": "4",
      "date": "2007-12-03T10:15:30Z",
      "mileage": 987,
      "template": MaintenanceTemplate,
      "vehicle": Vehicle
    }
  }
}

maintenance_template

Response

Returns a MaintenanceTemplate

Arguments
Name Description
id - ID! Maintenance template ID

Example

Query
query maintenance_template($id: ID!) {
  maintenance_template(id: $id) {
    id
    description
    from_external_service
    system {
      ...MaintenanceSystemFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "maintenance_template": {
      "id": "4",
      "description": "abc123",
      "from_external_service": true,
      "system": MaintenanceSystem
    }
  }
}

maintenance_upcoming

Description

Maintenance Planner : Get upcoming maintenance details by maitenance id

Response

Returns a MaintenanceUpcoming

Arguments
Name Description
id - ID! Upcoming maintenance ID

Example

Query
query maintenance_upcoming($id: ID!) {
  maintenance_upcoming(id: $id) {
    id
    criticality {
      ...MaintenanceCriticalityThresholdFragment
    }
    date_deadline
    mileage_deadline
    remaining_days_to_drive
    remaining_distance_to_drive
    template {
      ...MaintenanceTemplateFragment
    }
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "maintenance_upcoming": {
      "id": 4,
      "criticality": MaintenanceCriticalityThreshold,
      "date_deadline": "2007-12-03T10:15:30Z",
      "mileage_deadline": 123,
      "remaining_days_to_drive": 987,
      "remaining_distance_to_drive": 123,
      "template": MaintenanceTemplate,
      "vehicle": Vehicle
    }
  }
}

map_matching_v2_api_autocompletes

Description

Method: POST Base URL: {env.MAP_MATCHING_API_V2} Path: /v1/autocompletes [alpha] Fetch addresses from a given plain text place.

Response

Returns an autocompletes_response

Arguments
Name Description
input - autocomplete_create_Input

Example

Query
query map_matching_v2_api_autocompletes($input: autocomplete_create_Input) {
  map_matching_v2_api_autocompletes(input: $input) {
    ... on autocomplete_show {
      ...autocomplete_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": autocomplete_create_Input}
Response
{
  "data": {
    "map_matching_v2_api_autocompletes": autocomplete_show
  }
}

map_matching_v2_api_geocodes

Description

Method: POST Base URL: {env.MAP_MATCHING_API_V2} Path: /v1/geocodes

[alpha] Fetch addresses from prositions.

Response

Returns a geocodes_response

Arguments
Name Description
input - geocode_create_Input

Example

Query
query map_matching_v2_api_geocodes($input: geocode_create_Input) {
  map_matching_v2_api_geocodes(input: $input) {
    ... on geocode_show {
      ...geocode_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": geocode_create_Input}
Response
{"data": {"map_matching_v2_api_geocodes": geocode_show}}

map_matching_v2_api_matched_positions

Description

Method: GET Base URL: {env.MAP_MATCHING_API_V2} Path: /v1/devices/{args.id}/positions

[alpha] List all the positions attach to the device.

Response

Returns a map_matching_position_paginated

Arguments
Name Description
id - String! Device imei
page_number - Int page number
fields_positions - String
page_size - Int page size
start_time - DateTime! since timestamp in RFC3339
end_time - DateTime! unitl timestamp in RFC3339

Example

Query
query map_matching_v2_api_matched_positions(
  $id: String!,
  $page_number: Int,
  $fields_positions: String,
  $page_size: Int,
  $start_time: DateTime!,
  $end_time: DateTime!
) {
  map_matching_v2_api_matched_positions(
    id: $id,
    page_number: $page_number,
    fields_positions: $fields_positions,
    page_size: $page_size,
    start_time: $start_time,
    end_time: $end_time
  ) {
    data {
      ...map_matching_positionFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "page_number": 987,
  "fields_positions": "abc123",
  "page_size": 987,
  "start_time": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z"
}
Response
{
  "data": {
    "map_matching_v2_api_matched_positions": {
      "data": [map_matching_position],
      "meta": meta
    }
  }
}

map_matching_v2_api_revcodes

Description

Method: POST Base URL: {env.MAP_MATCHING_API_V2} Path: /v1/revcodes

[alpha] Fetch addresses from positions.

Response

Returns a revcodes_response

Arguments
Name Description
input - revcode_create_Input

Example

Query
query map_matching_v2_api_revcodes($input: revcode_create_Input) {
  map_matching_v2_api_revcodes(input: $input) {
    ... on revcode_show {
      ...revcode_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": revcode_create_Input}
Response
{"data": {"map_matching_v2_api_revcodes": revcode_show}}

metrics

Response

Returns a MetricPaged

Arguments
Name Description
ids - [ID!] Filter on ids
name_contains - String Metric name (substring)
names - [String!] Metric names
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
raw_unit - Boolean Don't convert into standard/SI units

Example

Query
query metrics(
  $ids: [ID!],
  $name_contains: String,
  $names: [String!],
  $page_id: ID,
  $page_size: Int,
  $raw_unit: Boolean
) {
  metrics(
    ids: $ids,
    name_contains: $name_contains,
    names: $names,
    page_id: $page_id,
    page_size: $page_size,
    raw_unit: $raw_unit
  ) {
    count
    list {
      ...MetricFragment
    }
    next
  }
}
Variables
{
  "ids": [4],
  "name_contains": "xyz789",
  "names": ["abc123"],
  "page_id": 4,
  "page_size": 123,
  "raw_unit": true
}
Response
{
  "data": {
    "metrics": {
      "count": 987,
      "list": [Metric],
      "next": "4"
    }
  }
}

munic_remote_diagnostic_interactive_Interactive_GetResponses

Example

Query
query munic_remote_diagnostic_interactive_Interactive_GetResponses($input: munic__remote_diagnostic__interactive__Action_Input) {
  munic_remote_diagnostic_interactive_Interactive_GetResponses(input: $input) {
    j2534_msgs {
      ...j2534__J2534MsgFragment
    }
  }
}
Variables
{
  "input": munic__remote_diagnostic__interactive__Action_Input
}
Response
{
  "data": {
    "munic_remote_diagnostic_interactive_Interactive_GetResponses": {
      "j2534_msgs": [j2534__J2534Msg]
    }
  }
}

munic_remote_diagnostic_interactive_Interactive_GetTasks

Example

Query
query munic_remote_diagnostic_interactive_Interactive_GetTasks($input: munic__remote_diagnostic__interactive__Action_Input) {
  munic_remote_diagnostic_interactive_Interactive_GetTasks(input: $input) {
    action_id
    tasks {
      ...meta_j2534__TaskFragment
    }
  }
}
Variables
{
  "input": munic__remote_diagnostic__interactive__Action_Input
}
Response
{
  "data": {
    "munic_remote_diagnostic_interactive_Interactive_GetTasks": {
      "action_id": "abc123",
      "tasks": [meta_j2534__Task]
    }
  }
}

munic_remote_diagnostic_interactive_Interactive_connectivityState

Response

Returns a ConnectivityState

Arguments
Name Description
tryToConnect - Boolean

Example

Query
query munic_remote_diagnostic_interactive_Interactive_connectivityState($tryToConnect: Boolean) {
  munic_remote_diagnostic_interactive_Interactive_connectivityState(tryToConnect: $tryToConnect)
}
Variables
{"tryToConnect": true}
Response
{
  "data": {
    "munic_remote_diagnostic_interactive_Interactive_connectivityState": "IDLE"
  }
}

onboarding_client_identification

Description

Method: GET Base URL: {env.ONBOARDING_API} Path: /v2/client_identifications/{args.id}

[alpha] Show Client Identification

Response

Returns a client_identification_v2_show

Arguments
Name Description
id - String!

Example

Query
query onboarding_client_identification($id: String!) {
  onboarding_client_identification(id: $id) {
    data {
      ...client_identification_v2Fragment
    }
  }
}
Variables
{"id": "xyz789"}
Response
{
  "data": {
    "onboarding_client_identification": {
      "data": client_identification_v2
    }
  }
}

onboarding_client_identifications

Description

Method: GET Base URL: {env.ONBOARDING_API} Path: /v2/client_identifications OB List Ticket

Arguments
Name Description
distributor_id - String
code - String
label - String
client_reference_type - String
default_user - String
client_reference - String
usable - Boolean
page_number - Int page number
page_size - Int page size

Example

Query
query onboarding_client_identifications(
  $distributor_id: String,
  $code: String,
  $label: String,
  $client_reference_type: String,
  $default_user: String,
  $client_reference: String,
  $usable: Boolean,
  $page_number: Int,
  $page_size: Int
) {
  onboarding_client_identifications(
    distributor_id: $distributor_id,
    code: $code,
    label: $label,
    client_reference_type: $client_reference_type,
    default_user: $default_user,
    client_reference: $client_reference,
    usable: $usable,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...client_identification_v2Fragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "distributor_id": "xyz789",
  "code": "xyz789",
  "label": "xyz789",
  "client_reference_type": "abc123",
  "default_user": "xyz789",
  "client_reference": "xyz789",
  "usable": true,
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "onboarding_client_identifications": {
      "data": [client_identification_v2],
      "meta": meta
    }
  }
}

onboarding_request_setup_status

Description

Method: GET Base URL: {env.ONBOARDING_API} Path: /v2/requests/{args.request_id}/setup_status

[alpha] Show onboarding request setup status

Response

Returns a request_setup_status_show

Arguments
Name Description
request_id - String!

Example

Query
query onboarding_request_setup_status($request_id: String!) {
  onboarding_request_setup_status(request_id: $request_id) {
    data {
      ...request_setup_statusFragment
    }
  }
}
Variables
{"request_id": "xyz789"}
Response
{
  "data": {
    "onboarding_request_setup_status": {
      "data": request_setup_status
    }
  }
}

onboardings

Description

List onboarding requests

Response

Returns an OnboardingRequestPaged

Arguments
Name Description
client_identification_ids - [ID!] Filter by client identification ids
device_ids - [ID!] Filter by linked device id
distributor_ids - [ID!] Filter by distributor ids
ids - [ID!] Filter by request id
multi - [String] Filter by Vehicle plate, vin, by Driver uid, by Device imei, serial_number or by Client Identification code, default_user and client_reference.
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
plates - [String!] Filter by linked vehicle plate
sort - [OnboardingRequestSort!] Sort criteria
status - [OnboardingStatus!] Filter by request status
vins - [String!] Filter by linked vehicle VIN

Example

Query
query onboardings(
  $client_identification_ids: [ID!],
  $device_ids: [ID!],
  $distributor_ids: [ID!],
  $ids: [ID!],
  $multi: [String],
  $page_id: ID,
  $page_size: Int,
  $plates: [String!],
  $sort: [OnboardingRequestSort!],
  $status: [OnboardingStatus!],
  $vins: [String!]
) {
  onboardings(
    client_identification_ids: $client_identification_ids,
    device_ids: $device_ids,
    distributor_ids: $distributor_ids,
    ids: $ids,
    multi: $multi,
    page_id: $page_id,
    page_size: $page_size,
    plates: $plates,
    sort: $sort,
    status: $status,
    vins: $vins
  ) {
    count
    list {
      ...OnboardingRequestFragment
    }
    next
  }
}
Variables
{
  "client_identification_ids": ["4"],
  "device_ids": [4],
  "distributor_ids": ["4"],
  "ids": [4],
  "multi": ["abc123"],
  "page_id": 4,
  "page_size": 987,
  "plates": ["abc123"],
  "sort": [OnboardingRequestSort],
  "status": ["OTHER"],
  "vins": ["abc123"]
}
Response
{
  "data": {
    "onboardings": {
      "count": 123,
      "list": [OnboardingRequest],
      "next": 4
    }
  }
}

organization

Description

Method: GET Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/organizations/{args.id}

[alpha] Show Organization

Response

Returns an organization_response

Arguments
Name Description
id - String! Organization id

Example

Query
query organization($id: String!) {
  organization(id: $id) {
    ... on organization_encapsulated {
      ...organization_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{"data": {"organization": organization_encapsulated}}

organizations

Description

Method: GET Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/organizations

[alpha] List Organizations

Response

Returns an organization_paginated

Arguments
Name Description
page_number - Int page number
page_size - Int page size

Example

Query
query organizations(
  $page_number: Int,
  $page_size: Int
) {
  organizations(
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...sso_organizationFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{"page_number": 987, "page_size": 987}
Response
{
  "data": {
    "organizations": {
      "data": [sso_organization],
      "meta": meta
    }
  }
}

parkings

Description

Get parkings for vehicles

Response

Returns a ParkingPaged

Arguments
Name Description
latitude - Float! Latitude
longitude - Float! Longitude
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
radius - Int! Search radius (meters)

Example

Query
query parkings(
  $latitude: Float!,
  $longitude: Float!,
  $page_id: ID,
  $page_size: Int,
  $radius: Int!
) {
  parkings(
    latitude: $latitude,
    longitude: $longitude,
    page_id: $page_id,
    page_size: $page_size,
    radius: $radius
  ) {
    count
    list {
      ...ParkingFragment
    }
    next
  }
}
Variables
{
  "latitude": 123.45,
  "longitude": 987.65,
  "page_id": 4,
  "page_size": 123,
  "radius": 123
}
Response
{
  "data": {
    "parkings": {
      "count": 123,
      "list": [Parking],
      "next": 4
    }
  }
}

partners

Description

List partners

Response

Returns an OnboardingPartnerPaged

Arguments
Name Description
ids - [ID!]
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query partners(
  $ids: [ID!],
  $page_id: ID,
  $page_size: Int
) {
  partners(
    ids: $ids,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...OnboardingPartnerFragment
    }
    next
  }
}
Variables
{
  "ids": [4],
  "page_id": "4",
  "page_size": 987
}
Response
{
  "data": {
    "partners": {
      "count": 123,
      "list": [OnboardingPartner],
      "next": "4"
    }
  }
}

password_check_token

Description

Check if a password reset token is valid

Response

Returns a Boolean

Arguments
Name Description
channel - PasswordResetChannel! Side channel type
id - ID! Side channel id
token - String! Reset token (see passwordResetToken())

Example

Query
query password_check_token(
  $channel: PasswordResetChannel!,
  $id: ID!,
  $token: String!
) {
  password_check_token(
    channel: $channel,
    id: $id,
    token: $token
  )
}
Variables
{
  "channel": "EMAIL",
  "id": 4,
  "token": "xyz789"
}
Response
{"data": {"password_check_token": false}}

perf

Experimental/unstable API
Description

Get performance info

Response

Returns a Perf

Arguments
Name Description
id - ID

Example

Query
query perf($id: ID) {
  perf(id: $id) {
    events {
      ...PerfEventFragment
    }
    id
  }
}
Variables
{"id": 4}
Response
{"data": {"perf": {"events": [PerfEvent], "id": 4}}}

post_v1_fleet_summaries

Description

Method: POST Base URL: {env.VEHICLE_ALERTS_API} Path: /v1/fleet_summaries

[alpha] Create fleet summaries

Arguments
Name Description
input - fleet_summary_Input

Example

Query
query post_v1_fleet_summaries($input: fleet_summary_Input) {
  post_v1_fleet_summaries(input: $input) {
    ... on fleet_summary {
      ...fleet_summaryFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": fleet_summary_Input}
Response
{"data": {"post_v1_fleet_summaries": fleet_summary}}

project

Response

Returns a Project

Arguments
Name Description
id - ID!

Example

Query
query project($id: ID!) {
  project(id: $id) {
    id
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    label
    owner {
      ...AccountFragment
    }
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "project": {
      "id": 4,
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "groups": GroupPaged,
      "label": "xyz789",
      "owner": Account,
      "users": AccountPaged,
      "vehicles": VehiclePaged
    }
  }
}

projects

Description

Get the logged-in user project list

Response

Returns a ProjectPaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query projects(
  $page_id: ID,
  $page_size: Int
) {
  projects(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...ProjectFragment
    }
    next
  }
}
Variables
{"page_id": 4, "page_size": 123}
Response
{
  "data": {
    "projects": {
      "count": 987,
      "list": [Project],
      "next": "4"
    }
  }
}

providers

Description

List providers

Response

Returns an OnboardingProviderPaged

Arguments
Name Description
ids - [ID!]
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query providers(
  $ids: [ID!],
  $page_id: ID,
  $page_size: Int
) {
  providers(
    ids: $ids,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...OnboardingProviderFragment
    }
    next
  }
}
Variables
{
  "ids": ["4"],
  "page_id": 4,
  "page_size": 123
}
Response
{
  "data": {
    "providers": {
      "count": 987,
      "list": [OnboardingProvider],
      "next": 4
    }
  }
}

quotation

Description

Get Quotation by ID

Response

Returns a Quotation

Arguments
Name Description
id - ID! Quotation ID

Example

Query
query quotation($id: ID!) {
  quotation(id: $id) {
    id
    booking_id
    currency
    maintenance_code
    plate_number
    price
    provider_quotation_id
    taxes
    taxes_price
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "quotation": {
      "id": 4,
      "booking_id": "4",
      "currency": "xyz789",
      "maintenance_code": "abc123",
      "plate_number": "xyz789",
      "price": 123,
      "provider_quotation_id": "4",
      "taxes": 987,
      "taxes_price": 123,
      "workshop": Workshop
    }
  }
}

quotations

Description

List Quotations

Response

Returns a QuotationPaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query quotations(
  $page_id: ID,
  $page_size: Int
) {
  quotations(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...QuotationFragment
    }
    next
  }
}
Variables
{"page_id": 4, "page_size": 123}
Response
{
  "data": {
    "quotations": {
      "count": 123,
      "list": [Quotation],
      "next": 4
    }
  }
}

rating

Description

Get Rating by ID

Response

Returns a Rating

Arguments
Name Description
id - ID! Rating ID

Example

Query
query rating($id: ID!) {
  rating(id: $id) {
    id
    booking {
      ...BookingFragment
    }
    created_at
    message
    response
    response_date
    stars
    status
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "rating": {
      "id": 4,
      "booking": Booking,
      "created_at": "2007-12-03T10:15:30Z",
      "message": "xyz789",
      "response": "xyz789",
      "response_date": "2007-12-03T10:15:30Z",
      "stars": 987,
      "status": "NOT_VERIFIED",
      "workshop": Workshop
    }
  }
}

rdc_doors_toggle_requests

Description

Method: GET Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/doors/requests/toggles List all doors toggle requests

Response

Returns a doors_toggle_request_paginated

Arguments
Name Description
account - String Account name
imei - String Device IMEI
request_custom_id - String Custom ID provided at creation
status - process_status

Example

Query
query rdc_doors_toggle_requests(
  $account: String,
  $imei: String,
  $request_custom_id: String,
  $status: process_status
) {
  rdc_doors_toggle_requests(
    account: $account,
    imei: $imei,
    request_custom_id: $request_custom_id,
    status: $status
  ) {
    data {
      ...doors_toggle_requestFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "account": "abc123",
  "imei": "abc123",
  "request_custom_id": "xyz789",
  "status": "unknown"
}
Response
{
  "data": {
    "rdc_doors_toggle_requests": {
      "data": [doors_toggle_request],
      "meta": meta
    }
  }
}

rdc_engine_immobilizer_requests

Description

Method: GET Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/engine/requests/immobilizers List all engine immobilizers requests

Arguments
Name Description
account - String Account name
imei - String Device IMEI
request_custom_id - String Custom ID provided at creation
status - process_status

Example

Query
query rdc_engine_immobilizer_requests(
  $account: String,
  $imei: String,
  $request_custom_id: String,
  $status: process_status
) {
  rdc_engine_immobilizer_requests(
    account: $account,
    imei: $imei,
    request_custom_id: $request_custom_id,
    status: $status
  ) {
    data {
      ...engine_immobilizer_requestFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "account": "abc123",
  "imei": "xyz789",
  "request_custom_id": "xyz789",
  "status": "unknown"
}
Response
{
  "data": {
    "rdc_engine_immobilizer_requests": {
      "data": [engine_immobilizer_request],
      "meta": meta
    }
  }
}

rdc_get_doors_toggle_request

Description

Method: GET Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/doors/requests/toggles/{args.id} Show request details

Response

Returns a doors_toggle_request_show

Arguments
Name Description
id - String! Request ID

Example

Query
query rdc_get_doors_toggle_request($id: String!) {
  rdc_get_doors_toggle_request(id: $id) {
    data {
      ...doors_toggle_requestFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "rdc_get_doors_toggle_request": {
      "data": doors_toggle_request
    }
  }
}

rdc_get_engine_immobilizer_request

Description

Method: GET Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/engine/requests/immobilizers/{args.id} Show request details

Response

Returns an engine_immobilizer_request_show

Arguments
Name Description
id - String! Request ID

Example

Query
query rdc_get_engine_immobilizer_request($id: String!) {
  rdc_get_engine_immobilizer_request(id: $id) {
    data {
      ...engine_immobilizer_requestFragment
    }
  }
}
Variables
{"id": "xyz789"}
Response
{
  "data": {
    "rdc_get_engine_immobilizer_request": {
      "data": engine_immobilizer_request
    }
  }
}

rdc_log

Description

Get log of sent RemoteDeviceCommands

Response

Returns [RdcAsyncAck]

Arguments
Name Description
endpoint - RdcEndpoint! Type of logs

Example

Query
query rdc_log($endpoint: RdcEndpoint!) {
  rdc_log(endpoint: $endpoint) {
    attributes
    id
    type
  }
}
Variables
{"endpoint": "DISPLACEMENT_SET"}
Response
{
  "data": {
    "rdc_log": [
      {
        "attributes": Json,
        "id": "4",
        "type": "abc123"
      }
    ]
  }
}

remote_diag

Description

Get a remote diagnostic session

Response

Returns a RemoteDiag

Arguments
Name Description
id - ID! Remote diagnostic session id

Example

Query
query remote_diag($id: ID!) {
  remote_diag(id: $id) {
    id
    actions {
      ...RemoteDiagActionPagedFragment
    }
    created_at
    current_step
    language
    provider_name
    result {
      ...RemoteDiagResultFragment
    }
    status
    steps {
      ...RemoteDiagStepPagedFragment
    }
    updated_at
    vci {
      ...RemoteDiagEndpointFragment
    }
    vud {
      ...RemoteDiagEndpointFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "remote_diag": {
      "id": "4",
      "actions": RemoteDiagActionPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_step": "OTHER",
      "language": Language,
      "provider_name": "abc123",
      "result": RemoteDiagResult,
      "status": "xyz789",
      "steps": RemoteDiagStepPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vci": RemoteDiagEndpoint,
      "vud": RemoteDiagEndpoint
    }
  }
}

remote_diagnostic_actions_requests

Description

Method: GET Base URL: {env.REMOTE_DIAGNOSTIC_API} Path: /v1/actions/{args.id}/requests Show actions

Response

Returns a requests

Arguments
Name Description
id - String! Action id

Example

Query
query remote_diagnostic_actions_requests($id: String!) {
  remote_diagnostic_actions_requests(id: $id) {
    data {
      ...query_actions_requests_dataFragment
    }
  }
}
Variables
{"id": "abc123"}
Response
{
  "data": {
    "remote_diagnostic_actions_requests": {
      "data": query_actions_requests_data
    }
  }
}

remote_diagnostic_actions_responses

Description

Method: GET Base URL: {env.REMOTE_DIAGNOSTIC_API} Path: /v1/actions/{args.id}/responses Show actions

Response

Returns a responses

Arguments
Name Description
id - String! Action id

Example

Query
query remote_diagnostic_actions_responses($id: String!) {
  remote_diagnostic_actions_responses(id: $id) {
    data {
      ...query_actions_responses_dataFragment
    }
  }
}
Variables
{"id": "xyz789"}
Response
{
  "data": {
    "remote_diagnostic_actions_responses": {
      "data": query_actions_responses_data
    }
  }
}

sso_user

Description

Method: GET Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/users/{args.id}

[alpha] Show User

Response

Returns a sso_user_response

Arguments
Name Description
id - String! User id

Example

Query
query sso_user($id: String!) {
  sso_user(id: $id) {
    ... on user {
      ...userFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"id": "xyz789"}
Response
{"data": {"sso_user": user}}

stations

Description

Get stations for vehicles

Response

Returns a StationPaged

Arguments
Name Description
connector_types - [ConnectorType] Electric connector type filter
energy_types - [EnergyType] Energy type filter
latitude - Float! Latitude
longitude - Float! Longitude
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
radius - Int! Search radius (meters)

Example

Query
query stations(
  $connector_types: [ConnectorType],
  $energy_types: [EnergyType],
  $latitude: Float!,
  $longitude: Float!,
  $page_id: ID,
  $page_size: Int,
  $radius: Int!
) {
  stations(
    connector_types: $connector_types,
    energy_types: $energy_types,
    latitude: $latitude,
    longitude: $longitude,
    page_id: $page_id,
    page_size: $page_size,
    radius: $radius
  ) {
    count
    list {
      ...StationFragment
    }
    next
  }
}
Variables
{
  "connector_types": ["AVCON_CONNECTOR"],
  "energy_types": ["ADBLUE"],
  "latitude": 123.45,
  "longitude": 987.65,
  "page_id": 4,
  "page_size": 987,
  "radius": 987
}
Response
{
  "data": {
    "stations": {
      "count": 987,
      "list": [Station],
      "next": "4"
    }
  }
}

system_info

Description

Get system information

Response

Returns a SystemInfo

Arguments
Name Description
extra - [String!] Default = []
service - String Filter services by name (substring match)

Example

Query
query system_info(
  $extra: [String!],
  $service: String
) {
  system_info(
    extra: $extra,
    service: $service
  ) {
    extra
    hash
    schema
    services {
      ...SystemServiceFragment
    }
    software
  }
}
Variables
{"extra": [""], "service": "xyz789"}
Response
{
  "data": {
    "system_info": {
      "extra": Json,
      "hash": "xyz789",
      "schema": "abc123",
      "services": [SystemService],
      "software": "abc123"
    }
  }
}

tickets

Description

List support tickets

Response

Returns a TicketPaged

Arguments
Name Description
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query tickets(
  $page_id: ID,
  $page_size: Int
) {
  tickets(
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...TicketFragment
    }
    next
  }
}
Variables
{"page_id": "4", "page_size": 123}
Response
{
  "data": {
    "tickets": {"count": 987, "list": [Ticket], "next": 4}
  }
}

trip

Description

Get trip

Response

Returns a Trip

Arguments
Name Description
id - ID! Trip id

Example

Query
query trip($id: ID!) {
  trip(id: $id) {
    id
    activities {
      ...TripActivityPagedFragment
    }
    average_speed
    co_2_estimation
    distance
    distance_in_day
    driving_duration
    driving_percentage
    duration
    eco_driving_score
    end_event {
      ...IdcoordinatesFragment
    }
    end_postal_address {
      ...AddressAttributesFragment
    }
    end_weather {
      ...WeatherFragment
    }
    fuel_efficiency
    fuel_estimation
    harshes {
      ...TripHarshPagedFragment
    }
    idling_duration
    idling_percentage
    locations {
      ...IdcoordinatesPagedFragment
    }
    max_idling_duration
    max_speed
    metadata {
      ...TripMetadatumPagedFragment
    }
    movements {
      ...TripMovementPagedFragment
    }
    nb_harsh_acceleration
    nb_harsh_braking
    nb_harsh_cornering
    nb_overspeed
    overconsumption_gap
    overemission_gap
    overspeed_distance
    overspeed_duration
    overspeed_score
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    safety_score
    start_event {
      ...IdcoordinatesFragment
    }
    start_postal_address {
      ...AddressAttributesFragment
    }
    start_weather {
      ...WeatherFragment
    }
    status
    stops {
      ...TripStopPagedFragment
    }
    tow_away
    journey_harshes {
      ...journey_trip_harsh_paginatedFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "trip": {
      "id": 4,
      "activities": TripActivityPaged,
      "average_speed": 987.65,
      "co_2_estimation": 123,
      "distance": 123,
      "distance_in_day": Percent,
      "driving_duration": 987,
      "driving_percentage": Percent,
      "duration": 123,
      "eco_driving_score": Percent,
      "end_event": Idcoordinates,
      "end_postal_address": AddressAttributes,
      "end_weather": Weather,
      "fuel_efficiency": 987.65,
      "fuel_estimation": 987,
      "harshes": TripHarshPaged,
      "idling_duration": 123,
      "idling_percentage": Percent,
      "locations": IdcoordinatesPaged,
      "max_idling_duration": 987,
      "max_speed": 987.65,
      "metadata": TripMetadatumPaged,
      "movements": TripMovementPaged,
      "nb_harsh_acceleration": 123,
      "nb_harsh_braking": 123,
      "nb_harsh_cornering": 987,
      "nb_overspeed": 123,
      "overconsumption_gap": AnyPercent,
      "overemission_gap": AnyPercent,
      "overspeed_distance": 987,
      "overspeed_duration": 123,
      "overspeed_score": Percent,
      "overspeeds": TripOverspeedPaged,
      "safety_score": Percent,
      "start_event": Idcoordinates,
      "start_postal_address": AddressAttributes,
      "start_weather": Weather,
      "status": "CLOSED",
      "stops": TripStopPaged,
      "tow_away": false,
      "journey_harshes": journey_trip_harsh_paginated
    }
  }
}

v1_user_alert_notifications

Description

Method: GET Base URL: {env.VEHICLE_ALERTS_API} Path: /v1/user_alert_notifications

[alpha] List user_alerts_notifications

Arguments
Name Description
geofence_id - [String] List of geofence IDs
event_type - geofence_event_type
uid - String UID
page_number - Int page number
page_size - Int page size

Example

Query
query v1_user_alert_notifications(
  $geofence_id: [String],
  $event_type: geofence_event_type,
  $uid: String,
  $page_number: Int,
  $page_size: Int
) {
  v1_user_alert_notifications(
    geofence_id: $geofence_id,
    event_type: $event_type,
    uid: $uid,
    page_number: $page_number,
    page_size: $page_size
  ) {
    data {
      ...va_fetch_user_alert_notificationFragment
    }
    meta {
      ...metaFragment
    }
  }
}
Variables
{
  "geofence_id": ["abc123"],
  "event_type": "ENTRY",
  "uid": "abc123",
  "page_number": 987,
  "page_size": 987
}
Response
{
  "data": {
    "v1_user_alert_notifications": {
      "data": [va_fetch_user_alert_notification],
      "meta": meta
    }
  }
}

vehicle

Response

Returns a Vehicle

Arguments
Name Description
id - ID! Vehicle id

Example

Query
query vehicle($id: ID!) {
  vehicle(id: $id) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    can_be_towed
    can_tow
    current_device {
      ...DeviceFragment
    }
    current_devices {
      ...DevicePagedFragment
    }
    current_driver {
      ...DriverFragment
    }
    current_towing_session_as_towing_vehicle {
      ...TowingSessionFragment
    }
    current_towing_session_as_trailer_vehicle {
      ...TowingSessionFragment
    }
    current_towing_vehicle {
      ...VehicleFragment
    }
    current_trailer_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    fuel_type
    fuel_type_secondary
    groups {
      ...GroupPagedFragment
    }
    has_driver
    hybrid
    kba
    ktype
    label
    last_trip {
      ...TripFragment
    }
    maintenance_schedules {
      ...MaintenanceSchedulePagedFragment
    }
    maintenance_templates {
      ...MaintenanceTemplatePagedFragment
    }
    maintenances_historical {
      ...MaintenanceHistoricalPagedFragment
    }
    maintenances_upcoming {
      ...MaintenanceUpcomingPagedFragment
    }
    make
    model
    model_id
    onboarded
    owner {
      ...AccountFragment
    }
    plate
    tags
    towing_sessions_as_towing_vehicle {
      ...TowingSessionPagedFragment
    }
    towing_sessions_as_trailer_vehicle {
      ...TowingSessionPagedFragment
    }
    trips {
      ...TripPagedFragment
    }
    vehicle_type
    vin
    vin_descriptions {
      ...DecodeVinResultFragment
    }
    year
    authorized_drivers {
      ... on vehicle_driver_paginated {
        ...vehicle_driver_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    refills {
      ... on refill_paged {
        ...refill_pagedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "vehicle": {
      "id": "4",
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "can_be_towed": false,
      "can_tow": true,
      "current_device": Device,
      "current_devices": DevicePaged,
      "current_driver": Driver,
      "current_towing_session_as_towing_vehicle": TowingSession,
      "current_towing_session_as_trailer_vehicle": TowingSession,
      "current_towing_vehicle": Vehicle,
      "current_trailer_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "fuel_type": "xyz789",
      "fuel_type_secondary": "xyz789",
      "groups": GroupPaged,
      "has_driver": false,
      "hybrid": false,
      "kba": "xyz789",
      "ktype": "xyz789",
      "label": "xyz789",
      "last_trip": Trip,
      "maintenance_schedules": MaintenanceSchedulePaged,
      "maintenance_templates": MaintenanceTemplatePaged,
      "maintenances_historical": MaintenanceHistoricalPaged,
      "maintenances_upcoming": MaintenanceUpcomingPaged,
      "make": "abc123",
      "model": "xyz789",
      "model_id": 4,
      "onboarded": true,
      "owner": Account,
      "plate": "abc123",
      "tags": ["abc123"],
      "towing_sessions_as_towing_vehicle": TowingSessionPaged,
      "towing_sessions_as_trailer_vehicle": TowingSessionPaged,
      "trips": TripPaged,
      "vehicle_type": "CAR",
      "vin": "abc123",
      "vin_descriptions": DecodeVinResult,
      "year": "xyz789",
      "authorized_drivers": vehicle_driver_paginated,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show,
      "refills": refill_paged
    }
  }
}

vehicle_alert

Description

Get vehicle alert

Response

Returns a VehicleAlert

Arguments
Name Description
id - ID!

Example

Query
query vehicle_alert($id: ID!) {
  vehicle_alert(id: $id) {
    aggregated_data {
      ...AggregatedDataFragment
    }
    created_at
    device {
      ...DeviceFragment
    }
    feedback_status
    feedbacks {
      ...VehicleAlertFeedbackPagedFragment
    }
    icon
    id
    language
    last_received
    last_reported
    source
    status
    type
    updated_at
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "vehicle_alert": {
      "aggregated_data": AggregatedData,
      "created_at": "2007-12-03T10:15:30Z",
      "device": Device,
      "feedback_status": "OTHER",
      "feedbacks": VehicleAlertFeedbackPaged,
      "icon": "abc123",
      "id": "4",
      "language": "OTHER",
      "last_received": "2007-12-03T10:15:30Z",
      "last_reported": "2007-12-03T10:15:30Z",
      "source": "OTHER",
      "status": "CLOSED",
      "type": "BAD_INSTALLATION",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

vehicle_alerts

Description

List vehicle alerts

Response

Returns a VehicleAlertPaged

Arguments
Name Description
battery_types - [VehicleAlertBatteryType!] Filter battery alerts by type
dtc_classification - DtcClassification Filter DTC alerts by classification
dtc_code - String Filter DTC alerts by code
dtc_mode - DtcMode Filter DTC alerts by mode
groups - [ID!] Filter by groups
ids - [ID!] Filter by ids
is_active - Boolean Filter by activity
language - LangArg Filter by language
maintenance_criticalities - [MaintenanceCriticalityArg!] Filter maintenance alerts by criticality
maintenance_from_vehicle - Boolean Filter maintenance alerts by source
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
sort - [VehicleAlertSort!] Sort criteria
source - VehicleAlertSourceArg Filter by source
status - VehicleAlertStatusArg Filter by status
types - [VehicleAlertTypeArg!] Filter by alert types
warning_light_code - String Filter by warning lignt code
warning_light_level - AlertWarningLightLevelArg Filter by warning light level

Example

Query
query vehicle_alerts(
  $battery_types: [VehicleAlertBatteryType!],
  $dtc_classification: DtcClassification,
  $dtc_code: String,
  $dtc_mode: DtcMode,
  $groups: [ID!],
  $ids: [ID!],
  $is_active: Boolean,
  $language: LangArg,
  $maintenance_criticalities: [MaintenanceCriticalityArg!],
  $maintenance_from_vehicle: Boolean,
  $page_id: ID,
  $page_size: Int,
  $sort: [VehicleAlertSort!],
  $source: VehicleAlertSourceArg,
  $status: VehicleAlertStatusArg,
  $types: [VehicleAlertTypeArg!],
  $warning_light_code: String,
  $warning_light_level: AlertWarningLightLevelArg
) {
  vehicle_alerts(
    battery_types: $battery_types,
    dtc_classification: $dtc_classification,
    dtc_code: $dtc_code,
    dtc_mode: $dtc_mode,
    groups: $groups,
    ids: $ids,
    is_active: $is_active,
    language: $language,
    maintenance_criticalities: $maintenance_criticalities,
    maintenance_from_vehicle: $maintenance_from_vehicle,
    page_id: $page_id,
    page_size: $page_size,
    sort: $sort,
    source: $source,
    status: $status,
    types: $types,
    warning_light_code: $warning_light_code,
    warning_light_level: $warning_light_level
  ) {
    count
    list {
      ...VehicleAlertFragment
    }
    next
  }
}
Variables
{
  "battery_types": ["DISCHARGE"],
  "dtc_classification": "ADVISORY",
  "dtc_code": "abc123",
  "dtc_mode": "ABSENT",
  "groups": ["4"],
  "ids": ["4"],
  "is_active": false,
  "language": "EN",
  "maintenance_criticalities": ["HIGH"],
  "maintenance_from_vehicle": true,
  "page_id": "4",
  "page_size": 987,
  "sort": [VehicleAlertSort],
  "source": "DEVICE",
  "status": "CLOSED",
  "types": ["BAD_INSTALLATION"],
  "warning_light_code": "abc123",
  "warning_light_level": "ADVISORY"
}
Response
{
  "data": {
    "vehicle_alerts": {
      "count": 987,
      "list": [VehicleAlert],
      "next": "4"
    }
  }
}

vehicle_authorized_drivers

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/authorized_drivers

[beta] list vehicle authorized drivers

Arguments
Name Description
vehicle_id - String! Vehicle ID
label - String Driver label
user_profile_id - String User profile ID
user_contact_id - String User contact ID
page_number - Int page number
page_size - Int page size

Example

Query
query vehicle_authorized_drivers(
  $vehicle_id: String!,
  $label: String,
  $user_profile_id: String,
  $user_contact_id: String,
  $page_number: Int,
  $page_size: Int
) {
  vehicle_authorized_drivers(
    vehicle_id: $vehicle_id,
    label: $label,
    user_profile_id: $user_profile_id,
    user_contact_id: $user_contact_id,
    page_number: $page_number,
    page_size: $page_size
  ) {
    ... on vehicle_driver_paginated {
      ...vehicle_driver_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "xyz789",
  "label": "xyz789",
  "user_profile_id": "xyz789",
  "user_contact_id": "abc123",
  "page_number": 123,
  "page_size": 987
}
Response
{
  "data": {
    "vehicle_authorized_drivers": vehicle_driver_paginated
  }
}

vehicle_auxiliary_devices

Description

Method: GET Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/auxiliary_devices

[beta] list driver's auxilary devices

Arguments
Name Description
vehicle_id - String! Vehicle ID
label - String Driver label
id_key - String Custom identifier
kind - auxiliary_device_kind
created_by_id - String User uid
serial_number - String User uid
page_number - Int page number
page_size - Int page size

Example

Query
query vehicle_auxiliary_devices(
  $vehicle_id: String!,
  $label: String,
  $id_key: String,
  $kind: auxiliary_device_kind,
  $created_by_id: String,
  $serial_number: String,
  $page_number: Int,
  $page_size: Int
) {
  vehicle_auxiliary_devices(
    vehicle_id: $vehicle_id,
    label: $label,
    id_key: $id_key,
    kind: $kind,
    created_by_id: $created_by_id,
    serial_number: $serial_number,
    page_number: $page_number,
    page_size: $page_size
  ) {
    ... on auxiliary_device_paginated {
      ...auxiliary_device_paginatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "abc123",
  "label": "xyz789",
  "id_key": "abc123",
  "kind": "phone",
  "created_by_id": "abc123",
  "serial_number": "abc123",
  "page_number": 987,
  "page_size": 123
}
Response
{
  "data": {
    "vehicle_auxiliary_devices": auxiliary_device_paginated
  }
}

vehicle_desc

Description

Get vehicle description by id

Response

Returns a DecodeVinResult

Arguments
Name Description
id - ID!

Example

Query
query vehicle_desc($id: ID!) {
  vehicle_desc(id: $id) {
    acceleration
    advanced_model
    body_type
    body_type_code
    brakes_abs
    brakes_front_type
    brakes_rear_type
    brakes_system
    cargo_capacity
    co_2_emission
    co_emission
    color
    company_id
    country
    critair
    curb_weight
    day_of_first_circulation
    day_of_sale
    decoding_region
    doors
    drive_type
    electric_vehicle_battery_capacity
    electric_vehicle_battery_voltage
    emission_standard
    engine_aspiration
    engine_bore
    engine_code
    engine_configuration
    engine_cylinder_head_type
    engine_cylinders
    engine_displacement
    engine_extra
    engine_fiscal_power
    engine_fuel_type
    engine_fuel_type_secondary
    engine_fuel_type_tertiary
    engine_ignition_system
    engine_manufacturer
    engine_output_power
    engine_output_power_ps
    engine_rpm_idle_max
    engine_rpm_idle_min
    engine_rpm_max
    engine_stroke
    engine_valves
    engine_version
    engine_with_turbo
    extra_info {
      ...VinExtraInfoFragment
    }
    front_overhang
    front_track
    fuel_efficiency_city
    fuel_efficiency_combined
    fuel_efficiency_highway
    fuel_injection_control_type
    fuel_injection_subtype
    fuel_injection_system_design
    fuel_injection_type
    gearbox_speed
    gearbox_type
    gross_weight
    hc_emission
    hc_nox_emission
    height
    hip_room_front
    hip_room_rear
    id
    k_type
    kba
    length
    make
    manufacturer
    max_roof_load
    max_tow_bar_download
    max_trailer_load_b_license
    max_trailer_load_braked_12
    max_trailer_load_unbraked
    model
    model_code
    model_version_code
    month_of_first_circulation
    month_of_sale
    nox_emission
    oil_temperature_emission
    options {
      ...DescriptionOptionFragment
    }
    plate
    price
    rear_overhang
    rear_track
    seats
    sli_battery_capacity
    springs_front_type
    springs_rear_type
    steering_system
    steering_type
    tank_volume
    top_speed
    transmission_electronic_control
    transmission_manufacturer_code
    transmission_type
    trunk_volume
    url_vehicle_image
    vehicle_type
    verified
    vin
    wheel_base
    wheels_dimension
    width
    year_of_first_circulation
    year_of_sale
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "vehicle_desc": {
      "acceleration": 123.45,
      "advanced_model": "xyz789",
      "body_type": "abc123",
      "body_type_code": "abc123",
      "brakes_abs": "xyz789",
      "brakes_front_type": "xyz789",
      "brakes_rear_type": "xyz789",
      "brakes_system": "xyz789",
      "cargo_capacity": 987,
      "co_2_emission": 987,
      "co_emission": 123.45,
      "color": "xyz789",
      "company_id": 4,
      "country": "abc123",
      "critair": "abc123",
      "curb_weight": 123,
      "day_of_first_circulation": 987,
      "day_of_sale": 987,
      "decoding_region": "xyz789",
      "doors": 123,
      "drive_type": "xyz789",
      "electric_vehicle_battery_capacity": 987.65,
      "electric_vehicle_battery_voltage": 123.45,
      "emission_standard": "abc123",
      "engine_aspiration": "xyz789",
      "engine_bore": 123.45,
      "engine_code": "abc123",
      "engine_configuration": "abc123",
      "engine_cylinder_head_type": "abc123",
      "engine_cylinders": 987,
      "engine_displacement": 987,
      "engine_extra": "xyz789",
      "engine_fiscal_power": 987,
      "engine_fuel_type": "ADBLUE",
      "engine_fuel_type_secondary": "ADBLUE",
      "engine_fuel_type_tertiary": "ADBLUE",
      "engine_ignition_system": "abc123",
      "engine_manufacturer": "abc123",
      "engine_output_power": 987,
      "engine_output_power_ps": 123,
      "engine_rpm_idle_max": 987,
      "engine_rpm_idle_min": 987,
      "engine_rpm_max": 123,
      "engine_stroke": 123.45,
      "engine_valves": 987,
      "engine_version": "abc123",
      "engine_with_turbo": true,
      "extra_info": VinExtraInfo,
      "front_overhang": 987,
      "front_track": 987,
      "fuel_efficiency_city": 123.45,
      "fuel_efficiency_combined": 987.65,
      "fuel_efficiency_highway": 987.65,
      "fuel_injection_control_type": "xyz789",
      "fuel_injection_subtype": "xyz789",
      "fuel_injection_system_design": "xyz789",
      "fuel_injection_type": "xyz789",
      "gearbox_speed": 987,
      "gearbox_type": "abc123",
      "gross_weight": 123,
      "hc_emission": 987.65,
      "hc_nox_emission": 123.45,
      "height": 123,
      "hip_room_front": 123,
      "hip_room_rear": 987,
      "id": 4,
      "k_type": "abc123",
      "kba": 4,
      "length": 987,
      "make": "abc123",
      "manufacturer": "abc123",
      "max_roof_load": 123,
      "max_tow_bar_download": 123,
      "max_trailer_load_b_license": 123,
      "max_trailer_load_braked_12": 987,
      "max_trailer_load_unbraked": 987,
      "model": "abc123",
      "model_code": "abc123",
      "model_version_code": "xyz789",
      "month_of_first_circulation": 987,
      "month_of_sale": 987,
      "nox_emission": 987.65,
      "oil_temperature_emission": 123.45,
      "options": [DescriptionOption],
      "plate": "abc123",
      "price": 123,
      "rear_overhang": 987,
      "rear_track": 987,
      "seats": 123,
      "sli_battery_capacity": 123.45,
      "springs_front_type": "abc123",
      "springs_rear_type": "abc123",
      "steering_system": "xyz789",
      "steering_type": "abc123",
      "tank_volume": 987,
      "top_speed": 123,
      "transmission_electronic_control": "xyz789",
      "transmission_manufacturer_code": "abc123",
      "transmission_type": "abc123",
      "trunk_volume": 123,
      "url_vehicle_image": "xyz789",
      "vehicle_type": "abc123",
      "verified": false,
      "vin": "abc123",
      "wheel_base": 987,
      "wheels_dimension": "abc123",
      "width": 123,
      "year_of_first_circulation": 123,
      "year_of_sale": 123
    }
  }
}

vehicle_service

Description

Get Vehicle service by ID

Response

Returns a VehicleService

Arguments
Name Description
id - ID! Vehicle service ID

Example

Query
query vehicle_service($id: ID!) {
  vehicle_service(id: $id) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "vehicle_service": {
      "id": "4",
      "description": "xyz789",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_services

Description

List Vehicle services

Response

Returns a VehicleServicePaged

Arguments
Name Description
label - String Vehicle service label
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query vehicle_services(
  $label: String,
  $page_id: ID,
  $page_size: Int
) {
  vehicle_services(
    label: $label,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...VehicleServiceFragment
    }
    next
  }
}
Variables
{
  "label": "xyz789",
  "page_id": 4,
  "page_size": 123
}
Response
{
  "data": {
    "vehicle_services": {
      "count": 123,
      "list": [VehicleService],
      "next": "4"
    }
  }
}

vehicle_type

Description

Get Vehicle type by ID

Response

Returns a VehicleType

Arguments
Name Description
id - ID! Vehicle type ID

Example

Query
query vehicle_type($id: ID!) {
  vehicle_type(id: $id) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "vehicle_type": {
      "id": 4,
      "description": "xyz789",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_types

Description

List Vehicle types

Response

Returns a VehicleTypePaged

Arguments
Name Description
label - String Vehicle type label
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query vehicle_types(
  $label: String,
  $page_id: ID,
  $page_size: Int
) {
  vehicle_types(
    label: $label,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...VehicleTypeFragment
    }
    next
  }
}
Variables
{
  "label": "abc123",
  "page_id": "4",
  "page_size": 987
}
Response
{
  "data": {
    "vehicle_types": {
      "count": 987,
      "list": [VehicleType],
      "next": "4"
    }
  }
}

vehicles

Description

Get the logged-in user vehicle list

Response

Returns a VehiclePaged

Arguments
Name Description
any_fuel_types - [String] Primary or secondary fuel type
can_be_towed - Boolean can be used as trailer vehicle
can_tow - Boolean can be used as towing vehicle
fuel_type_secondaries - [String] Secondary fuel type
fuel_types - [String] Primary fuel type
has_driver - Boolean has_driver
hybrid - Boolean hybrid
ids - [ID] Filter by ids
kba - [String] KBA
ktypes - [String] KType
labels - [String] Filter by labels
makes - [String] Model make
model_ids - [ID] Model ID
models - [String] Model
multi - [String] Filter by Vehicle plate, vin, make and model, by Driver label and by Device imei.
onboarded - Boolean onboarded
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
plates - [String] Filter by plates
vehicle_types - [VehicleTypeName] Vehicle type
vins - [String] Filter by VINs
years - [String] Model Year

Example

Query
query vehicles(
  $any_fuel_types: [String],
  $can_be_towed: Boolean,
  $can_tow: Boolean,
  $fuel_type_secondaries: [String],
  $fuel_types: [String],
  $has_driver: Boolean,
  $hybrid: Boolean,
  $ids: [ID],
  $kba: [String],
  $ktypes: [String],
  $labels: [String],
  $makes: [String],
  $model_ids: [ID],
  $models: [String],
  $multi: [String],
  $onboarded: Boolean,
  $page_id: ID,
  $page_size: Int,
  $plates: [String],
  $vehicle_types: [VehicleTypeName],
  $vins: [String],
  $years: [String]
) {
  vehicles(
    any_fuel_types: $any_fuel_types,
    can_be_towed: $can_be_towed,
    can_tow: $can_tow,
    fuel_type_secondaries: $fuel_type_secondaries,
    fuel_types: $fuel_types,
    has_driver: $has_driver,
    hybrid: $hybrid,
    ids: $ids,
    kba: $kba,
    ktypes: $ktypes,
    labels: $labels,
    makes: $makes,
    model_ids: $model_ids,
    models: $models,
    multi: $multi,
    onboarded: $onboarded,
    page_id: $page_id,
    page_size: $page_size,
    plates: $plates,
    vehicle_types: $vehicle_types,
    vins: $vins,
    years: $years
  ) {
    count
    list {
      ...VehicleFragment
    }
    next
  }
}
Variables
{
  "any_fuel_types": ["xyz789"],
  "can_be_towed": true,
  "can_tow": true,
  "fuel_type_secondaries": ["abc123"],
  "fuel_types": ["xyz789"],
  "has_driver": false,
  "hybrid": true,
  "ids": ["4"],
  "kba": ["abc123"],
  "ktypes": ["abc123"],
  "labels": ["xyz789"],
  "makes": ["xyz789"],
  "model_ids": [4],
  "models": ["abc123"],
  "multi": ["abc123"],
  "onboarded": false,
  "page_id": "4",
  "page_size": 123,
  "plates": ["xyz789"],
  "vehicle_types": ["CAR"],
  "vins": ["xyz789"],
  "years": ["xyz789"]
}
Response
{
  "data": {
    "vehicles": {
      "count": 987,
      "list": [Vehicle],
      "next": "4"
    }
  }
}

warning_icons

Description

List warning icons

Response

Returns a WarningIconPaged

Arguments
Name Description
codes - [String!]
names - [String!]
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)

Example

Query
query warning_icons(
  $codes: [String!],
  $names: [String!],
  $page_id: ID,
  $page_size: Int
) {
  warning_icons(
    codes: $codes,
    names: $names,
    page_id: $page_id,
    page_size: $page_size
  ) {
    count
    list {
      ...WarningIconFragment
    }
    next
  }
}
Variables
{
  "codes": ["abc123"],
  "names": ["abc123"],
  "page_id": "4",
  "page_size": 987
}
Response
{
  "data": {
    "warning_icons": {
      "count": 987,
      "list": [WarningIcon],
      "next": "4"
    }
  }
}

weather

Description

Get Weather using coordinates

Response

Returns a WeatherCoordinates

Arguments
Name Description
latitude - Float! Weather latitude
longitude - Float! Weather longitude
time - DateTime Weather date and time (defaults to current time)

Example

Query
query weather(
  $latitude: Float!,
  $longitude: Float!,
  $time: DateTime
) {
  weather(
    latitude: $latitude,
    longitude: $longitude,
    time: $time
  ) {
    latitude
    longitude
    temperature
    time
    weather
    weather_id
  }
}
Variables
{
  "latitude": 123.45,
  "longitude": 987.65,
  "time": "2007-12-03T10:15:30Z"
}
Response
{
  "data": {
    "weather": {
      "latitude": 123.45,
      "longitude": 123.45,
      "temperature": 987.65,
      "time": "2007-12-03T10:15:30Z",
      "weather": "xyz789",
      "weather_id": 123
    }
  }
}

wifi_status

Description

Get wifi status

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id

Example

Query
query wifi_status($device_id: ID!) {
  wifi_status(device_id: $device_id) {
    attributes
    id
    type
  }
}
Variables
{"device_id": "4"}
Response
{
  "data": {
    "wifi_status": {
      "attributes": Json,
      "id": 4,
      "type": "abc123"
    }
  }
}

workday

Description

Get Workday by ID

Response

Returns a Workday

Arguments
Name Description
id - ID! Workday ID

Example

Query
query workday($id: ID!) {
  workday(id: $id) {
    id
    closing_hour_1
    closing_hour_2
    day
    opening_hour_1
    opening_hour_2
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "workday": {
      "id": 4,
      "closing_hour_1": "abc123",
      "closing_hour_2": "xyz789",
      "day": "FRIDAY",
      "opening_hour_1": "abc123",
      "opening_hour_2": "abc123",
      "workshop": Workshop
    }
  }
}

workshop

Description

Get Workshop by ID

Response

Returns a Workshop

Arguments
Name Description
id - ID! Workshop ID

Example

Query
query workshop($id: ID!) {
  workshop(id: $id) {
    id
    address
    average_stars
    bookings {
      ...BookingPagedFragment
    }
    brand
    city
    code
    country
    driver_services {
      ...DriverServicePagedFragment
    }
    email
    fax
    icon
    international_phone
    language
    lat
    lon
    managers {
      ...WorkshopManagerPagedFragment
    }
    name
    phone
    postal_code
    provider
    provider_workshop_id
    province
    quotations {
      ...QuotationPagedFragment
    }
    ratings {
      ...RatingPagedFragment
    }
    time_zone
    vehicle_services {
      ...VehicleServicePagedFragment
    }
    vehicle_types {
      ...VehicleTypePagedFragment
    }
    web
    workdays {
      ...WorkdayPagedFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "workshop": {
      "id": 4,
      "address": "xyz789",
      "average_stars": 123.45,
      "bookings": BookingPaged,
      "brand": "xyz789",
      "city": "abc123",
      "code": "xyz789",
      "country": "abc123",
      "driver_services": DriverServicePaged,
      "email": "xyz789",
      "fax": "xyz789",
      "icon": "abc123",
      "international_phone": "xyz789",
      "language": Language,
      "lat": 987.65,
      "lon": 123.45,
      "managers": WorkshopManagerPaged,
      "name": "xyz789",
      "phone": "xyz789",
      "postal_code": "abc123",
      "provider": "abc123",
      "provider_workshop_id": "4",
      "province": "xyz789",
      "quotations": QuotationPaged,
      "ratings": RatingPaged,
      "time_zone": "abc123",
      "vehicle_services": VehicleServicePaged,
      "vehicle_types": VehicleTypePaged,
      "web": "abc123",
      "workdays": WorkdayPaged
    }
  }
}

workshops

Description

List Workshops

Response

Returns a WorkshopPaged

Arguments
Name Description
address - String Workshop address
available - String Workshop open on the specified DAY,HH:MM or DAY
average_stars - Float Workshop with average rating stars above value
brand - String Workshop brand
city - String Workshop city
code - String Workshop code
country - String Workshop country
distance - Int Max distance (km) from lat/lon
international_phone - String Workshop international phone
language - Language Workshop language
lat - Float Workshop latitude
lon - Float Workshop longitude
name - String Workshop name
page_id - ID Request page id (followup queries)
page_size - Int Results per page (initial query)
phone - String Workshop phone
postal_code - String Workshop postal code
provider - String Workshop provider
province - String Workshop province
time_zone - String Workshop time_zone

Example

Query
query workshops(
  $address: String,
  $available: String,
  $average_stars: Float,
  $brand: String,
  $city: String,
  $code: String,
  $country: String,
  $distance: Int,
  $international_phone: String,
  $language: Language,
  $lat: Float,
  $lon: Float,
  $name: String,
  $page_id: ID,
  $page_size: Int,
  $phone: String,
  $postal_code: String,
  $provider: String,
  $province: String,
  $time_zone: String
) {
  workshops(
    address: $address,
    available: $available,
    average_stars: $average_stars,
    brand: $brand,
    city: $city,
    code: $code,
    country: $country,
    distance: $distance,
    international_phone: $international_phone,
    language: $language,
    lat: $lat,
    lon: $lon,
    name: $name,
    page_id: $page_id,
    page_size: $page_size,
    phone: $phone,
    postal_code: $postal_code,
    provider: $provider,
    province: $province,
    time_zone: $time_zone
  ) {
    count
    list {
      ...WorkshopFragment
    }
    next
  }
}
Variables
{
  "address": "xyz789",
  "available": "abc123",
  "average_stars": 987.65,
  "brand": "xyz789",
  "city": "xyz789",
  "code": "abc123",
  "country": "abc123",
  "distance": 123,
  "international_phone": "xyz789",
  "language": Language,
  "lat": 987.65,
  "lon": 123.45,
  "name": "xyz789",
  "page_id": "4",
  "page_size": 987,
  "phone": "abc123",
  "postal_code": "abc123",
  "provider": "xyz789",
  "province": "xyz789",
  "time_zone": "abc123"
}
Response
{
  "data": {
    "workshops": {
      "count": 123,
      "list": [Workshop],
      "next": 4
    }
  }
}

Mutations

account_confirm

Description

Confirm account using side-channel code

Response

Returns an AccountConfirmation

Arguments
Name Description
code - String! Confirmation code

Example

Query
mutation account_confirm($code: String!) {
  account_confirm(code: $code) {
    force_reset_at_confirmation
    force_reset_password
    id
    updated_at
  }
}
Variables
{"code": "xyz789"}
Response
{
  "data": {
    "account_confirm": {
      "force_reset_at_confirmation": false,
      "force_reset_password": true,
      "id": "4",
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

account_create

Description

Create a new user account

Response

Returns an Account

Arguments
Name Description
country_code - String Country code (ISO 639)
email - String Email
full_name - String Full name
group_id - ID Group id
language - Language Language
organization_id - ID Organization id
password - String Account password (see also passwordResetToken)
phone - String Phone number (including international code)
short_name - String Short name
time_zone - String Time zone

Example

Query
mutation account_create(
  $country_code: String,
  $email: String,
  $full_name: String,
  $group_id: ID,
  $language: Language,
  $organization_id: ID,
  $password: String,
  $phone: String,
  $short_name: String,
  $time_zone: String
) {
  account_create(
    country_code: $country_code,
    email: $email,
    full_name: $full_name,
    group_id: $group_id,
    language: $language,
    organization_id: $organization_id,
    password: $password,
    phone: $phone,
    short_name: $short_name,
    time_zone: $time_zone
  ) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "country_code": "xyz789",
  "email": "xyz789",
  "full_name": "xyz789",
  "group_id": "4",
  "language": Language,
  "organization_id": 4,
  "password": "xyz789",
  "phone": "abc123",
  "short_name": "abc123",
  "time_zone": "abc123"
}
Response
{
  "data": {
    "account_create": {
      "alert_preference": AlertPreference,
      "company_name": "abc123",
      "country_code": "xyz789",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "abc123",
      "full_name": "xyz789",
      "groups": GroupPaged,
      "id": "4",
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": "4",
      "phone": "abc123",
      "roles": [AccountRole],
      "short_name": "abc123",
      "time_zone": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

account_delete

Currently not supported, contact customer support for account deletion
Response

Returns an ID

Arguments
Name Description
id - ID Default = "me"

Example

Query
mutation account_delete($id: ID) {
  account_delete(id: $id)
}
Variables
{"id": "me"}
Response
{"data": {"account_delete": 4}}

account_update

Description

Update Logged in user account

Response

Returns an Account

Arguments
Name Description
country_code - String Country code (ISO 639)
email - String Email
full_name - String Full name
id - ID Account to update. Default = "me"
language - Language Language
password - String Account password (see also passwordResetToken)
phone - String Phone number (including international code)
roles - [RoleInput] Role- and target-based permissions
short_name - String Short name
time_zone - String Time zone

Example

Query
mutation account_update(
  $country_code: String,
  $email: String,
  $full_name: String,
  $id: ID,
  $language: Language,
  $password: String,
  $phone: String,
  $roles: [RoleInput],
  $short_name: String,
  $time_zone: String
) {
  account_update(
    country_code: $country_code,
    email: $email,
    full_name: $full_name,
    id: $id,
    language: $language,
    password: $password,
    phone: $phone,
    roles: $roles,
    short_name: $short_name,
    time_zone: $time_zone
  ) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "country_code": "xyz789",
  "email": "abc123",
  "full_name": "abc123",
  "id": "me",
  "language": Language,
  "password": "xyz789",
  "phone": "abc123",
  "roles": [RoleInput],
  "short_name": "abc123",
  "time_zone": "xyz789"
}
Response
{
  "data": {
    "account_update": {
      "alert_preference": AlertPreference,
      "company_name": "xyz789",
      "country_code": "abc123",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "xyz789",
      "full_name": "xyz789",
      "groups": GroupPaged,
      "id": 4,
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": "4",
      "phone": "xyz789",
      "roles": [AccountRole],
      "short_name": "xyz789",
      "time_zone": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

add_driver_authorized_vehicles

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/relationships/authorized_vehicles

[beta] add a driver authorized vehicles

Arguments
Name Description
driver_id - String! Driver ID
input - vehicle_relationship_Input

Example

Query
mutation add_driver_authorized_vehicles(
  $driver_id: String!,
  $input: vehicle_relationship_Input
) {
  add_driver_authorized_vehicles(
    driver_id: $driver_id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "xyz789",
  "input": vehicle_relationship_Input
}
Response
{
  "data": {
    "add_driver_authorized_vehicles": Void_container
  }
}

add_vehicle_authorized_drivers

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.id}/relationships/authorized_drivers

[beta] add a vehicle authorized drivers

Arguments
Name Description
id - String! Vehicle ID
input - vehicle_driver_relationship_Input

Example

Query
mutation add_vehicle_authorized_drivers(
  $id: String!,
  $input: vehicle_driver_relationship_Input
) {
  add_vehicle_authorized_drivers(
    id: $id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "input": vehicle_driver_relationship_Input
}
Response
{
  "data": {
    "add_vehicle_authorized_drivers": Void_container
  }
}

alert_notification_create

Description

Create notification

Response

Returns an AlertNotification

Arguments
Name Description
context - Json
queue_name - String
queue_version - String
receiver - ID

Example

Query
mutation alert_notification_create(
  $context: Json,
  $queue_name: String,
  $queue_version: String,
  $receiver: ID
) {
  alert_notification_create(
    context: $context,
    queue_name: $queue_name,
    queue_version: $queue_version,
    receiver: $receiver
  ) {
    created_at
    failed_at
    force_channel
    id
    jobs {
      ...AlertJobPagedFragment
    }
    queue {
      ...AlertQueueFragment
    }
    receiver {
      ...AccountFragment
    }
    sender {
      ...AccountFragment
    }
    sent_at
    status
    template {
      ...AlertTemplateFragment
    }
    template_context
    updated_at
  }
}
Variables
{
  "context": Json,
  "queue_name": "xyz789",
  "queue_version": "xyz789",
  "receiver": 4
}
Response
{
  "data": {
    "alert_notification_create": {
      "created_at": "2007-12-03T10:15:30Z",
      "failed_at": "2007-12-03T10:15:30Z",
      "force_channel": true,
      "id": 4,
      "jobs": AlertJobPaged,
      "queue": AlertQueue,
      "receiver": Account,
      "sender": Account,
      "sent_at": "2007-12-03T10:15:30Z",
      "status": "SUCEEDED",
      "template": AlertTemplate,
      "template_context": Json,
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

alert_notification_update

Description

Update notification

Response

Returns an AlertNotification

Arguments
Name Description
context - Json
id - ID!
queue_name - String
queue_version - String
receiver - ID
status - AlertNotificationStatus

Example

Query
mutation alert_notification_update(
  $context: Json,
  $id: ID!,
  $queue_name: String,
  $queue_version: String,
  $receiver: ID,
  $status: AlertNotificationStatus
) {
  alert_notification_update(
    context: $context,
    id: $id,
    queue_name: $queue_name,
    queue_version: $queue_version,
    receiver: $receiver,
    status: $status
  ) {
    created_at
    failed_at
    force_channel
    id
    jobs {
      ...AlertJobPagedFragment
    }
    queue {
      ...AlertQueueFragment
    }
    receiver {
      ...AccountFragment
    }
    sender {
      ...AccountFragment
    }
    sent_at
    status
    template {
      ...AlertTemplateFragment
    }
    template_context
    updated_at
  }
}
Variables
{
  "context": Json,
  "id": 4,
  "queue_name": "xyz789",
  "queue_version": "abc123",
  "receiver": "4",
  "status": "SUCEEDED"
}
Response
{
  "data": {
    "alert_notification_update": {
      "created_at": "2007-12-03T10:15:30Z",
      "failed_at": "2007-12-03T10:15:30Z",
      "force_channel": true,
      "id": 4,
      "jobs": AlertJobPaged,
      "queue": AlertQueue,
      "receiver": Account,
      "sender": Account,
      "sent_at": "2007-12-03T10:15:30Z",
      "status": "SUCEEDED",
      "template": AlertTemplate,
      "template_context": Json,
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

alert_preference_update

Response

Returns an AlertPreference

Arguments
Name Description
firebase_messaging_token - String
id - ID Account id. Default = "me"
preferred_channels - [AlertPreferredChannel]
stop_notifications - Boolean

Example

Query
mutation alert_preference_update(
  $firebase_messaging_token: String,
  $id: ID,
  $preferred_channels: [AlertPreferredChannel],
  $stop_notifications: Boolean
) {
  alert_preference_update(
    firebase_messaging_token: $firebase_messaging_token,
    id: $id,
    preferred_channels: $preferred_channels,
    stop_notifications: $stop_notifications
  ) {
    firebase_messaging_token
    id
    preferred_channels
    stop_notifications
  }
}
Variables
{
  "firebase_messaging_token": "abc123",
  "id": "me",
  "preferred_channels": ["EMAIL"],
  "stop_notifications": true
}
Response
{
  "data": {
    "alert_preference_update": {
      "firebase_messaging_token": "xyz789",
      "id": 4,
      "preferred_channels": ["EMAIL"],
      "stop_notifications": true
    }
  }
}

booking_create

Description

Create booking

Response

Returns a Booking

Arguments
Name Description
additional_information - String
booking_date - DateTime
city - String
contact_method - WorkshopContactMethod!
country - String
plate_number - String! Vehichle plate number
preferred_language - Language
quotation_ids - [ID]
uid - ID
user_email - String!
user_name - String!
user_phone_number - String!
vehicle_make - String
vehicle_model - String
vehicle_year - String
vin - String
workshop_id - ID! Workshop ID

Example

Query
mutation booking_create(
  $additional_information: String,
  $booking_date: DateTime,
  $city: String,
  $contact_method: WorkshopContactMethod!,
  $country: String,
  $plate_number: String!,
  $preferred_language: Language,
  $quotation_ids: [ID],
  $uid: ID,
  $user_email: String!,
  $user_name: String!,
  $user_phone_number: String!,
  $vehicle_make: String,
  $vehicle_model: String,
  $vehicle_year: String,
  $vin: String,
  $workshop_id: ID!
) {
  booking_create(
    additional_information: $additional_information,
    booking_date: $booking_date,
    city: $city,
    contact_method: $contact_method,
    country: $country,
    plate_number: $plate_number,
    preferred_language: $preferred_language,
    quotation_ids: $quotation_ids,
    uid: $uid,
    user_email: $user_email,
    user_name: $user_name,
    user_phone_number: $user_phone_number,
    vehicle_make: $vehicle_make,
    vehicle_model: $vehicle_model,
    vehicle_year: $vehicle_year,
    vin: $vin,
    workshop_id: $workshop_id
  ) {
    id
    additional_information
    booking_date
    city
    contact_method
    country
    plate_number
    preferred_language
    quotation_ids
    status
    user_email
    user_name
    user_phone_number
    vehicle_make
    vehicle_model
    vehicle_year
    vin
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "additional_information": "xyz789",
  "booking_date": "2007-12-03T10:15:30Z",
  "city": "abc123",
  "contact_method": "EMAIL",
  "country": "xyz789",
  "plate_number": "xyz789",
  "preferred_language": Language,
  "quotation_ids": ["4"],
  "uid": "4",
  "user_email": "abc123",
  "user_name": "abc123",
  "user_phone_number": "abc123",
  "vehicle_make": "xyz789",
  "vehicle_model": "abc123",
  "vehicle_year": "xyz789",
  "vin": "xyz789",
  "workshop_id": "4"
}
Response
{
  "data": {
    "booking_create": {
      "id": 4,
      "additional_information": "xyz789",
      "booking_date": "2007-12-03T10:15:30Z",
      "city": "xyz789",
      "contact_method": "EMAIL",
      "country": "xyz789",
      "plate_number": "abc123",
      "preferred_language": Language,
      "quotation_ids": [4],
      "status": "CONFIRMED",
      "user_email": "abc123",
      "user_name": "abc123",
      "user_phone_number": "abc123",
      "vehicle_make": "xyz789",
      "vehicle_model": "xyz789",
      "vehicle_year": "xyz789",
      "vin": "xyz789",
      "workshop": Workshop
    }
  }
}

booking_delete

Description

Cancel booking

Response

Returns an ID

Arguments
Name Description
id - ID! Booking ID

Example

Query
mutation booking_delete($id: ID!) {
  booking_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"booking_delete": "4"}}

booking_update

Description

Update booking

Response

Returns a Booking

Arguments
Name Description
additional_information - String
booking_date - DateTime
city - String
contact_method - WorkshopContactMethod
country - String
id - ID!
plate_number - String Vehichle plate number
preferred_language - Language
quotation_ids - [ID]
uid - ID
user_email - String
user_name - String
user_phone_number - String
vehicle_make - String
vehicle_model - String
vehicle_year - String
vin - String
workshop_id - ID Workshop ID

Example

Query
mutation booking_update(
  $additional_information: String,
  $booking_date: DateTime,
  $city: String,
  $contact_method: WorkshopContactMethod,
  $country: String,
  $id: ID!,
  $plate_number: String,
  $preferred_language: Language,
  $quotation_ids: [ID],
  $uid: ID,
  $user_email: String,
  $user_name: String,
  $user_phone_number: String,
  $vehicle_make: String,
  $vehicle_model: String,
  $vehicle_year: String,
  $vin: String,
  $workshop_id: ID
) {
  booking_update(
    additional_information: $additional_information,
    booking_date: $booking_date,
    city: $city,
    contact_method: $contact_method,
    country: $country,
    id: $id,
    plate_number: $plate_number,
    preferred_language: $preferred_language,
    quotation_ids: $quotation_ids,
    uid: $uid,
    user_email: $user_email,
    user_name: $user_name,
    user_phone_number: $user_phone_number,
    vehicle_make: $vehicle_make,
    vehicle_model: $vehicle_model,
    vehicle_year: $vehicle_year,
    vin: $vin,
    workshop_id: $workshop_id
  ) {
    id
    additional_information
    booking_date
    city
    contact_method
    country
    plate_number
    preferred_language
    quotation_ids
    status
    user_email
    user_name
    user_phone_number
    vehicle_make
    vehicle_model
    vehicle_year
    vin
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "additional_information": "abc123",
  "booking_date": "2007-12-03T10:15:30Z",
  "city": "abc123",
  "contact_method": "EMAIL",
  "country": "xyz789",
  "id": 4,
  "plate_number": "abc123",
  "preferred_language": Language,
  "quotation_ids": ["4"],
  "uid": "4",
  "user_email": "abc123",
  "user_name": "abc123",
  "user_phone_number": "xyz789",
  "vehicle_make": "xyz789",
  "vehicle_model": "xyz789",
  "vehicle_year": "abc123",
  "vin": "abc123",
  "workshop_id": "4"
}
Response
{
  "data": {
    "booking_update": {
      "id": "4",
      "additional_information": "abc123",
      "booking_date": "2007-12-03T10:15:30Z",
      "city": "xyz789",
      "contact_method": "EMAIL",
      "country": "abc123",
      "plate_number": "xyz789",
      "preferred_language": Language,
      "quotation_ids": [4],
      "status": "CONFIRMED",
      "user_email": "abc123",
      "user_name": "abc123",
      "user_phone_number": "xyz789",
      "vehicle_make": "xyz789",
      "vehicle_model": "abc123",
      "vehicle_year": "abc123",
      "vin": "xyz789",
      "workshop": Workshop
    }
  }
}

client_identification_create

Response

Returns a ClientIdentification

Arguments
Name Description
client_reference - ID
client_reference_type - ClientReferenceType
default_account_id - ID Default account to use with these onboardings
default_whitelisted_data - [OnboardingWhitelistedDataArg!]
distributor_id - ID Distributor id (if user has access to more than one)
label - String
number_of_onboardings - Int

Example

Query
mutation client_identification_create(
  $client_reference: ID,
  $client_reference_type: ClientReferenceType,
  $default_account_id: ID,
  $default_whitelisted_data: [OnboardingWhitelistedDataArg!],
  $distributor_id: ID,
  $label: String,
  $number_of_onboardings: Int
) {
  client_identification_create(
    client_reference: $client_reference,
    client_reference_type: $client_reference_type,
    default_account_id: $default_account_id,
    default_whitelisted_data: $default_whitelisted_data,
    distributor_id: $distributor_id,
    label: $label,
    number_of_onboardings: $number_of_onboardings
  ) {
    client_reference
    client_reference_type
    code
    created_by {
      ...AccountFragment
    }
    default_account {
      ...AccountFragment
    }
    default_whitelisted_data
    distributor {
      ...OnboardingDistributorFragment
    }
    label
    number_of_onboardings
    number_of_started_onboardings
  }
}
Variables
{
  "client_reference": 4,
  "client_reference_type": "GROUP",
  "default_account_id": 4,
  "default_whitelisted_data": ["POSITION"],
  "distributor_id": 4,
  "label": "abc123",
  "number_of_onboardings": 123
}
Response
{
  "data": {
    "client_identification_create": {
      "client_reference": 4,
      "client_reference_type": "GROUP",
      "code": "abc123",
      "created_by": Account,
      "default_account": Account,
      "default_whitelisted_data": ["OTHER"],
      "distributor": OnboardingDistributor,
      "label": "abc123",
      "number_of_onboardings": 123,
      "number_of_started_onboardings": 987
    }
  }
}

cloud_events_create

Description

Notify events from the cloud to the subscribed clients

Response

Returns a CloudEventStatus

Arguments
Name Description
pokes - [EventPokeArg!] List of pokes to notify. Default = []
positions - [EventPositionArg!] Default = []
presences - [EventPresenceArg!] Default = []
remotediags - [EventRemotediagArg!] Default = []
tracks - [EventTrackArg!] List of tracks to notify. Default = []

Example

Query
mutation cloud_events_create(
  $pokes: [EventPokeArg!],
  $positions: [EventPositionArg!],
  $presences: [EventPresenceArg!],
  $remotediags: [EventRemotediagArg!],
  $tracks: [EventTrackArg!]
) {
  cloud_events_create(
    pokes: $pokes,
    positions: $positions,
    presences: $presences,
    remotediags: $remotediags,
    tracks: $tracks
  ) {
    node
    peers
  }
}
Variables
{
  "pokes": [""],
  "positions": [""],
  "presences": [""],
  "remotediags": [""],
  "tracks": [""]
}
Response
{
  "data": {
    "cloud_events_create": {
      "node": "xyz789",
      "peers": ["xyz789"]
    }
  }
}

create_device_token

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/device_tokens

[beta] generate device token

Response

Returns a create_device_token_response

Arguments
Name Description
input - device_token_create_Input

Example

Query
mutation create_device_token($input: device_token_create_Input) {
  create_device_token(input: $input) {
    ... on device_token_show {
      ...device_token_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": device_token_create_Input}
Response
{"data": {"create_device_token": device_token_show}}

create_metadatum

Description

Create metadatum

Response

Returns a TripMetadatum

Arguments
Name Description
key - String! Key of metadatum
trip_id - ID! Trip id
value - String! Value of metadatum

Example

Query
mutation create_metadatum(
  $key: String!,
  $trip_id: ID!,
  $value: String!
) {
  create_metadatum(
    key: $key,
    trip_id: $trip_id,
    value: $value
  ) {
    created_at
    id
    key
    trip_id
    updated_at
    value
  }
}
Variables
{
  "key": "xyz789",
  "trip_id": "4",
  "value": "xyz789"
}
Response
{
  "data": {
    "create_metadatum": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "key": "xyz789",
      "trip_id": "4",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "xyz789"
    }
  }
}

delete_driver_authorized_vehicle

Description

Method: DELETE Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/driver_authorized_vehicles/{args.vehicle_id}

[beta] Delete vehicle authorization

Arguments
Name Description
driver_id - String! Driver ID
vehicle_id - String! Vehicle ID

Example

Query
mutation delete_driver_authorized_vehicle(
  $driver_id: String!,
  $vehicle_id: String!
) {
  delete_driver_authorized_vehicle(
    driver_id: $driver_id,
    vehicle_id: $vehicle_id
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "xyz789",
  "vehicle_id": "abc123"
}
Response
{
  "data": {
    "delete_driver_authorized_vehicle": Void_container
  }
}

delete_driver_auxiliary_device

Description

Method: DELETE Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/auxiliary_devices/{args.aux_id}

[beta] Delete auxiliary device info

Arguments
Name Description
driver_id - String! Driver ID
aux_id - String! Auxiliary Device ID

Example

Query
mutation delete_driver_auxiliary_device(
  $driver_id: String!,
  $aux_id: String!
) {
  delete_driver_auxiliary_device(
    driver_id: $driver_id,
    aux_id: $aux_id
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "aux_id": "abc123"
}
Response
{
  "data": {
    "delete_driver_auxiliary_device": Void_container
  }
}

delete_metadatum

Description

Delete metdatum

Response

Returns an ID

Arguments
Name Description
id - ID! Metadatum id

Example

Query
mutation delete_metadatum($id: ID!) {
  delete_metadatum(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"delete_metadatum": "4"}}

delete_v1_user_alert_notifications_by_id

Description

Method: DELETE Base URL: {env.VEHICLE_ALERTS_API} Path: /v1/user_alert_notifications/{args.id}

[alpha] Delete user_alert_notification

Response

Returns a Void

Arguments
Name Description
id - String! User Alert Notification id

Example

Query
mutation delete_v1_user_alert_notifications_by_id($id: String!) {
  delete_v1_user_alert_notifications_by_id(id: $id)
}
Variables
{"id": "abc123"}
Response
{"data": {"delete_v1_user_alert_notifications_by_id": null}}

delete_vehicle_auxiliary_device

Description

Method: DELETE Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/auxiliary_devices/{args.aux_id}

[beta] Delete auxiliary device info

Arguments
Name Description
vehicle_id - String! Vehicle ID
aux_id - String! Auxiliary Device ID

Example

Query
mutation delete_vehicle_auxiliary_device(
  $vehicle_id: String!,
  $aux_id: String!
) {
  delete_vehicle_auxiliary_device(
    vehicle_id: $vehicle_id,
    aux_id: $aux_id
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "xyz789",
  "aux_id": "xyz789"
}
Response
{
  "data": {
    "delete_vehicle_auxiliary_device": Void_container
  }
}

description_create

Response

Returns a Description

Arguments
Name Description
description - DescriptionCreate!
subject - DescriptionSubject!

Example

Query
mutation description_create(
  $description: DescriptionCreate!,
  $subject: DescriptionSubject!
) {
  description_create(
    description: $description,
    subject: $subject
  ) {
    created_at
    id
    label
    source
    updated_at
    value
  }
}
Variables
{
  "description": DescriptionCreate,
  "subject": DescriptionSubject
}
Response
{
  "data": {
    "description_create": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": 4,
      "label": "xyz789",
      "source": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "abc123"
    }
  }
}

description_delete

Response

Returns an ID

Arguments
Name Description
id - ID!
subject - DescriptionSubject!

Example

Query
mutation description_delete(
  $id: ID!,
  $subject: DescriptionSubject!
) {
  description_delete(
    id: $id,
    subject: $subject
  )
}
Variables
{"id": 4, "subject": DescriptionSubject}
Response
{"data": {"description_delete": "4"}}

description_set

Response

Returns a Description

Arguments
Name Description
description - DescriptionUpdate!
subject - DescriptionSubject!

Example

Query
mutation description_set(
  $description: DescriptionUpdate!,
  $subject: DescriptionSubject!
) {
  description_set(
    description: $description,
    subject: $subject
  ) {
    created_at
    id
    label
    source
    updated_at
    value
  }
}
Variables
{
  "description": DescriptionUpdate,
  "subject": DescriptionSubject
}
Response
{
  "data": {
    "description_set": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": 4,
      "label": "abc123",
      "source": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "xyz789"
    }
  }
}

device_create

Description

Create a new device

Response

Returns a Device

Arguments
Name Description
input - DeviceInput! Device Input

Example

Query
mutation device_create($input: DeviceInput!) {
  device_create(input: $input) {
    id
    active_account
    aggregated_data {
      ...AggregatedDataFragment
    }
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    battery_annotations {
      ...BatteryAnnotationPagedFragment
    }
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    device_type
    fields {
      ...FieldPagedFragment
    }
    first_connection_at
    groups {
      ...GroupPagedFragment
    }
    harshes {
      ...TripHarshPagedFragment
    }
    history {
      ...DeviceHistoryPagedFragment
    }
    last_activity_at
    last_connection_at
    last_connection_reason
    last_disconnection_at
    last_disconnection_reason
    last_position {
      ...CoordinatesFragment
    }
    last_trip {
      ...TripFragment
    }
    log_fetches {
      ...LogfetchPagedFragment
    }
    onboarded
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    owner {
      ...AccountFragment
    }
    profile_mode {
      ...ProfileDeviceModeFragment
    }
    profile_modes {
      ...ProfileDeviceModePagedFragment
    }
    profile_privacies {
      ...ProfilePrivacyPagedFragment
    }
    profile_privacy {
      ...ProfilePrivacyFragment
    }
    readings {
      ...ReadingPagedFragment
    }
    readings_anon {
      ...ReadingAnonPagedFragment
    }
    remote_diags {
      ...RemoteDiagPagedFragment
    }
    serial_number
    status
    trip_summary {
      ...TripSummaryFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    vehicle_sessions {
      ...DeviceVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    cleaned_positions {
      ...map_matching_position_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    trip_journeys {
      ...journey_trip_paginatedFragment
    }
    trip_tag_schedules {
      ...trip_tag_schedule_paginatedFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"input": DeviceInput}
Response
{
  "data": {
    "device_create": {
      "id": 4,
      "active_account": "abc123",
      "aggregated_data": AggregatedData,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "battery_annotations": BatteryAnnotationPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "device_type": "xyz789",
      "fields": FieldPaged,
      "first_connection_at": "2007-12-03T10:15:30Z",
      "groups": GroupPaged,
      "harshes": TripHarshPaged,
      "history": DeviceHistoryPaged,
      "last_activity_at": "2007-12-03T10:15:30Z",
      "last_connection_at": "2007-12-03T10:15:30Z",
      "last_connection_reason": "CLOSED_BY_SERVER",
      "last_disconnection_at": "2007-12-03T10:15:30Z",
      "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
      "last_position": Coordinates,
      "last_trip": Trip,
      "log_fetches": LogfetchPaged,
      "onboarded": true,
      "overspeeds": TripOverspeedPaged,
      "owner": Account,
      "profile_mode": ProfileDeviceMode,
      "profile_modes": ProfileDeviceModePaged,
      "profile_privacies": ProfilePrivacyPaged,
      "profile_privacy": ProfilePrivacy,
      "readings": ReadingPaged,
      "readings_anon": ReadingAnonPaged,
      "remote_diags": RemoteDiagPaged,
      "serial_number": "xyz789",
      "status": "CONNECTED",
      "trip_summary": TripSummary,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle_sessions": DeviceVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "geofences": geofence_paginated,
      "cleaned_positions": map_matching_position_paginated,
      "summary_from_journey": journey_summary,
      "trip_journeys": journey_trip_paginated,
      "trip_tag_schedules": trip_tag_schedule_paginated,
      "journey_reports": report_paginated
    }
  }
}

device_delete

Description

Delete a user device

Response

Returns a Device

Arguments
Name Description
id - ID! Id to delete

Example

Query
mutation device_delete($id: ID!) {
  device_delete(id: $id) {
    id
    active_account
    aggregated_data {
      ...AggregatedDataFragment
    }
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    battery_annotations {
      ...BatteryAnnotationPagedFragment
    }
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    device_type
    fields {
      ...FieldPagedFragment
    }
    first_connection_at
    groups {
      ...GroupPagedFragment
    }
    harshes {
      ...TripHarshPagedFragment
    }
    history {
      ...DeviceHistoryPagedFragment
    }
    last_activity_at
    last_connection_at
    last_connection_reason
    last_disconnection_at
    last_disconnection_reason
    last_position {
      ...CoordinatesFragment
    }
    last_trip {
      ...TripFragment
    }
    log_fetches {
      ...LogfetchPagedFragment
    }
    onboarded
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    owner {
      ...AccountFragment
    }
    profile_mode {
      ...ProfileDeviceModeFragment
    }
    profile_modes {
      ...ProfileDeviceModePagedFragment
    }
    profile_privacies {
      ...ProfilePrivacyPagedFragment
    }
    profile_privacy {
      ...ProfilePrivacyFragment
    }
    readings {
      ...ReadingPagedFragment
    }
    readings_anon {
      ...ReadingAnonPagedFragment
    }
    remote_diags {
      ...RemoteDiagPagedFragment
    }
    serial_number
    status
    trip_summary {
      ...TripSummaryFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    vehicle_sessions {
      ...DeviceVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    cleaned_positions {
      ...map_matching_position_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    trip_journeys {
      ...journey_trip_paginatedFragment
    }
    trip_tag_schedules {
      ...trip_tag_schedule_paginatedFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "device_delete": {
      "id": 4,
      "active_account": "xyz789",
      "aggregated_data": AggregatedData,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "battery_annotations": BatteryAnnotationPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "device_type": "abc123",
      "fields": FieldPaged,
      "first_connection_at": "2007-12-03T10:15:30Z",
      "groups": GroupPaged,
      "harshes": TripHarshPaged,
      "history": DeviceHistoryPaged,
      "last_activity_at": "2007-12-03T10:15:30Z",
      "last_connection_at": "2007-12-03T10:15:30Z",
      "last_connection_reason": "CLOSED_BY_SERVER",
      "last_disconnection_at": "2007-12-03T10:15:30Z",
      "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
      "last_position": Coordinates,
      "last_trip": Trip,
      "log_fetches": LogfetchPaged,
      "onboarded": false,
      "overspeeds": TripOverspeedPaged,
      "owner": Account,
      "profile_mode": ProfileDeviceMode,
      "profile_modes": ProfileDeviceModePaged,
      "profile_privacies": ProfilePrivacyPaged,
      "profile_privacy": ProfilePrivacy,
      "readings": ReadingPaged,
      "readings_anon": ReadingAnonPaged,
      "remote_diags": RemoteDiagPaged,
      "serial_number": "abc123",
      "status": "CONNECTED",
      "trip_summary": TripSummary,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle_sessions": DeviceVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "geofences": geofence_paginated,
      "cleaned_positions": map_matching_position_paginated,
      "summary_from_journey": journey_summary,
      "trip_journeys": journey_trip_paginated,
      "trip_tag_schedules": trip_tag_schedule_paginated,
      "journey_reports": report_paginated
    }
  }
}

device_mode_create

Response

Returns a ProfileDeviceMode

Arguments
Name Description
id - ID! Device id
mode - ProfileDeviceModeClassArg!

Example

Query
mutation device_mode_create(
  $id: ID!,
  $mode: ProfileDeviceModeClassArg!
) {
  device_mode_create(
    id: $id,
    mode: $mode
  ) {
    ended_at
    id
    mode
    restore_default {
      ...ProfileRestoreDefaultFragment
    }
    started_at
    status
  }
}
Variables
{"id": 4, "mode": "TELEMATIC"}
Response
{
  "data": {
    "device_mode_create": {
      "ended_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "mode": "OTHER",
      "restore_default": ProfileRestoreDefault,
      "started_at": "2007-12-03T10:15:30Z",
      "status": "OTHER"
    }
  }
}

device_privacy_create

Response

Returns a ProfilePrivacy

Arguments
Name Description
id - ID! Device id
whitelisted_data - [OnboardingWhitelistedData!]

Example

Query
mutation device_privacy_create(
  $id: ID!,
  $whitelisted_data: [OnboardingWhitelistedData!]
) {
  device_privacy_create(
    id: $id,
    whitelisted_data: $whitelisted_data
  ) {
    created_at
    ended_at
    id
    restore_default {
      ...ProfileRestoreDefaultFragment
    }
    started_at
    status
    whitelisted_data
  }
}
Variables
{"id": 4, "whitelisted_data": ["OTHER"]}
Response
{
  "data": {
    "device_privacy_create": {
      "created_at": "2007-12-03T10:15:30Z",
      "ended_at": "2007-12-03T10:15:30Z",
      "id": 4,
      "restore_default": ProfileRestoreDefault,
      "started_at": "2007-12-03T10:15:30Z",
      "status": "OTHER",
      "whitelisted_data": ["OTHER"]
    }
  }
}

device_set

Description

Set the user's device fields

Response

Returns a Device

Arguments
Name Description
id - ID! Identifier
input - DeviceInput! Device Input

Example

Query
mutation device_set(
  $id: ID!,
  $input: DeviceInput!
) {
  device_set(
    id: $id,
    input: $input
  ) {
    id
    active_account
    aggregated_data {
      ...AggregatedDataFragment
    }
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    battery_annotations {
      ...BatteryAnnotationPagedFragment
    }
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    device_type
    fields {
      ...FieldPagedFragment
    }
    first_connection_at
    groups {
      ...GroupPagedFragment
    }
    harshes {
      ...TripHarshPagedFragment
    }
    history {
      ...DeviceHistoryPagedFragment
    }
    last_activity_at
    last_connection_at
    last_connection_reason
    last_disconnection_at
    last_disconnection_reason
    last_position {
      ...CoordinatesFragment
    }
    last_trip {
      ...TripFragment
    }
    log_fetches {
      ...LogfetchPagedFragment
    }
    onboarded
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    owner {
      ...AccountFragment
    }
    profile_mode {
      ...ProfileDeviceModeFragment
    }
    profile_modes {
      ...ProfileDeviceModePagedFragment
    }
    profile_privacies {
      ...ProfilePrivacyPagedFragment
    }
    profile_privacy {
      ...ProfilePrivacyFragment
    }
    readings {
      ...ReadingPagedFragment
    }
    readings_anon {
      ...ReadingAnonPagedFragment
    }
    remote_diags {
      ...RemoteDiagPagedFragment
    }
    serial_number
    status
    trip_summary {
      ...TripSummaryFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    vehicle_sessions {
      ...DeviceVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    cleaned_positions {
      ...map_matching_position_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    trip_journeys {
      ...journey_trip_paginatedFragment
    }
    trip_tag_schedules {
      ...trip_tag_schedule_paginatedFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "id": "4",
  "input": DeviceInput
}
Response
{
  "data": {
    "device_set": {
      "id": "4",
      "active_account": "xyz789",
      "aggregated_data": AggregatedData,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "battery_annotations": BatteryAnnotationPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "device_type": "xyz789",
      "fields": FieldPaged,
      "first_connection_at": "2007-12-03T10:15:30Z",
      "groups": GroupPaged,
      "harshes": TripHarshPaged,
      "history": DeviceHistoryPaged,
      "last_activity_at": "2007-12-03T10:15:30Z",
      "last_connection_at": "2007-12-03T10:15:30Z",
      "last_connection_reason": "CLOSED_BY_SERVER",
      "last_disconnection_at": "2007-12-03T10:15:30Z",
      "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
      "last_position": Coordinates,
      "last_trip": Trip,
      "log_fetches": LogfetchPaged,
      "onboarded": false,
      "overspeeds": TripOverspeedPaged,
      "owner": Account,
      "profile_mode": ProfileDeviceMode,
      "profile_modes": ProfileDeviceModePaged,
      "profile_privacies": ProfilePrivacyPaged,
      "profile_privacy": ProfilePrivacy,
      "readings": ReadingPaged,
      "readings_anon": ReadingAnonPaged,
      "remote_diags": RemoteDiagPaged,
      "serial_number": "abc123",
      "status": "CONNECTED",
      "trip_summary": TripSummary,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle_sessions": DeviceVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "geofences": geofence_paginated,
      "cleaned_positions": map_matching_position_paginated,
      "summary_from_journey": journey_summary,
      "trip_journeys": journey_trip_paginated,
      "trip_tag_schedules": trip_tag_schedule_paginated,
      "journey_reports": report_paginated
    }
  }
}

device_vehicle_session_start

Description

Start a device vehicle session

Response

Returns a DeviceVehicleSession

Arguments
Name Description
connection_type - DeviceConnectionType Connection type. Default = DIRECT
device_id - ID! Device Identifier
installation_date - DateTime! Installation Date
km_at_installation - Int! km_at_installation
vehicle_id - ID! Vehicle Identifier

Example

Query
mutation device_vehicle_session_start(
  $connection_type: DeviceConnectionType,
  $device_id: ID!,
  $installation_date: DateTime!,
  $km_at_installation: Int!,
  $vehicle_id: ID!
) {
  device_vehicle_session_start(
    connection_type: $connection_type,
    device_id: $device_id,
    installation_date: $installation_date,
    km_at_installation: $km_at_installation,
    vehicle_id: $vehicle_id
  ) {
    active
    connection_type
    device {
      ...DeviceFragment
    }
    id
    installation_date
    km_at_installation
    owner {
      ...AccountFragment
    }
    removal_date
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "connection_type": "DIRECT",
  "device_id": "4",
  "installation_date": "2007-12-03T10:15:30Z",
  "km_at_installation": 987,
  "vehicle_id": 4
}
Response
{
  "data": {
    "device_vehicle_session_start": {
      "active": true,
      "connection_type": "CABLE",
      "device": Device,
      "id": 4,
      "installation_date": "2007-12-03T10:15:30Z",
      "km_at_installation": 987,
      "owner": Account,
      "removal_date": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

device_vehicle_session_stop

Description

Stop a device vehicle session

Response

Returns a DeviceVehicleSession

Arguments
Name Description
device_id - ID Device Identifier
id - ID! Session Identifier
removal_date - DateTime Session end date (defaults to current time)
vehicle_id - ID Vehicle Identifier

Example

Query
mutation device_vehicle_session_stop(
  $device_id: ID,
  $id: ID!,
  $removal_date: DateTime,
  $vehicle_id: ID
) {
  device_vehicle_session_stop(
    device_id: $device_id,
    id: $id,
    removal_date: $removal_date,
    vehicle_id: $vehicle_id
  ) {
    active
    connection_type
    device {
      ...DeviceFragment
    }
    id
    installation_date
    km_at_installation
    owner {
      ...AccountFragment
    }
    removal_date
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "device_id": "4",
  "id": "4",
  "removal_date": "2007-12-03T10:15:30Z",
  "vehicle_id": 4
}
Response
{
  "data": {
    "device_vehicle_session_stop": {
      "active": false,
      "connection_type": "CABLE",
      "device": Device,
      "id": "4",
      "installation_date": "2007-12-03T10:15:30Z",
      "km_at_installation": 123,
      "owner": Account,
      "removal_date": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

device_vehicle_session_update

Description

Start a device vehicle session

Response

Returns a DeviceVehicleSession

Arguments
Name Description
connection_type - DeviceConnectionType Connection type
device_id - ID Device Identifier
id - ID! Session Identifier
installation_date - DateTime Installation Date
km_at_installation - Int Kilometers at installation
vehicle_id - ID Vehicle Identifier

Example

Query
mutation device_vehicle_session_update(
  $connection_type: DeviceConnectionType,
  $device_id: ID,
  $id: ID!,
  $installation_date: DateTime,
  $km_at_installation: Int,
  $vehicle_id: ID
) {
  device_vehicle_session_update(
    connection_type: $connection_type,
    device_id: $device_id,
    id: $id,
    installation_date: $installation_date,
    km_at_installation: $km_at_installation,
    vehicle_id: $vehicle_id
  ) {
    active
    connection_type
    device {
      ...DeviceFragment
    }
    id
    installation_date
    km_at_installation
    owner {
      ...AccountFragment
    }
    removal_date
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "connection_type": "CABLE",
  "device_id": 4,
  "id": 4,
  "installation_date": "2007-12-03T10:15:30Z",
  "km_at_installation": 123,
  "vehicle_id": "4"
}
Response
{
  "data": {
    "device_vehicle_session_update": {
      "active": false,
      "connection_type": "CABLE",
      "device": Device,
      "id": 4,
      "installation_date": "2007-12-03T10:15:30Z",
      "km_at_installation": 123,
      "owner": Account,
      "removal_date": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

displacement_set

Description

Set displacement value parameter

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id
value - Int! Value

Example

Query
mutation displacement_set(
  $device_id: ID!,
  $value: Int!
) {
  displacement_set(
    device_id: $device_id,
    value: $value
  ) {
    attributes
    id
    type
  }
}
Variables
{"device_id": 4, "value": 123}
Response
{
  "data": {
    "displacement_set": {
      "attributes": Json,
      "id": 4,
      "type": "xyz789"
    }
  }
}

distributor_create

Description

Create onboarding distributor

Response

Returns an OnboardingDistributor

Arguments
Name Description
label - String Distributor label
manager_id - ID
organization_id - ID
provider_id - ID
send_email_to_munic - Boolean
send_email_to_provider - Boolean
workshop_id - ID

Example

Query
mutation distributor_create(
  $label: String,
  $manager_id: ID,
  $organization_id: ID,
  $provider_id: ID,
  $send_email_to_munic: Boolean,
  $send_email_to_provider: Boolean,
  $workshop_id: ID
) {
  distributor_create(
    label: $label,
    manager_id: $manager_id,
    organization_id: $organization_id,
    provider_id: $provider_id,
    send_email_to_munic: $send_email_to_munic,
    send_email_to_provider: $send_email_to_provider,
    workshop_id: $workshop_id
  ) {
    id
    is_active
    label
    organization_id
    provider {
      ...OnboardingProviderFragment
    }
    provider_workshop_id
    requests {
      ...OnboardingRequestPagedFragment
    }
    staff {
      ...OnboardingStaffPagedFragment
    }
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "label": "xyz789",
  "manager_id": 4,
  "organization_id": 4,
  "provider_id": 4,
  "send_email_to_munic": false,
  "send_email_to_provider": true,
  "workshop_id": "4"
}
Response
{
  "data": {
    "distributor_create": {
      "id": "4",
      "is_active": false,
      "label": "xyz789",
      "organization_id": 4,
      "provider": OnboardingProvider,
      "provider_workshop_id": "4",
      "requests": OnboardingRequestPaged,
      "staff": OnboardingStaffPaged,
      "workshop": Workshop
    }
  }
}

distributor_update

Description

Update onboarding distributor

Response

Returns an OnboardingDistributor

Arguments
Name Description
id - ID!
is_active - Boolean Distributor active status
label - String Distributor label
organization_id - ID

Example

Query
mutation distributor_update(
  $id: ID!,
  $is_active: Boolean,
  $label: String,
  $organization_id: ID
) {
  distributor_update(
    id: $id,
    is_active: $is_active,
    label: $label,
    organization_id: $organization_id
  ) {
    id
    is_active
    label
    organization_id
    provider {
      ...OnboardingProviderFragment
    }
    provider_workshop_id
    requests {
      ...OnboardingRequestPagedFragment
    }
    staff {
      ...OnboardingStaffPagedFragment
    }
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "id": 4,
  "is_active": false,
  "label": "xyz789",
  "organization_id": 4
}
Response
{
  "data": {
    "distributor_update": {
      "id": "4",
      "is_active": false,
      "label": "abc123",
      "organization_id": "4",
      "provider": OnboardingProvider,
      "provider_workshop_id": "4",
      "requests": OnboardingRequestPaged,
      "staff": OnboardingStaffPaged,
      "workshop": Workshop
    }
  }
}

door_toggle

Description

Toggle door action parameter

Response

Returns a RdcAsyncAck

Arguments
Name Description
action - DoorAction! Action
device_id - ID! Device id

Example

Query
mutation door_toggle(
  $action: DoorAction!,
  $device_id: ID!
) {
  door_toggle(
    action: $action,
    device_id: $device_id
  ) {
    attributes
    id
    type
  }
}
Variables
{"action": "LOCK", "device_id": 4}
Response
{
  "data": {
    "door_toggle": {
      "attributes": Json,
      "id": "4",
      "type": "abc123"
    }
  }
}

driver_create

Description

Create a new driver

Response

Returns a Driver

Arguments
Name Description
active - Boolean Active
default_vehicle_id - ID Driver default vehicle
group_id - ID group id to add the driver to
id_key - String ID Key
label - String! Label
user_contact_id - ID Driver Contact Id
user_profile_id - ID Driver Profile Id

Example

Query
mutation driver_create(
  $active: Boolean,
  $default_vehicle_id: ID,
  $group_id: ID,
  $id_key: String,
  $label: String!,
  $user_contact_id: ID,
  $user_profile_id: ID
) {
  driver_create(
    active: $active,
    default_vehicle_id: $default_vehicle_id,
    group_id: $group_id,
    id_key: $id_key,
    label: $label,
    user_contact_id: $user_contact_id,
    user_profile_id: $user_profile_id
  ) {
    active
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    current_vehicles {
      ...VehiclePagedFragment
    }
    default_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    id
    id_key
    label
    last_trip {
      ...TripFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    user_contact {
      ...AccountFragment
    }
    user_profile {
      ...AccountFragment
    }
    vehicle_sessions {
      ...DriverVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "active": false,
  "default_vehicle_id": 4,
  "group_id": "4",
  "id_key": "xyz789",
  "label": "abc123",
  "user_contact_id": 4,
  "user_profile_id": 4
}
Response
{
  "data": {
    "driver_create": {
      "active": false,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "current_vehicles": VehiclePaged,
      "default_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "groups": GroupPaged,
      "id": 4,
      "id_key": "xyz789",
      "label": "xyz789",
      "last_trip": Trip,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "user_contact": Account,
      "user_profile": Account,
      "vehicle_sessions": DriverVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show
    }
  }
}

driver_delete

Description

Delete a user vehicle

Response

Returns an ID

Arguments
Name Description
id - ID! Id to delete

Example

Query
mutation driver_delete($id: ID!) {
  driver_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"driver_delete": "4"}}

driver_service_create

Description

Create driver service

Response

Returns a DriverService

Arguments
Name Description
description - String
label - String
workshop_ids - [ID]

Example

Query
mutation driver_service_create(
  $description: String,
  $label: String,
  $workshop_ids: [ID]
) {
  driver_service_create(
    description: $description,
    label: $label,
    workshop_ids: $workshop_ids
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{
  "description": "abc123",
  "label": "abc123",
  "workshop_ids": [4]
}
Response
{
  "data": {
    "driver_service_create": {
      "id": "4",
      "description": "abc123",
      "label": "xyz789",
      "workshops": WorkshopPaged
    }
  }
}

driver_service_delete

Description

Delete Driver service

Response

Returns an ID

Arguments
Name Description
id - ID! Driver service id

Example

Query
mutation driver_service_delete($id: ID!) {
  driver_service_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"driver_service_delete": "4"}}

driver_service_update

Description

Update driver service

Response

Returns a DriverService

Arguments
Name Description
description - String
id - ID!
label - String
workshop_ids - [ID]

Example

Query
mutation driver_service_update(
  $description: String,
  $id: ID!,
  $label: String,
  $workshop_ids: [ID]
) {
  driver_service_update(
    description: $description,
    id: $id,
    label: $label,
    workshop_ids: $workshop_ids
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{
  "description": "xyz789",
  "id": "4",
  "label": "xyz789",
  "workshop_ids": [4]
}
Response
{
  "data": {
    "driver_service_update": {
      "id": "4",
      "description": "abc123",
      "label": "xyz789",
      "workshops": WorkshopPaged
    }
  }
}

driver_update

Description

Update an existing driver

Response

Returns a Driver

Arguments
Name Description
active - Boolean Active
default_vehicle_id - ID Driver default vehicle (use empty string to unset)
id - ID! Identifier
id_key - String ID Key
label - String Label
user_contact_id - ID Driver Contact Id
user_profile_id - ID Driver Profile Id

Example

Query
mutation driver_update(
  $active: Boolean,
  $default_vehicle_id: ID,
  $id: ID!,
  $id_key: String,
  $label: String,
  $user_contact_id: ID,
  $user_profile_id: ID
) {
  driver_update(
    active: $active,
    default_vehicle_id: $default_vehicle_id,
    id: $id,
    id_key: $id_key,
    label: $label,
    user_contact_id: $user_contact_id,
    user_profile_id: $user_profile_id
  ) {
    active
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    current_vehicles {
      ...VehiclePagedFragment
    }
    default_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    id
    id_key
    label
    last_trip {
      ...TripFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    user_contact {
      ...AccountFragment
    }
    user_profile {
      ...AccountFragment
    }
    vehicle_sessions {
      ...DriverVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "active": false,
  "default_vehicle_id": 4,
  "id": "4",
  "id_key": "abc123",
  "label": "abc123",
  "user_contact_id": 4,
  "user_profile_id": "4"
}
Response
{
  "data": {
    "driver_update": {
      "active": true,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "current_vehicles": VehiclePaged,
      "default_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "groups": GroupPaged,
      "id": 4,
      "id_key": "abc123",
      "label": "xyz789",
      "last_trip": Trip,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "user_contact": Account,
      "user_profile": Account,
      "vehicle_sessions": DriverVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show
    }
  }
}

driver_vehicle_session_start

Description

Start a driver vehicle session

Response

Returns a DriverVehicleSession

Arguments
Name Description
driver_id - ID! Driver Identifier
start_at - DateTime Session state date (defaults to current time)
vehicle_id - ID! Vehicle Identifier

Example

Query
mutation driver_vehicle_session_start(
  $driver_id: ID!,
  $start_at: DateTime,
  $vehicle_id: ID!
) {
  driver_vehicle_session_start(
    driver_id: $driver_id,
    start_at: $start_at,
    vehicle_id: $vehicle_id
  ) {
    active
    driver {
      ...DriverFragment
    }
    end_at
    id
    owner {
      ...AccountFragment
    }
    start_at
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "driver_id": "4",
  "start_at": "2007-12-03T10:15:30Z",
  "vehicle_id": 4
}
Response
{
  "data": {
    "driver_vehicle_session_start": {
      "active": true,
      "driver": Driver,
      "end_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "owner": Account,
      "start_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

driver_vehicle_session_stop

Description

Stop a driver vehicle session

Response

Returns a DriverVehicleSession

Arguments
Name Description
driver_id - ID Device Identifier
end_at - DateTime Session end date (defaults to current time)
id - ID! Session Identifier
vehicle_id - ID Vehicle Identifier

Example

Query
mutation driver_vehicle_session_stop(
  $driver_id: ID,
  $end_at: DateTime,
  $id: ID!,
  $vehicle_id: ID
) {
  driver_vehicle_session_stop(
    driver_id: $driver_id,
    end_at: $end_at,
    id: $id,
    vehicle_id: $vehicle_id
  ) {
    active
    driver {
      ...DriverFragment
    }
    end_at
    id
    owner {
      ...AccountFragment
    }
    start_at
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "driver_id": 4,
  "end_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "vehicle_id": "4"
}
Response
{
  "data": {
    "driver_vehicle_session_stop": {
      "active": false,
      "driver": Driver,
      "end_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "owner": Account,
      "start_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

dtc_clean

Description

Clean DTC

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id
type - String! What to clean: odb/etc

Example

Query
mutation dtc_clean(
  $device_id: ID!,
  $type: String!
) {
  dtc_clean(
    device_id: $device_id,
    type: $type
  ) {
    attributes
    id
    type
  }
}
Variables
{
  "device_id": "4",
  "type": "abc123"
}
Response
{
  "data": {
    "dtc_clean": {
      "attributes": Json,
      "id": "4",
      "type": "xyz789"
    }
  }
}

engine_toggle

Description

Toggle engine action parameter

Response

Returns a RdcAsyncAck

Arguments
Name Description
action - ToggleAction! On/Off
device_id - ID! Device id

Example

Query
mutation engine_toggle(
  $action: ToggleAction!,
  $device_id: ID!
) {
  engine_toggle(
    action: $action,
    device_id: $device_id
  ) {
    attributes
    id
    type
  }
}
Variables
{"action": "START", "device_id": 4}
Response
{
  "data": {
    "engine_toggle": {
      "attributes": Json,
      "id": "4",
      "type": "xyz789"
    }
  }
}

geofence_delete_device

Description

Method: DELETE Base URL: {env.GEOFENCE_API} Path: /v1/devices/{args.id}

[alpha] Delete Device

Response

Returns a Void

Arguments
Name Description
id - String! Device imei

Example

Query
mutation geofence_delete_device($id: String!) {
  geofence_delete_device(id: $id)
}
Variables
{"id": "xyz789"}
Response
{"data": {"geofence_delete_device": null}}

geofence_delete_geofence

Description

Method: DELETE Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}

[alpha] Delete Geofence

Response

Returns a Void

Arguments
Name Description
id - String! Geofence id

Example

Query
mutation geofence_delete_geofence($id: String!) {
  geofence_delete_geofence(id: $id)
}
Variables
{"id": "xyz789"}
Response
{"data": {"geofence_delete_geofence": null}}

geofence_delete_schedule

Description

Method: DELETE Base URL: {env.GEOFENCE_API} Path: /v1/schedules/{args.id}

[alpha] Delete Shape

Response

Returns a Void

Arguments
Name Description
id - String! Schedule id

Example

Query
mutation geofence_delete_schedule($id: String!) {
  geofence_delete_schedule(id: $id)
}
Variables
{"id": "xyz789"}
Response
{"data": {"geofence_delete_schedule": null}}

geofence_delete_shape

Description

Method: DELETE Base URL: {env.GEOFENCE_API} Path: /v1/shapes/{args.id}

[alpha] Delete Shape

Response

Returns a Void

Arguments
Name Description
id - String! Geofence id

Example

Query
mutation geofence_delete_shape($id: String!) {
  geofence_delete_shape(id: $id)
}
Variables
{"id": "abc123"}
Response
{"data": {"geofence_delete_shape": null}}

geofence_delete_user

Description

Method: DELETE Base URL: {env.GEOFENCE_API} Path: /v1/users/{args.id}

[alpha] Delete User

Response

Returns a Void

Arguments
Name Description
id - String! User id

Example

Query
mutation geofence_delete_user($id: String!) {
  geofence_delete_user(id: $id)
}
Variables
{"id": "xyz789"}
Response
{"data": {"geofence_delete_user": null}}

geofence_post_alerts

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/alerts

[alpha] Create Alerts

Response

Returns an alert_show

Arguments
Name Description
input - alert_create_Input

Example

Query
mutation geofence_post_alerts($input: alert_create_Input) {
  geofence_post_alerts(input: $input) {
    data {
      ...geofence_alertFragment
    }
  }
}
Variables
{"input": alert_create_Input}
Response
{
  "data": {
    "geofence_post_alerts": {"data": geofence_alert}
  }
}

geofence_post_devices

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/devices

[alpha] Create Device

Response

Returns a JSON

Arguments
Name Description
imei - String IMEI (accept partial match)
input - geofence_device_Input

Example

Query
mutation geofence_post_devices(
  $imei: String,
  $input: geofence_device_Input
) {
  geofence_post_devices(
    imei: $imei,
    input: $input
  )
}
Variables
{
  "imei": "abc123",
  "input": geofence_device_Input
}
Response
{"data": {"geofence_post_devices": {}}}

geofence_post_drop_data_requests

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/drop_data_requests

[alpha] Post Drop Data Request

Response

Returns a JSON

Arguments
Name Description
input - drop_data_request_Input

Example

Query
mutation geofence_post_drop_data_requests($input: drop_data_request_Input) {
  geofence_post_drop_data_requests(input: $input)
}
Variables
{"input": drop_data_request_Input}
Response
{"data": {"geofence_post_drop_data_requests": {}}}

geofence_post_geofences

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/geofences

[alpha] Create Geofence

Response

Returns a geofence_show

Arguments
Name Description
input - geofence_create_Input

Example

Query
mutation geofence_post_geofences($input: geofence_create_Input) {
  geofence_post_geofences(input: $input) {
    data {
      ...geofence_geofenceFragment
    }
  }
}
Variables
{"input": geofence_create_Input}
Response
{
  "data": {
    "geofence_post_geofences": {"data": geofence_geofence}
  }
}

geofence_post_geofences_relationships_devices

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/relationships/devices

[alpha] Add Geofence Devices

Response

Returns a Void

Arguments
Name Description
id - String! Device id
input - device_relationship_Input

Example

Query
mutation geofence_post_geofences_relationships_devices(
  $id: String!,
  $input: device_relationship_Input
) {
  geofence_post_geofences_relationships_devices(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "xyz789",
  "input": device_relationship_Input
}
Response
{"data": {"geofence_post_geofences_relationships_devices": null}}

geofence_post_geofences_relationships_groups

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/relationships/groups

[alpha] Add Geofence Groups

Response

Returns a Void

Arguments
Name Description
id - String! Group id
input - group_relationship_Input

Example

Query
mutation geofence_post_geofences_relationships_groups(
  $id: String!,
  $input: group_relationship_Input
) {
  geofence_post_geofences_relationships_groups(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "xyz789",
  "input": group_relationship_Input
}
Response
{"data": {"geofence_post_geofences_relationships_groups": null}}

geofence_post_schedules

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/schedules

[alpha] Create Schedules

Response

Returns a schedule_show

Arguments
Name Description
input - schedule_create_Input

Example

Query
mutation geofence_post_schedules($input: schedule_create_Input) {
  geofence_post_schedules(input: $input) {
    data {
      ...geofence_scheduleFragment
    }
  }
}
Variables
{"input": schedule_create_Input}
Response
{
  "data": {
    "geofence_post_schedules": {"data": geofence_schedule}
  }
}

geofence_post_shapes

Description

Method: POST Base URL: {env.GEOFENCE_API} Path: /v1/shapes

[alpha] Create Shapes

Response

Returns a shape_show

Arguments
Name Description
input - shape_create_Input

Example

Query
mutation geofence_post_shapes($input: shape_create_Input) {
  geofence_post_shapes(input: $input) {
    data {
      ...geofence_shapeFragment
    }
  }
}
Variables
{"input": shape_create_Input}
Response
{
  "data": {
    "geofence_post_shapes": {"data": geofence_shape}
  }
}

geofence_put_alert

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/alerts/{args.id}

[alpha] Update Alert

Response

Returns an alert_show

Arguments
Name Description
id - String! Alert id
input - alert_update_Input

Example

Query
mutation geofence_put_alert(
  $id: String!,
  $input: alert_update_Input
) {
  geofence_put_alert(
    id: $id,
    input: $input
  ) {
    data {
      ...geofence_alertFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "input": alert_update_Input
}
Response
{"data": {"geofence_put_alert": {"data": geofence_alert}}}

geofence_put_device

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/devices/{args.id}

[alpha] Update Device

Response

Returns a JSON

Arguments
Name Description
id - String! Device imei
input - geofence_device_Input

Example

Query
mutation geofence_put_device(
  $id: String!,
  $input: geofence_device_Input
) {
  geofence_put_device(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "abc123",
  "input": geofence_device_Input
}
Response
{"data": {"geofence_put_device": {}}}

geofence_put_geofence

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}

[alpha] Update Geofence

Response

Returns a geofence_show

Arguments
Name Description
id - String! Device id
input - geofence_update_Input

Example

Query
mutation geofence_put_geofence(
  $id: String!,
  $input: geofence_update_Input
) {
  geofence_put_geofence(
    id: $id,
    input: $input
  ) {
    data {
      ...geofence_geofenceFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "input": geofence_update_Input
}
Response
{
  "data": {
    "geofence_put_geofence": {"data": geofence_geofence}
  }
}

geofence_put_geofences_relationships_devices

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/relationships/devices

[alpha] Replace Geofence Devices

Response

Returns a Void

Arguments
Name Description
id - String! Device id
input - device_relationship_Input

Example

Query
mutation geofence_put_geofences_relationships_devices(
  $id: String!,
  $input: device_relationship_Input
) {
  geofence_put_geofences_relationships_devices(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "abc123",
  "input": device_relationship_Input
}
Response
{"data": {"geofence_put_geofences_relationships_devices": null}}

geofence_put_geofences_relationships_groups

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/geofences/{args.id}/relationships/groups

[alpha] Replace Geofence Groups

Response

Returns a Void

Arguments
Name Description
id - String! Group id
input - group_relationship_Input

Example

Query
mutation geofence_put_geofences_relationships_groups(
  $id: String!,
  $input: group_relationship_Input
) {
  geofence_put_geofences_relationships_groups(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "xyz789",
  "input": group_relationship_Input
}
Response
{"data": {"geofence_put_geofences_relationships_groups": null}}

geofence_put_schedule

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/schedules/{args.id}

[alpha] Update Schedule

Response

Returns a schedule_show

Arguments
Name Description
id - String! Schedule id
input - schedule_update_Input

Example

Query
mutation geofence_put_schedule(
  $id: String!,
  $input: schedule_update_Input
) {
  geofence_put_schedule(
    id: $id,
    input: $input
  ) {
    data {
      ...geofence_scheduleFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "input": schedule_update_Input
}
Response
{
  "data": {
    "geofence_put_schedule": {"data": geofence_schedule}
  }
}

geofence_put_shape

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/shapes/{args.id}

[alpha] Update Shape

Response

Returns a shape_show

Arguments
Name Description
id - String! Shape id
input - shape_update_Input

Example

Query
mutation geofence_put_shape(
  $id: String!,
  $input: shape_update_Input
) {
  geofence_put_shape(
    id: $id,
    input: $input
  ) {
    data {
      ...geofence_shapeFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "input": shape_update_Input
}
Response
{"data": {"geofence_put_shape": {"data": geofence_shape}}}

geofence_put_user

Description

Method: PUT Base URL: {env.GEOFENCE_API} Path: /v1/users/{args.id}

[alpha] Update User role

Response

Returns a JSON

Arguments
Name Description
id - String! User id
input - user_Input

Example

Query
mutation geofence_put_user(
  $id: String!,
  $input: user_Input
) {
  geofence_put_user(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "abc123",
  "input": user_Input
}
Response
{"data": {"geofence_put_user": {}}}

group_create

Response

Returns a Group

Arguments
Name Description
hierarchy_level - GroupHierarchyLevel Hierarchy level
label - String! Label
owner - ID Owner account
tags - [String] Tags

Example

Query
mutation group_create(
  $hierarchy_level: GroupHierarchyLevel,
  $label: String!,
  $owner: ID,
  $tags: [String]
) {
  group_create(
    hierarchy_level: $hierarchy_level,
    label: $label,
    owner: $owner,
    tags: $tags
  ) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    children {
      ...GroupPagedFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    hierarchy_level
    label
    owner {
      ...AccountFragment
    }
    parents {
      ...GroupPagedFragment
    }
    tags
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    device_groups {
      ...device_group_paginatedFragment
    }
    user_roles {
      ...user_role_paginatedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    summary_from_alerts {
      ... on fleet_summary {
        ...fleet_summaryFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "hierarchy_level": "CENTER",
  "label": "xyz789",
  "owner": 4,
  "tags": ["xyz789"]
}
Response
{
  "data": {
    "group_create": {
      "id": 4,
      "alerts": VehicleAlertPaged,
      "children": GroupPaged,
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "hierarchy_level": "CENTER",
      "label": "abc123",
      "owner": Account,
      "parents": GroupPaged,
      "tags": ["abc123"],
      "users": AccountPaged,
      "vehicles": VehiclePaged,
      "device_groups": device_group_paginated,
      "user_roles": user_role_paginated,
      "geofences": geofence_paginated,
      "summary_from_journey": journey_summary,
      "journey_reports": report_paginated,
      "summary_from_alerts": fleet_summary
    }
  }
}

group_delete

Response

Returns an ID

Arguments
Name Description
id - ID! Group Identifier

Example

Query
mutation group_delete($id: ID!) {
  group_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"group_delete": 4}}

group_update

Response

Returns a Group

Arguments
Name Description
hierarchy_level - GroupHierarchyLevel Hierarchy level
id - ID! Identifier
label - String Label
owner - ID Owner account
tags - [String] Tags

Example

Query
mutation group_update(
  $hierarchy_level: GroupHierarchyLevel,
  $id: ID!,
  $label: String,
  $owner: ID,
  $tags: [String]
) {
  group_update(
    hierarchy_level: $hierarchy_level,
    id: $id,
    label: $label,
    owner: $owner,
    tags: $tags
  ) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    children {
      ...GroupPagedFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    hierarchy_level
    label
    owner {
      ...AccountFragment
    }
    parents {
      ...GroupPagedFragment
    }
    tags
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    device_groups {
      ...device_group_paginatedFragment
    }
    user_roles {
      ...user_role_paginatedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    summary_from_alerts {
      ... on fleet_summary {
        ...fleet_summaryFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "hierarchy_level": "CENTER",
  "id": "4",
  "label": "xyz789",
  "owner": 4,
  "tags": ["xyz789"]
}
Response
{
  "data": {
    "group_update": {
      "id": 4,
      "alerts": VehicleAlertPaged,
      "children": GroupPaged,
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "hierarchy_level": "CENTER",
      "label": "abc123",
      "owner": Account,
      "parents": GroupPaged,
      "tags": ["xyz789"],
      "users": AccountPaged,
      "vehicles": VehiclePaged,
      "device_groups": device_group_paginated,
      "user_roles": user_role_paginated,
      "geofences": geofence_paginated,
      "summary_from_journey": journey_summary,
      "journey_reports": report_paginated,
      "summary_from_alerts": fleet_summary
    }
  }
}

group_update_members

Response

Returns an ID

Arguments
Name Description
id - ID! Id of group being modified
ids - [ID]! Ids of members being add/remove to/from group
op - MemberOperation! Add or remove
type - GroupMember! Member type

Example

Query
mutation group_update_members(
  $id: ID!,
  $ids: [ID]!,
  $op: MemberOperation!,
  $type: GroupMember!
) {
  group_update_members(
    id: $id,
    ids: $ids,
    op: $op,
    type: $type
  )
}
Variables
{
  "id": "4",
  "ids": ["4"],
  "op": "ADD",
  "type": "CHILD"
}
Response
{"data": {"group_update_members": 4}}

journey_add_devices_to_trip_tag_schedule

Description

Method: POST Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules/{args.id}/relationships/devices

[alpha] Post Trip Tag Schedule

Response

Returns a Void

Arguments
Name Description
id - String! Trip Tag Schedule id
input - associated_devices_Input

Example

Query
mutation journey_add_devices_to_trip_tag_schedule(
  $id: String!,
  $input: associated_devices_Input
) {
  journey_add_devices_to_trip_tag_schedule(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "xyz789",
  "input": associated_devices_Input
}
Response
{"data": {"journey_add_devices_to_trip_tag_schedule": null}}

journey_delete_devices_from_trip_tag_schedule

Description

Method: DELETE Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules/{args.id}/relationships/devices

[alpha] Delete Trip Tag Schedule Device

Response

Returns a Void

Arguments
Name Description
id - String! Trip Tag Schedule id
input - associated_devices_Input

Example

Query
mutation journey_delete_devices_from_trip_tag_schedule(
  $id: String!,
  $input: associated_devices_Input
) {
  journey_delete_devices_from_trip_tag_schedule(
    id: $id,
    input: $input
  )
}
Variables
{
  "id": "abc123",
  "input": associated_devices_Input
}
Response
{"data": {"journey_delete_devices_from_trip_tag_schedule": null}}

journey_post_metadata

Description

Method: POST Base URL: {env.JOURNEY_API} Path: /v1/metadata

[alpha] Post Metadata

Response

Returns a post_metadata_response

Arguments
Name Description
input - post_metadata_request_Input

Example

Query
mutation journey_post_metadata($input: post_metadata_request_Input) {
  journey_post_metadata(input: $input) {
    data {
      ...mutation_post_metadata_dataFragment
    }
  }
}
Variables
{"input": post_metadata_request_Input}
Response
{
  "data": {
    "journey_post_metadata": {
      "data": mutation_post_metadata_data
    }
  }
}

journey_post_reports

Description

Method: POST Base URL: {env.JOURNEY_API} Path: /v1/reports

[alpha] Post Report

Response

Returns a post_reports_response

Arguments
Name Description
input - report_encapsulated_post_Input

Example

Query
mutation journey_post_reports($input: report_encapsulated_post_Input) {
  journey_post_reports(input: $input) {
    ... on report_encapsulated {
      ...report_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": report_encapsulated_post_Input}
Response
{"data": {"journey_post_reports": report_encapsulated}}

journey_post_trip_tag_schedules

Description

Method: POST Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules

[alpha] Post Trip Tag Schedule

Arguments
Name Description
input - trip_tag_schedule_encapsulated_post_Input

Example

Query
mutation journey_post_trip_tag_schedules($input: trip_tag_schedule_encapsulated_post_Input) {
  journey_post_trip_tag_schedules(input: $input) {
    ... on trip_tag_schedule_encapsulated {
      ...trip_tag_schedule_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": trip_tag_schedule_encapsulated_post_Input}
Response
{
  "data": {
    "journey_post_trip_tag_schedules": trip_tag_schedule_encapsulated
  }
}

journey_update_trip_tag_schedule

Description

Method: PUT Base URL: {env.JOURNEY_API} Path: /v1/trip_tag_schedules/{args.id}

[alpha] Update Trip Tag Schedule

Response

Returns a trip_tag_schedule_encapsulated

Arguments
Name Description
id - String! Trip Tag Schedule id
input - trip_tag_schedule_encapsulated_put_Input

Example

Query
mutation journey_update_trip_tag_schedule(
  $id: String!,
  $input: trip_tag_schedule_encapsulated_put_Input
) {
  journey_update_trip_tag_schedule(
    id: $id,
    input: $input
  ) {
    data {
      ...journey_trip_tag_scheduleFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "input": trip_tag_schedule_encapsulated_put_Input
}
Response
{
  "data": {
    "journey_update_trip_tag_schedule": {
      "data": journey_trip_tag_schedule
    }
  }
}

lighthorn_trigger

Description

Trigger lighthorn

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id

Example

Query
mutation lighthorn_trigger($device_id: ID!) {
  lighthorn_trigger(device_id: $device_id) {
    attributes
    id
    type
  }
}
Variables
{"device_id": "4"}
Response
{
  "data": {
    "lighthorn_trigger": {
      "attributes": Json,
      "id": "4",
      "type": "abc123"
    }
  }
}

logfetch_create

Description

Request a log fetch

Response

Returns a Logfetch

Arguments
Name Description
action - String!
device_id - ID!
reason - String

Example

Query
mutation logfetch_create(
  $action: String!,
  $device_id: ID!,
  $reason: String
) {
  logfetch_create(
    action: $action,
    device_id: $device_id,
    reason: $reason
  ) {
    account
    action_name
    created_at
    id
    reason
    status
    updated_at
  }
}
Variables
{
  "action": "abc123",
  "device_id": 4,
  "reason": "xyz789"
}
Response
{
  "data": {
    "logfetch_create": {
      "account": "abc123",
      "action_name": "abc123",
      "created_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "reason": "xyz789",
      "status": "ABORTED",
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

maintenance_historical_delete

Description

Delete historical maintenance

A corresponding upcoming might get regenerated sooner.

Response

Returns an ID

Arguments
Name Description
id - ID! Maintenance ID

Example

Query
mutation maintenance_historical_delete($id: ID!) {
  maintenance_historical_delete(id: $id)
}
Variables
{"id": 4}
Response
{"data": {"maintenance_historical_delete": 4}}

maintenance_historical_update

Description

Update historical maintenance

Response

Returns a MaintenanceHistorical

Arguments
Name Description
date - DateTime Date of maintenance
id - ID! Maintenance ID
mileage - Int Mileage (km)

Example

Query
mutation maintenance_historical_update(
  $date: DateTime,
  $id: ID!,
  $mileage: Int
) {
  maintenance_historical_update(
    date: $date,
    id: $id,
    mileage: $mileage
  ) {
    id
    date
    mileage
    template {
      ...MaintenanceTemplateFragment
    }
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "date": "2007-12-03T10:15:30Z",
  "id": "4",
  "mileage": 987
}
Response
{
  "data": {
    "maintenance_historical_update": {
      "id": 4,
      "date": "2007-12-03T10:15:30Z",
      "mileage": 123,
      "template": MaintenanceTemplate,
      "vehicle": Vehicle
    }
  }
}

maintenance_upcoming_update

Description

Mark upcoming maintenance as done

This will create a corresponding historical maintenance.

Response

Returns a MaintenanceHistorical

Arguments
Name Description
date - DateTime Date of maintenance
id - ID! Maintenance ID
mileage - Int Mileage at maintenance (km)

Example

Query
mutation maintenance_upcoming_update(
  $date: DateTime,
  $id: ID!,
  $mileage: Int
) {
  maintenance_upcoming_update(
    date: $date,
    id: $id,
    mileage: $mileage
  ) {
    id
    date
    mileage
    template {
      ...MaintenanceTemplateFragment
    }
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "date": "2007-12-03T10:15:30Z",
  "id": 4,
  "mileage": 123
}
Response
{
  "data": {
    "maintenance_upcoming_update": {
      "id": 4,
      "date": "2007-12-03T10:15:30Z",
      "mileage": 987,
      "template": MaintenanceTemplate,
      "vehicle": Vehicle
    }
  }
}

munic_remote_diagnostic_interactive_Interactive_SetTasks

Response

Returns a google__protobuf__Empty

Arguments
Name Description
input - munic__remote_diagnostic__interactive__MetaTask_Input

Example

Query
mutation munic_remote_diagnostic_interactive_Interactive_SetTasks($input: munic__remote_diagnostic__interactive__MetaTask_Input) {
  munic_remote_diagnostic_interactive_Interactive_SetTasks(input: $input)
}
Variables
{
  "input": munic__remote_diagnostic__interactive__MetaTask_Input
}
Response
{
  "data": {
    "munic_remote_diagnostic_interactive_Interactive_SetTasks": google__protobuf__Empty
  }
}

odometer_set

Description

Set odometer value parameter

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id
value - Int! Value

Example

Query
mutation odometer_set(
  $device_id: ID!,
  $value: Int!
) {
  odometer_set(
    device_id: $device_id,
    value: $value
  ) {
    attributes
    id
    type
  }
}
Variables
{"device_id": 4, "value": 987}
Response
{
  "data": {
    "odometer_set": {
      "attributes": Json,
      "id": 4,
      "type": "abc123"
    }
  }
}

onboarding_auxiliary_device_add

Description

Add an auxiliary device

Response

Returns an OnboardingAuxiliaryDevice

Arguments
Name Description
id - ID! Id of existing onboarding request
kind - OnboardingAuxiliaryDeviceKind!
label - String
mac_address_hash - String
sensor_functions - [OnboardingAuxiliarySensorFunction!]
serial_number - String

Example

Query
mutation onboarding_auxiliary_device_add(
  $id: ID!,
  $kind: OnboardingAuxiliaryDeviceKind!,
  $label: String,
  $mac_address_hash: String,
  $sensor_functions: [OnboardingAuxiliarySensorFunction!],
  $serial_number: String
) {
  onboarding_auxiliary_device_add(
    id: $id,
    kind: $kind,
    label: $label,
    mac_address_hash: $mac_address_hash,
    sensor_functions: $sensor_functions,
    serial_number: $serial_number
  ) {
    asset_manager_id
    id
    id_key
    kind
    label
    mac_address_hash
    sensor_functions
    serial_number
  }
}
Variables
{
  "id": "4",
  "kind": "SENSOR",
  "label": "xyz789",
  "mac_address_hash": "xyz789",
  "sensor_functions": ["ACCELERATION"],
  "serial_number": "abc123"
}
Response
{
  "data": {
    "onboarding_auxiliary_device_add": {
      "asset_manager_id": "xyz789",
      "id": "4",
      "id_key": "abc123",
      "kind": "SENSOR",
      "label": "abc123",
      "mac_address_hash": "abc123",
      "sensor_functions": ["ACCELERATION"],
      "serial_number": "xyz789"
    }
  }
}

onboarding_auxiliary_device_remove

Description

remove an auxiliary device

Response

Returns an ID

Arguments
Name Description
auxiliary_device_id - ID! Id of existing auxiliary device
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_auxiliary_device_remove(
  $auxiliary_device_id: ID!,
  $id: ID!
) {
  onboarding_auxiliary_device_remove(
    auxiliary_device_id: $auxiliary_device_id,
    id: $id
  )
}
Variables
{"auxiliary_device_id": 4, "id": 4}
Response
{
  "data": {
    "onboarding_auxiliary_device_remove": "4"
  }
}

onboarding_auxiliary_device_update

Description

Update an auxiliary device

Response

Returns an OnboardingAuxiliaryDevice

Arguments
Name Description
auxiliary_device_id - ID! Id of existing auxiliary device
id - ID! Id of existing onboarding request
kind - OnboardingAuxiliaryDeviceKind!
label - String
mac_address_hash - String
sensor_functions - [OnboardingAuxiliarySensorFunction!]
serial_number - String

Example

Query
mutation onboarding_auxiliary_device_update(
  $auxiliary_device_id: ID!,
  $id: ID!,
  $kind: OnboardingAuxiliaryDeviceKind!,
  $label: String,
  $mac_address_hash: String,
  $sensor_functions: [OnboardingAuxiliarySensorFunction!],
  $serial_number: String
) {
  onboarding_auxiliary_device_update(
    auxiliary_device_id: $auxiliary_device_id,
    id: $id,
    kind: $kind,
    label: $label,
    mac_address_hash: $mac_address_hash,
    sensor_functions: $sensor_functions,
    serial_number: $serial_number
  ) {
    asset_manager_id
    id
    id_key
    kind
    label
    mac_address_hash
    sensor_functions
    serial_number
  }
}
Variables
{
  "auxiliary_device_id": "4",
  "id": "4",
  "kind": "SENSOR",
  "label": "xyz789",
  "mac_address_hash": "abc123",
  "sensor_functions": ["ACCELERATION"],
  "serial_number": "abc123"
}
Response
{
  "data": {
    "onboarding_auxiliary_device_update": {
      "asset_manager_id": "abc123",
      "id": "4",
      "id_key": "abc123",
      "kind": "SENSOR",
      "label": "xyz789",
      "mac_address_hash": "xyz789",
      "sensor_functions": ["ACCELERATION"],
      "serial_number": "xyz789"
    }
  }
}

onboarding_cancel

Description

Cancel onboarding request

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing onboarding request
reason - String Reason for the cancellation

Example

Query
mutation onboarding_cancel(
  $id: ID!,
  $reason: String
) {
  onboarding_cancel(
    id: $id,
    reason: $reason
  ) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{
  "id": "4",
  "reason": "abc123"
}
Response
{
  "data": {
    "onboarding_cancel": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": false,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": "4",
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": 4,
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": "4",
      "km_at_installation": 987,
      "mode": "OTHER",
      "plate_number": 4,
      "profile": ProfileOnboarding,
      "serial_number": "xyz789",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": "4",
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "xyz789",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_clone

Description

Clone onboarding request

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing closed onboarding request

Example

Query
mutation onboarding_clone($id: ID!) {
  onboarding_clone(id: $id) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "onboarding_clone": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": false,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": 4,
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": 4,
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": "4",
      "km_at_installation": 123,
      "mode": "OTHER",
      "plate_number": "4",
      "profile": ProfileOnboarding,
      "serial_number": "abc123",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": "4",
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "xyz789",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_create

Description

Initiate onboarding request

Response

Returns an OnboardingRequest

Arguments
Name Description
code - String Onboarding code
distributor_id - ID! Id of existing onboarding distributor
mode - OnboardingModeArg

Example

Query
mutation onboarding_create(
  $code: String,
  $distributor_id: ID!,
  $mode: OnboardingModeArg
) {
  onboarding_create(
    code: $code,
    distributor_id: $distributor_id,
    mode: $mode
  ) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{
  "code": "abc123",
  "distributor_id": "4",
  "mode": "DISCOVERY"
}
Response
{
  "data": {
    "onboarding_create": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": true,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": 4,
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": 4,
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": 4,
      "km_at_installation": 987,
      "mode": "OTHER",
      "plate_number": "4",
      "profile": ProfileOnboarding,
      "serial_number": "xyz789",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": 4,
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "xyz789",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_device_reserve

Description

Reserve device for onboarding request

Response

Returns a Device

Arguments
Name Description
device_id - ID Device id (imei)
id - ID! Id of existing onboarding request
serial_number - String Device serial number

Example

Query
mutation onboarding_device_reserve(
  $device_id: ID,
  $id: ID!,
  $serial_number: String
) {
  onboarding_device_reserve(
    device_id: $device_id,
    id: $id,
    serial_number: $serial_number
  ) {
    id
    active_account
    aggregated_data {
      ...AggregatedDataFragment
    }
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    battery_annotations {
      ...BatteryAnnotationPagedFragment
    }
    created_at
    current_vehicle {
      ...VehicleFragment
    }
    device_type
    fields {
      ...FieldPagedFragment
    }
    first_connection_at
    groups {
      ...GroupPagedFragment
    }
    harshes {
      ...TripHarshPagedFragment
    }
    history {
      ...DeviceHistoryPagedFragment
    }
    last_activity_at
    last_connection_at
    last_connection_reason
    last_disconnection_at
    last_disconnection_reason
    last_position {
      ...CoordinatesFragment
    }
    last_trip {
      ...TripFragment
    }
    log_fetches {
      ...LogfetchPagedFragment
    }
    onboarded
    overspeeds {
      ...TripOverspeedPagedFragment
    }
    owner {
      ...AccountFragment
    }
    profile_mode {
      ...ProfileDeviceModeFragment
    }
    profile_modes {
      ...ProfileDeviceModePagedFragment
    }
    profile_privacies {
      ...ProfilePrivacyPagedFragment
    }
    profile_privacy {
      ...ProfilePrivacyFragment
    }
    readings {
      ...ReadingPagedFragment
    }
    readings_anon {
      ...ReadingAnonPagedFragment
    }
    remote_diags {
      ...RemoteDiagPagedFragment
    }
    serial_number
    status
    trip_summary {
      ...TripSummaryFragment
    }
    trips {
      ...TripPagedFragment
    }
    updated_at
    vehicle_sessions {
      ...DeviceVehicleSessionPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
    geofences {
      ...geofence_paginatedFragment
    }
    cleaned_positions {
      ...map_matching_position_paginatedFragment
    }
    summary_from_journey {
      ...journey_summaryFragment
    }
    trip_journeys {
      ...journey_trip_paginatedFragment
    }
    trip_tag_schedules {
      ...trip_tag_schedule_paginatedFragment
    }
    journey_reports {
      ... on report_paginated {
        ...report_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "device_id": "4",
  "id": "4",
  "serial_number": "xyz789"
}
Response
{
  "data": {
    "onboarding_device_reserve": {
      "id": "4",
      "active_account": "abc123",
      "aggregated_data": AggregatedData,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "battery_annotations": BatteryAnnotationPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_vehicle": Vehicle,
      "device_type": "abc123",
      "fields": FieldPaged,
      "first_connection_at": "2007-12-03T10:15:30Z",
      "groups": GroupPaged,
      "harshes": TripHarshPaged,
      "history": DeviceHistoryPaged,
      "last_activity_at": "2007-12-03T10:15:30Z",
      "last_connection_at": "2007-12-03T10:15:30Z",
      "last_connection_reason": "CLOSED_BY_SERVER",
      "last_disconnection_at": "2007-12-03T10:15:30Z",
      "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
      "last_position": Coordinates,
      "last_trip": Trip,
      "log_fetches": LogfetchPaged,
      "onboarded": true,
      "overspeeds": TripOverspeedPaged,
      "owner": Account,
      "profile_mode": ProfileDeviceMode,
      "profile_modes": ProfileDeviceModePaged,
      "profile_privacies": ProfilePrivacyPaged,
      "profile_privacy": ProfilePrivacy,
      "readings": ReadingPaged,
      "readings_anon": ReadingAnonPaged,
      "remote_diags": RemoteDiagPaged,
      "serial_number": "xyz789",
      "status": "CONNECTED",
      "trip_summary": TripSummary,
      "trips": TripPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle_sessions": DeviceVehicleSessionPaged,
      "vehicles": VehiclePaged,
      "geofences": geofence_paginated,
      "cleaned_positions": map_matching_position_paginated,
      "summary_from_journey": journey_summary,
      "trip_journeys": journey_trip_paginated,
      "trip_tag_schedules": trip_tag_schedule_paginated,
      "journey_reports": report_paginated
    }
  }
}

onboarding_driver_associate

Use onboarding_driver_association_create
Response

Returns an Account

Arguments
Name Description
driver_id - ID!
id - ID!

Example

Query
mutation onboarding_driver_associate(
  $driver_id: ID!,
  $id: ID!
) {
  onboarding_driver_associate(
    driver_id: $driver_id,
    id: $id
  ) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"driver_id": 4, "id": "4"}
Response
{
  "data": {
    "onboarding_driver_associate": {
      "alert_preference": AlertPreference,
      "company_name": "abc123",
      "country_code": "xyz789",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "xyz789",
      "full_name": "abc123",
      "groups": GroupPaged,
      "id": "4",
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": 4,
      "phone": "abc123",
      "roles": [AccountRole],
      "short_name": "xyz789",
      "time_zone": "abc123",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

onboarding_driver_association_create

Description

Associate driver to onboarding request

Response

Returns an OnboardingDriverAssociation

Arguments
Name Description
driver_id - ID! Id of existing account
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_driver_association_create(
  $driver_id: ID!,
  $id: ID!
) {
  onboarding_driver_association_create(
    driver_id: $driver_id,
    id: $id
  ) {
    driver {
      ...AccountFragment
    }
    id
  }
}
Variables
{"driver_id": "4", "id": 4}
Response
{
  "data": {
    "onboarding_driver_association_create": {
      "driver": Account,
      "id": "4"
    }
  }
}

onboarding_driver_association_update

Description

Reassociate driver to onboarding request

Response

Returns an OnboardingDriverAssociation

Arguments
Name Description
driver_association_id - ID! Id of existing association
driver_id - ID! Id of existing account
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_driver_association_update(
  $driver_association_id: ID!,
  $driver_id: ID!,
  $id: ID!
) {
  onboarding_driver_association_update(
    driver_association_id: $driver_association_id,
    driver_id: $driver_id,
    id: $id
  ) {
    driver {
      ...AccountFragment
    }
    id
  }
}
Variables
{
  "driver_association_id": 4,
  "driver_id": 4,
  "id": "4"
}
Response
{
  "data": {
    "onboarding_driver_association_update": {
      "driver": Account,
      "id": 4
    }
  }
}

onboarding_driver_create

Description

Create driver for onboarding request

Response

Returns an Account

Arguments
Name Description
country_code - String 2-letter Country code
email - String Email
full_name - String Full name
id - ID! Id of existing onboarding request
phone_number - String Phone number
short_name - String Short name

Example

Query
mutation onboarding_driver_create(
  $country_code: String,
  $email: String,
  $full_name: String,
  $id: ID!,
  $phone_number: String,
  $short_name: String
) {
  onboarding_driver_create(
    country_code: $country_code,
    email: $email,
    full_name: $full_name,
    id: $id,
    phone_number: $phone_number,
    short_name: $short_name
  ) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "country_code": "xyz789",
  "email": "xyz789",
  "full_name": "xyz789",
  "id": "4",
  "phone_number": "abc123",
  "short_name": "xyz789"
}
Response
{
  "data": {
    "onboarding_driver_create": {
      "alert_preference": AlertPreference,
      "company_name": "abc123",
      "country_code": "xyz789",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "abc123",
      "full_name": "abc123",
      "groups": GroupPaged,
      "id": "4",
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": "4",
      "phone": "abc123",
      "roles": [AccountRole],
      "short_name": "xyz789",
      "time_zone": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

onboarding_driver_validate

Description

Validate driver for onboarding request

Response

Returns an Account

Arguments
Name Description
code - String Validation code
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_driver_validate(
  $code: String,
  $id: ID!
) {
  onboarding_driver_validate(
    code: $code,
    id: $id
  ) {
    alert_preference {
      ...AlertPreferenceFragment
    }
    company_name
    country_code
    created_at
    descriptions {
      ...DescriptionPagedFragment
    }
    devices {
      ...DevicePagedFragment
    }
    distributors {
      ...OnboardingDistributorPagedFragment
    }
    driver_contacts {
      ...DriverPagedFragment
    }
    driver_profiles {
      ...DriverPagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    email
    full_name
    groups {
      ...GroupPagedFragment
    }
    id
    language
    last_sign_in_at
    organization_id
    phone
    roles {
      ...AccountRoleFragment
    }
    short_name
    time_zone
    updated_at
    vehicles {
      ...VehiclePagedFragment
    }
    workshops {
      ...WorkshopPagedFragment
    }
    sso_user {
      ... on user {
        ...userFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{"code": "xyz789", "id": 4}
Response
{
  "data": {
    "onboarding_driver_validate": {
      "alert_preference": AlertPreference,
      "company_name": "abc123",
      "country_code": "xyz789",
      "created_at": "2007-12-03T10:15:30Z",
      "descriptions": DescriptionPaged,
      "devices": DevicePaged,
      "distributors": OnboardingDistributorPaged,
      "driver_contacts": DriverPaged,
      "driver_profiles": DriverPaged,
      "drivers": DriverPaged,
      "email": "xyz789",
      "full_name": "xyz789",
      "groups": GroupPaged,
      "id": 4,
      "language": Language,
      "last_sign_in_at": "2007-12-03T10:15:30Z",
      "organization_id": "4",
      "phone": "abc123",
      "roles": [AccountRole],
      "short_name": "xyz789",
      "time_zone": "xyz789",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicles": VehiclePaged,
      "workshops": WorkshopPaged,
      "sso_user": user
    }
  }
}

onboarding_finalize

Description

Finalize onboarding request

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_finalize($id: ID!) {
  onboarding_finalize(id: $id) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "onboarding_finalize": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": false,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": 4,
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": "4",
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": 4,
      "km_at_installation": 987,
      "mode": "OTHER",
      "plate_number": "4",
      "profile": ProfileOnboarding,
      "serial_number": "abc123",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": "4",
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "xyz789",
      "warnings": [OnboardingWarning],
      "with_code": true,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_offboard

Description

Unlink device and delete/reset data associated with a closed onboarding request

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID!
reset_data - Boolean!

Example

Query
mutation onboarding_offboard(
  $id: ID!,
  $reset_data: Boolean!
) {
  onboarding_offboard(
    id: $id,
    reset_data: $reset_data
  ) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{"id": 4, "reset_data": true}
Response
{
  "data": {
    "onboarding_offboard": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": true,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": 4,
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": "4",
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": 4,
      "km_at_installation": 123,
      "mode": "OTHER",
      "plate_number": "4",
      "profile": ProfileOnboarding,
      "serial_number": "abc123",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": 4,
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "abc123",
      "warnings": [OnboardingWarning],
      "with_code": true,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_post_client_identifications

Description

Method: POST Base URL: {env.ONBOARDING_API} Path: /v2/client_identifications

[alpha] Create Client Identification

Response

Returns a client_identification_v2_show

Arguments
Name Description
input - client_identification_v2_create_Input

Example

Query
mutation onboarding_post_client_identifications($input: client_identification_v2_create_Input) {
  onboarding_post_client_identifications(input: $input) {
    data {
      ...client_identification_v2Fragment
    }
  }
}
Variables
{"input": client_identification_v2_create_Input}
Response
{
  "data": {
    "onboarding_post_client_identifications": {
      "data": client_identification_v2
    }
  }
}

onboarding_reconfigure_device

Description

Reconfigure onboarded device

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_reconfigure_device($id: ID!) {
  onboarding_reconfigure_device(id: $id) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{"id": "4"}
Response
{
  "data": {
    "onboarding_reconfigure_device": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": true,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": "4",
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": 4,
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": "4",
      "km_at_installation": 987,
      "mode": "OTHER",
      "plate_number": 4,
      "profile": ProfileOnboarding,
      "serial_number": "abc123",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": "4",
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "abc123",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_regen_validation

Description

Resend onboarding driver validation code

Response

Returns an ID

Arguments
Name Description
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_regen_validation($id: ID!) {
  onboarding_regen_validation(id: $id)
}
Variables
{"id": 4}
Response
{"data": {"onboarding_regen_validation": 4}}

onboarding_require_intervention

Description

Require intervention on onboarding

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing onboarding request
reason - String!

Example

Query
mutation onboarding_require_intervention(
  $id: ID!,
  $reason: String!
) {
  onboarding_require_intervention(
    id: $id,
    reason: $reason
  ) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{
  "id": "4",
  "reason": "abc123"
}
Response
{
  "data": {
    "onboarding_require_intervention": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": true,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": "4",
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": "4",
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": "4",
      "km_at_installation": 123,
      "mode": "OTHER",
      "plate_number": 4,
      "profile": ProfileOnboarding,
      "serial_number": "xyz789",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": 4,
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "abc123",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_restore_default_settings

Description

Require intervention on onboarding

Response

Returns an OnboardingRequest

Arguments
Name Description
id - ID! Id of existing onboarding request

Example

Query
mutation onboarding_restore_default_settings($id: ID!) {
  onboarding_restore_default_settings(id: $id) {
    actions {
      ...OnboardingActionPagedFragment
    }
    activate_read_write_in_device
    auxiliary_devices {
      ...OnboardingAuxiliaryDevicePagedFragment
    }
    client_identification_id
    cloned_from {
      ...OnboardingRequestFragment
    }
    cloned_to {
      ...OnboardingRequestFragment
    }
    connection_type
    consent {
      ...OnboardingConsentFragment
    }
    created_at
    created_by {
      ...AccountFragment
    }
    device {
      ...DeviceFragment
    }
    device_bluetooth
    device_created_by {
      ...AccountFragment
    }
    device_mode
    distributor {
      ...OnboardingDistributorFragment
    }
    driver {
      ...AccountFragment
    }
    driver_associated_by {
      ...AccountFragment
    }
    driver_association_id
    driver_created_by {
      ...AccountFragment
    }
    driver_validated_by {
      ...AccountFragment
    }
    id
    km_at_installation
    mode
    plate_number
    profile {
      ...ProfileOnboardingFragment
    }
    serial_number
    status
    updated_at
    vehicle {
      ...VehicleFragment
    }
    vehicle_associated_by {
      ...AccountFragment
    }
    vehicle_connection {
      ...OnboardingVehicleConnectionFragment
    }
    vehicle_created_by {
      ...AccountFragment
    }
    vehicle_creation_id
    vehicle_enriched_by {
      ...AccountFragment
    }
    vehicle_enrichments {
      ...OnboardingVehicleFragment
    }
    vin
    warnings {
      ...OnboardingWarningFragment
    }
    with_code
    setup_status {
      ...request_setup_status_showFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "onboarding_restore_default_settings": {
      "actions": OnboardingActionPaged,
      "activate_read_write_in_device": false,
      "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
      "client_identification_id": "4",
      "cloned_from": OnboardingRequest,
      "cloned_to": OnboardingRequest,
      "connection_type": "CABLE",
      "consent": OnboardingConsent,
      "created_at": "2007-12-03T10:15:30Z",
      "created_by": Account,
      "device": Device,
      "device_bluetooth": "DEFAULT_MODE",
      "device_created_by": Account,
      "device_mode": "OTHER",
      "distributor": OnboardingDistributor,
      "driver": Account,
      "driver_associated_by": Account,
      "driver_association_id": "4",
      "driver_created_by": Account,
      "driver_validated_by": Account,
      "id": 4,
      "km_at_installation": 123,
      "mode": "OTHER",
      "plate_number": 4,
      "profile": ProfileOnboarding,
      "serial_number": "abc123",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle,
      "vehicle_associated_by": Account,
      "vehicle_connection": OnboardingVehicleConnection,
      "vehicle_created_by": Account,
      "vehicle_creation_id": "4",
      "vehicle_enriched_by": Account,
      "vehicle_enrichments": OnboardingVehicle,
      "vin": "xyz789",
      "warnings": [OnboardingWarning],
      "with_code": false,
      "setup_status": request_setup_status_show
    }
  }
}

onboarding_staff_create

Response

Returns an OnboardingStaff

Arguments
Name Description
account_id - ID! Account id
distributor_id - ID! Distributor id
role - OnboardingStaffRole! Staff role

Example

Query
mutation onboarding_staff_create(
  $account_id: ID!,
  $distributor_id: ID!,
  $role: OnboardingStaffRole!
) {
  onboarding_staff_create(
    account_id: $account_id,
    distributor_id: $distributor_id,
    role: $role
  ) {
    account {
      ...AccountFragment
    }
    is_active
    role
  }
}
Variables
{
  "account_id": "4",
  "distributor_id": "4",
  "role": "MANAGER"
}
Response
{
  "data": {
    "onboarding_staff_create": {
      "account": Account,
      "is_active": false,
      "role": "MANAGER"
    }
  }
}

onboarding_staff_update

Response

Returns an OnboardingStaff

Arguments
Name Description
distributor_id - ID! Distributor id
id - ID! Staff id
is_active - Boolean
role - OnboardingStaffRole

Example

Query
mutation onboarding_staff_update(
  $distributor_id: ID!,
  $id: ID!,
  $is_active: Boolean,
  $role: OnboardingStaffRole
) {
  onboarding_staff_update(
    distributor_id: $distributor_id,
    id: $id,
    is_active: $is_active,
    role: $role
  ) {
    account {
      ...AccountFragment
    }
    is_active
    role
  }
}
Variables
{
  "distributor_id": "4",
  "id": "4",
  "is_active": true,
  "role": "MANAGER"
}
Response
{
  "data": {
    "onboarding_staff_update": {
      "account": Account,
      "is_active": false,
      "role": "MANAGER"
    }
  }
}

onboarding_vehicle_connection

Use OnboardingVehicleConnectionUpdate
Response

Returns an ID

Arguments
Name Description
activate_read_write_in_device - Boolean Enable writing or leave read-only
connection_type - DeviceConnectionType Connection type
device_bluetooth - OnboardingDeviceBluetoothMode Specify device bluetooth mode
device_mode - ProfileDeviceModeClassArg Specify device mode
id - ID! Id of existing onboarding request
km_at_installation - Int Vehicle mileage (km) at installation

Example

Query
mutation onboarding_vehicle_connection(
  $activate_read_write_in_device: Boolean,
  $connection_type: DeviceConnectionType,
  $device_bluetooth: OnboardingDeviceBluetoothMode,
  $device_mode: ProfileDeviceModeClassArg,
  $id: ID!,
  $km_at_installation: Int
) {
  onboarding_vehicle_connection(
    activate_read_write_in_device: $activate_read_write_in_device,
    connection_type: $connection_type,
    device_bluetooth: $device_bluetooth,
    device_mode: $device_mode,
    id: $id,
    km_at_installation: $km_at_installation
  )
}
Variables
{
  "activate_read_write_in_device": true,
  "connection_type": "CABLE",
  "device_bluetooth": "DEFAULT_MODE",
  "device_mode": "TELEMATIC",
  "id": 4,
  "km_at_installation": 987
}
Response
{"data": {"onboarding_vehicle_connection": 4}}

onboarding_vehicle_connection_update

Description

Set vehicle connection of an onboarding request

Response

Returns an OnboardingVehicleConnection

Arguments
Name Description
activate_read_write_in_device - Boolean Enable writing or leave read-only
connection_type - DeviceConnectionType Connection type
device_bluetooth - OnboardingDeviceBluetoothMode Specify device bluetooth mode
device_mode - ProfileDeviceModeClassArg Specify device mode
id - ID! Id of existing onboarding request
km_at_installation - Int Vehicle mileage (km) at installation

Example

Query
mutation onboarding_vehicle_connection_update(
  $activate_read_write_in_device: Boolean,
  $connection_type: DeviceConnectionType,
  $device_bluetooth: OnboardingDeviceBluetoothMode,
  $device_mode: ProfileDeviceModeClassArg,
  $id: ID!,
  $km_at_installation: Int
) {
  onboarding_vehicle_connection_update(
    activate_read_write_in_device: $activate_read_write_in_device,
    connection_type: $connection_type,
    device_bluetooth: $device_bluetooth,
    device_mode: $device_mode,
    id: $id,
    km_at_installation: $km_at_installation
  ) {
    activate_read_write_in_device
    connection_type
    device_bluetooth
    device_mode
    id
    km_at_installation
  }
}
Variables
{
  "activate_read_write_in_device": false,
  "connection_type": "CABLE",
  "device_bluetooth": "DEFAULT_MODE",
  "device_mode": "TELEMATIC",
  "id": 4,
  "km_at_installation": 987
}
Response
{
  "data": {
    "onboarding_vehicle_connection_update": {
      "activate_read_write_in_device": true,
      "connection_type": "CABLE",
      "device_bluetooth": "DEFAULT_MODE",
      "device_mode": "OTHER",
      "id": 4,
      "km_at_installation": 123
    }
  }
}

onboarding_vehicle_create

Description

Create vehicle for onboarding request

Response

Returns an ID

Arguments
Name Description
id - ID! Id of existing onboarding request
plate_number - String Vehicle plate number
vin - String Vehicle VIN

Example

Query
mutation onboarding_vehicle_create(
  $id: ID!,
  $plate_number: String,
  $vin: String
) {
  onboarding_vehicle_create(
    id: $id,
    plate_number: $plate_number,
    vin: $vin
  )
}
Variables
{
  "id": 4,
  "plate_number": "xyz789",
  "vin": "abc123"
}
Response
{"data": {"onboarding_vehicle_create": 4}}

onboarding_vehicle_enrichment

Description

Add vehicle information to onboarding request

Response

Returns an OnboardingVehicle

Arguments
Name Description
ac_is_remote_controlled - Boolean
alarm_is_present - Boolean
brand - String The vehicle's brand
brand_model - String The vehicle's model
color - String Color of the vehicle
connectivity - String
ev_plug_position - String
ev_plug_type - String
front_brake_installation - String Odometer (km) at last front brake change
front_brake_wear - String
front_tire_installation - String Odometer (km) at last front tires change
front_tire_wear - String
fuel_type - OnboardingEnergyTypeArg
fuel_type_secondary - OnboardingEnergyTypeArg
id - ID! Id of existing onboarding request
kba - ID Kraftfahrbundesamt (Germany and Austria)
last_date_battery_changed - DateTime Date of last battery change
model_id - ID Vehicle model id. Fetched from AppStore api, or created if == -1
rear_brake_installation - String Odometer (km) at last rear brake change
rear_brake_wear - String
rear_tire_installation - String Odometer (km) at last rear tires change
rear_tire_wear - String
tank_size - Int Tank size (l), -1 if unknown
tyres_type - TyreTypeArg
vehicle_type - VehicleTypeName Vehicle type
year_of_first_circulation - Int

Example

Query
mutation onboarding_vehicle_enrichment(
  $ac_is_remote_controlled: Boolean,
  $alarm_is_present: Boolean,
  $brand: String,
  $brand_model: String,
  $color: String,
  $connectivity: String,
  $ev_plug_position: String,
  $ev_plug_type: String,
  $front_brake_installation: String,
  $front_brake_wear: String,
  $front_tire_installation: String,
  $front_tire_wear: String,
  $fuel_type: OnboardingEnergyTypeArg,
  $fuel_type_secondary: OnboardingEnergyTypeArg,
  $id: ID!,
  $kba: ID,
  $last_date_battery_changed: DateTime,
  $model_id: ID,
  $rear_brake_installation: String,
  $rear_brake_wear: String,
  $rear_tire_installation: String,
  $rear_tire_wear: String,
  $tank_size: Int,
  $tyres_type: TyreTypeArg,
  $vehicle_type: VehicleTypeName,
  $year_of_first_circulation: Int
) {
  onboarding_vehicle_enrichment(
    ac_is_remote_controlled: $ac_is_remote_controlled,
    alarm_is_present: $alarm_is_present,
    brand: $brand,
    brand_model: $brand_model,
    color: $color,
    connectivity: $connectivity,
    ev_plug_position: $ev_plug_position,
    ev_plug_type: $ev_plug_type,
    front_brake_installation: $front_brake_installation,
    front_brake_wear: $front_brake_wear,
    front_tire_installation: $front_tire_installation,
    front_tire_wear: $front_tire_wear,
    fuel_type: $fuel_type,
    fuel_type_secondary: $fuel_type_secondary,
    id: $id,
    kba: $kba,
    last_date_battery_changed: $last_date_battery_changed,
    model_id: $model_id,
    rear_brake_installation: $rear_brake_installation,
    rear_brake_wear: $rear_brake_wear,
    rear_tire_installation: $rear_tire_installation,
    rear_tire_wear: $rear_tire_wear,
    tank_size: $tank_size,
    tyres_type: $tyres_type,
    vehicle_type: $vehicle_type,
    year_of_first_circulation: $year_of_first_circulation
  ) {
    ac_is_remote_controlled
    alarm_is_present
    brand
    brand_model
    color
    connectivity
    ev_plug_position
    ev_plug_type
    front_brake_installation
    front_brake_wear
    front_tire_installation
    front_tire_wear
    fuel_type
    fuel_type_secondary
    kba
    last_date_battery_changed
    model_id
    rear_brake_installation
    rear_brake_wear
    rear_tire_installation
    rear_tire_wear
    tank_size
    tyres_type
    vehicle_type
    vin_descriptions {
      ...DecodeVinResultFragment
    }
    year_of_first_circulation
  }
}
Variables
{
  "ac_is_remote_controlled": true,
  "alarm_is_present": true,
  "brand": "abc123",
  "brand_model": "xyz789",
  "color": "abc123",
  "connectivity": "abc123",
  "ev_plug_position": "xyz789",
  "ev_plug_type": "abc123",
  "front_brake_installation": "abc123",
  "front_brake_wear": "abc123",
  "front_tire_installation": "abc123",
  "front_tire_wear": "xyz789",
  "fuel_type": "DIESEL",
  "fuel_type_secondary": "DIESEL",
  "id": 4,
  "kba": 4,
  "last_date_battery_changed": "2007-12-03T10:15:30Z",
  "model_id": "4",
  "rear_brake_installation": "xyz789",
  "rear_brake_wear": "abc123",
  "rear_tire_installation": "xyz789",
  "rear_tire_wear": "abc123",
  "tank_size": 123,
  "tyres_type": "ALL_SEASONS",
  "vehicle_type": "CAR",
  "year_of_first_circulation": 123
}
Response
{
  "data": {
    "onboarding_vehicle_enrichment": {
      "ac_is_remote_controlled": true,
      "alarm_is_present": false,
      "brand": "xyz789",
      "brand_model": "xyz789",
      "color": "xyz789",
      "connectivity": "xyz789",
      "ev_plug_position": "abc123",
      "ev_plug_type": "abc123",
      "front_brake_installation": "xyz789",
      "front_brake_wear": "abc123",
      "front_tire_installation": "abc123",
      "front_tire_wear": "xyz789",
      "fuel_type": "ADBLUE",
      "fuel_type_secondary": "ADBLUE",
      "kba": "4",
      "last_date_battery_changed": "2007-12-03T10:15:30Z",
      "model_id": "4",
      "rear_brake_installation": "abc123",
      "rear_brake_wear": "abc123",
      "rear_tire_installation": "abc123",
      "rear_tire_wear": "abc123",
      "tank_size": 123,
      "tyres_type": "ALL_SEASONS",
      "vehicle_type": "CAR",
      "vin_descriptions": DecodeVinResult,
      "year_of_first_circulation": 123
    }
  }
}

onboarding_vehicle_update

Description

Upate vehicle for onboarding request

Response

Returns an ID

Arguments
Name Description
id - ID! Id of existing onboarding request
plate_number - String Vehicle plate number
vehicle_creation_id - ID! Id of previous vehicle creation for this onboarding request
vin - String Vehicle VIN

Example

Query
mutation onboarding_vehicle_update(
  $id: ID!,
  $plate_number: String,
  $vehicle_creation_id: ID!,
  $vin: String
) {
  onboarding_vehicle_update(
    id: $id,
    plate_number: $plate_number,
    vehicle_creation_id: $vehicle_creation_id,
    vin: $vin
  )
}
Variables
{
  "id": "4",
  "plate_number": "abc123",
  "vehicle_creation_id": 4,
  "vin": "abc123"
}
Response
{"data": {"onboarding_vehicle_update": "4"}}

partner_create

Response

Returns an OnboardingPartner

Arguments
Name Description
name - String!
organisation_id - ID!
project_id - ID

Example

Query
mutation partner_create(
  $name: String!,
  $organisation_id: ID!,
  $project_id: ID
) {
  partner_create(
    name: $name,
    organisation_id: $organisation_id,
    project_id: $project_id
  ) {
    id
    name
    organization_id
    project {
      ...ProjectFragment
    }
    providers {
      ...OnboardingProviderPagedFragment
    }
  }
}
Variables
{
  "name": "xyz789",
  "organisation_id": "4",
  "project_id": 4
}
Response
{
  "data": {
    "partner_create": {
      "id": 4,
      "name": "xyz789",
      "organization_id": "4",
      "project": Project,
      "providers": OnboardingProviderPaged
    }
  }
}

partner_update

Response

Returns an OnboardingPartner

Arguments
Name Description
emails - [String!]
id - ID!

Example

Query
mutation partner_update(
  $emails: [String!],
  $id: ID!
) {
  partner_update(
    emails: $emails,
    id: $id
  ) {
    id
    name
    organization_id
    project {
      ...ProjectFragment
    }
    providers {
      ...OnboardingProviderPagedFragment
    }
  }
}
Variables
{"emails": ["xyz789"], "id": 4}
Response
{
  "data": {
    "partner_update": {
      "id": "4",
      "name": "xyz789",
      "organization_id": "4",
      "project": Project,
      "providers": OnboardingProviderPaged
    }
  }
}

password_reset

Description

Set new password using reset token

Response

Returns a Boolean

Arguments
Name Description
password - String! New password
token - String! Reset token (see passwordResetToken())

Example

Query
mutation password_reset(
  $password: String!,
  $token: String!
) {
  password_reset(
    password: $password,
    token: $token
  )
}
Variables
{
  "password": "xyz789",
  "token": "xyz789"
}
Response
{"data": {"password_reset": false}}

password_reset_token

Description

Request password reset (token will be sent via side channel)

Response

Returns an ID

Arguments
Name Description
channel - PasswordResetChannel! Side channel type
id - ID! Side channel id

Example

Query
mutation password_reset_token(
  $channel: PasswordResetChannel!,
  $id: ID!
) {
  password_reset_token(
    channel: $channel,
    id: $id
  )
}
Variables
{"channel": "EMAIL", "id": 4}
Response
{"data": {"password_reset_token": "4"}}

post_driver_authorized_vehicles

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/driver_authorized_vehicles

[beta] create vehicle authorization

Arguments
Name Description
driver_id - String! Driver ID
input - driver_authorized_vehicle_create_Input

Example

Query
mutation post_driver_authorized_vehicles(
  $driver_id: String!,
  $input: driver_authorized_vehicle_create_Input
) {
  post_driver_authorized_vehicles(
    driver_id: $driver_id,
    input: $input
  ) {
    ... on driver_authorized_vehicle_show {
      ...driver_authorized_vehicle_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "xyz789",
  "input": driver_authorized_vehicle_create_Input
}
Response
{
  "data": {
    "post_driver_authorized_vehicles": driver_authorized_vehicle_show
  }
}

post_driver_auxiliary_devices

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/auxiliary_devices

[beta] create a new auxilary device

Arguments
Name Description
driver_id - String! Driver ID
input - auxiliary_device_create_Input

Example

Query
mutation post_driver_auxiliary_devices(
  $driver_id: String!,
  $input: auxiliary_device_create_Input
) {
  post_driver_auxiliary_devices(
    driver_id: $driver_id,
    input: $input
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "input": auxiliary_device_create_Input
}
Response
{
  "data": {
    "post_driver_auxiliary_devices": auxiliary_device_show
  }
}

post_organization

Description

Method: POST Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/organizations

[alpha] Post Organization

Response

Returns a post_organization_response

Arguments
Name Description
input - organization_encapsulated_post_Input

Example

Query
mutation post_organization($input: organization_encapsulated_post_Input) {
  post_organization(input: $input) {
    ... on organization_encapsulated {
      ...organization_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": organization_encapsulated_post_Input}
Response
{"data": {"post_organization": organization_encapsulated}}

post_user_unlock_requests

Description

Method: POST Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/user_unlock_requests

[alpha] Request a user unlock

Arguments
Name Description
input - user_unlock_request_create_Input

Example

Query
mutation post_user_unlock_requests($input: user_unlock_request_create_Input) {
  post_user_unlock_requests(input: $input) {
    ... on user_unlock_request_show {
      ...user_unlock_request_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": user_unlock_request_create_Input}
Response
{
  "data": {
    "post_user_unlock_requests": user_unlock_request_show
  }
}

post_user_unlocks

Description

Method: POST Base URL: {env.MUNIC_CONNECT_API} Path: /api/v2/user_unlocks

[alpha] Request a user unlock

Response

Returns a post_user_unlocks_response

Arguments
Name Description
input - user_unlock_create_Input

Example

Query
mutation post_user_unlocks($input: user_unlock_create_Input) {
  post_user_unlocks(input: $input) {
    ... on user_unlock_show {
      ...user_unlock_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": user_unlock_create_Input}
Response
{"data": {"post_user_unlocks": user_unlock_show}}

post_v1_user_alert_notifications

Description

Method: POST Base URL: {env.VEHICLE_ALERTS_API} Path: /v1/user_alert_notifications

[alpha] Create user_alert_notification

Arguments
Name Description
input - post_user_alert_notification_Input

Example

Query
mutation post_v1_user_alert_notifications($input: post_user_alert_notification_Input) {
  post_v1_user_alert_notifications(input: $input) {
    ... on fetch_user_alert_notification_encapsulated {
      ...fetch_user_alert_notification_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{"input": post_user_alert_notification_Input}
Response
{
  "data": {
    "post_v1_user_alert_notifications": fetch_user_alert_notification_encapsulated
  }
}

post_vehicle_auxiliary_devices

Description

Method: POST Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/auxiliary_devices

[beta] create a new auxilary device

Arguments
Name Description
vehicle_id - String! Vehicle ID
input - auxiliary_device_create_Input

Example

Query
mutation post_vehicle_auxiliary_devices(
  $vehicle_id: String!,
  $input: auxiliary_device_create_Input
) {
  post_vehicle_auxiliary_devices(
    vehicle_id: $vehicle_id,
    input: $input
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "xyz789",
  "input": auxiliary_device_create_Input
}
Response
{
  "data": {
    "post_vehicle_auxiliary_devices": auxiliary_device_show
  }
}

project_create

Description

Create a new project

Response

Returns a Project

Arguments
Name Description
label - String! Project label
owner_id - ID Project owner (defaults to logged in user)

Example

Query
mutation project_create(
  $label: String!,
  $owner_id: ID
) {
  project_create(
    label: $label,
    owner_id: $owner_id
  ) {
    id
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    label
    owner {
      ...AccountFragment
    }
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
  }
}
Variables
{"label": "xyz789", "owner_id": 4}
Response
{
  "data": {
    "project_create": {
      "id": "4",
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "groups": GroupPaged,
      "label": "xyz789",
      "owner": Account,
      "users": AccountPaged,
      "vehicles": VehiclePaged
    }
  }
}

project_delete

Description

Delete project

Response

Returns an ID

Arguments
Name Description
id - ID! Project id

Example

Query
mutation project_delete($id: ID!) {
  project_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"project_delete": 4}}

project_update

Description

Update project fields

Response

Returns a Project

Arguments
Name Description
id - ID! Project id
label - String Project label
owner_id - ID Project owner

Example

Query
mutation project_update(
  $id: ID!,
  $label: String,
  $owner_id: ID
) {
  project_update(
    id: $id,
    label: $label,
    owner_id: $owner_id
  ) {
    id
    devices {
      ...DevicePagedFragment
    }
    drivers {
      ...DriverPagedFragment
    }
    groups {
      ...GroupPagedFragment
    }
    label
    owner {
      ...AccountFragment
    }
    users {
      ...AccountPagedFragment
    }
    vehicles {
      ...VehiclePagedFragment
    }
  }
}
Variables
{
  "id": 4,
  "label": "abc123",
  "owner_id": "4"
}
Response
{
  "data": {
    "project_update": {
      "id": "4",
      "devices": DevicePaged,
      "drivers": DriverPaged,
      "groups": GroupPaged,
      "label": "abc123",
      "owner": Account,
      "users": AccountPaged,
      "vehicles": VehiclePaged
    }
  }
}

project_update_members

Response

Returns an ID

Arguments
Name Description
id - ID! Id of project being modified
ids - [ID]! Ids of members being add/remove to/from project
op - MemberOperation! Add or remove
type - ProjectMember! Member type

Example

Query
mutation project_update_members(
  $id: ID!,
  $ids: [ID]!,
  $op: MemberOperation!,
  $type: ProjectMember!
) {
  project_update_members(
    id: $id,
    ids: $ids,
    op: $op,
    type: $type
  )
}
Variables
{
  "id": "4",
  "ids": ["4"],
  "op": "ADD",
  "type": "DEVICE"
}
Response
{"data": {"project_update_members": 4}}

provider_create

Response

Returns an OnboardingProvider

Arguments
Name Description
emails - [String!]
name - String!
partner_id - ID!
send_poke - Boolean

Example

Query
mutation provider_create(
  $emails: [String!],
  $name: String!,
  $partner_id: ID!,
  $send_poke: Boolean
) {
  provider_create(
    emails: $emails,
    name: $name,
    partner_id: $partner_id,
    send_poke: $send_poke
  ) {
    emails
    id
    munic_support_emails
    name
    partner {
      ...OnboardingPartnerFragment
    }
    send_poke
  }
}
Variables
{
  "emails": ["abc123"],
  "name": "abc123",
  "partner_id": 4,
  "send_poke": false
}
Response
{
  "data": {
    "provider_create": {
      "emails": ["abc123"],
      "id": "4",
      "munic_support_emails": ["abc123"],
      "name": "abc123",
      "partner": OnboardingPartner,
      "send_poke": false
    }
  }
}

provider_update

Response

Returns an OnboardingProvider

Arguments
Name Description
emails - [String!]
id - ID!

Example

Query
mutation provider_update(
  $emails: [String!],
  $id: ID!
) {
  provider_update(
    emails: $emails,
    id: $id
  ) {
    emails
    id
    munic_support_emails
    name
    partner {
      ...OnboardingPartnerFragment
    }
    send_poke
  }
}
Variables
{"emails": ["xyz789"], "id": 4}
Response
{
  "data": {
    "provider_update": {
      "emails": ["xyz789"],
      "id": "4",
      "munic_support_emails": ["abc123"],
      "name": "abc123",
      "partner": OnboardingPartner,
      "send_poke": true
    }
  }
}

put_driver_authorized_vehicle

Description

Method: PUT Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/driver_authorized_vehicles/{args.vehicle_id}

[beta] update driver authorized vehicle info

Arguments
Name Description
driver_id - String! Driver ID
vehicle_id - String! Vehicle ID
input - driver_authorized_vehicle_update_Input

Example

Query
mutation put_driver_authorized_vehicle(
  $driver_id: String!,
  $vehicle_id: String!,
  $input: driver_authorized_vehicle_update_Input
) {
  put_driver_authorized_vehicle(
    driver_id: $driver_id,
    vehicle_id: $vehicle_id,
    input: $input
  ) {
    ... on driver_authorized_vehicle_show {
      ...driver_authorized_vehicle_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "vehicle_id": "abc123",
  "input": driver_authorized_vehicle_update_Input
}
Response
{
  "data": {
    "put_driver_authorized_vehicle": driver_authorized_vehicle_show
  }
}

put_driver_auxiliary_device

Description

Method: PUT Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/auxiliary_devices/{args.aux_id}

[beta] update auxiliary device info

Arguments
Name Description
driver_id - String! Driver ID
aux_id - String! Auxiliary Device ID
input - auxiliary_device_update_Input

Example

Query
mutation put_driver_auxiliary_device(
  $driver_id: String!,
  $aux_id: String!,
  $input: auxiliary_device_update_Input
) {
  put_driver_auxiliary_device(
    driver_id: $driver_id,
    aux_id: $aux_id,
    input: $input
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "aux_id": "abc123",
  "input": auxiliary_device_update_Input
}
Response
{
  "data": {
    "put_driver_auxiliary_device": auxiliary_device_show
  }
}

put_v1_user_alert_notifications_by_id

Description

Method: PUT Base URL: {env.VEHICLE_ALERTS_API} Path: /v1/user_alert_notifications/{args.id}

[alpha] Update user_alert_notification

Arguments
Name Description
id - String! User Alert Notification id
input - put_user_alert_notification_Input

Example

Query
mutation put_v1_user_alert_notifications_by_id(
  $id: String!,
  $input: put_user_alert_notification_Input
) {
  put_v1_user_alert_notifications_by_id(
    id: $id,
    input: $input
  ) {
    ... on fetch_user_alert_notification_encapsulated {
      ...fetch_user_alert_notification_encapsulatedFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "input": put_user_alert_notification_Input
}
Response
{
  "data": {
    "put_v1_user_alert_notifications_by_id": fetch_user_alert_notification_encapsulated
  }
}

put_vehicle_auxiliary_device

Description

Method: PUT Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.vehicle_id}/auxiliary_devices/{args.aux_id}

[beta] update auxiliary device info

Arguments
Name Description
vehicle_id - String! Vehicle ID
aux_id - String! Auxiliary Device ID
input - auxiliary_device_update_Input

Example

Query
mutation put_vehicle_auxiliary_device(
  $vehicle_id: String!,
  $aux_id: String!,
  $input: auxiliary_device_update_Input
) {
  put_vehicle_auxiliary_device(
    vehicle_id: $vehicle_id,
    aux_id: $aux_id,
    input: $input
  ) {
    ... on auxiliary_device_show {
      ...auxiliary_device_showFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "vehicle_id": "abc123",
  "aux_id": "abc123",
  "input": auxiliary_device_update_Input
}
Response
{
  "data": {
    "put_vehicle_auxiliary_device": auxiliary_device_show
  }
}

quotation_create

Description

Create quotation

Response

Returns a Quotation

Arguments
Name Description
maintenance_code - String! Maintenance code
plate_number - String! Vehicle plate number
workshop_id - ID! Workshop ID

Example

Query
mutation quotation_create(
  $maintenance_code: String!,
  $plate_number: String!,
  $workshop_id: ID!
) {
  quotation_create(
    maintenance_code: $maintenance_code,
    plate_number: $plate_number,
    workshop_id: $workshop_id
  ) {
    id
    booking_id
    currency
    maintenance_code
    plate_number
    price
    provider_quotation_id
    taxes
    taxes_price
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "maintenance_code": "xyz789",
  "plate_number": "xyz789",
  "workshop_id": "4"
}
Response
{
  "data": {
    "quotation_create": {
      "id": "4",
      "booking_id": "4",
      "currency": "abc123",
      "maintenance_code": "abc123",
      "plate_number": "abc123",
      "price": 987,
      "provider_quotation_id": 4,
      "taxes": 987,
      "taxes_price": 987,
      "workshop": Workshop
    }
  }
}

rating_create

Description

Create rating

Response

Returns a Rating

Arguments
Name Description
booking_id - ID Booking ID
message - String Message
stars - Int Stars
workshop_id - ID Workshop ID

Example

Query
mutation rating_create(
  $booking_id: ID,
  $message: String,
  $stars: Int,
  $workshop_id: ID
) {
  rating_create(
    booking_id: $booking_id,
    message: $message,
    stars: $stars,
    workshop_id: $workshop_id
  ) {
    id
    booking {
      ...BookingFragment
    }
    created_at
    message
    response
    response_date
    stars
    status
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "booking_id": "4",
  "message": "xyz789",
  "stars": 987,
  "workshop_id": "4"
}
Response
{
  "data": {
    "rating_create": {
      "id": "4",
      "booking": Booking,
      "created_at": "2007-12-03T10:15:30Z",
      "message": "xyz789",
      "response": "abc123",
      "response_date": "2007-12-03T10:15:30Z",
      "stars": 987,
      "status": "NOT_VERIFIED",
      "workshop": Workshop
    }
  }
}

rating_delete

Description

Delete rating

Response

Returns an ID

Arguments
Name Description
id - ID! Rating ID

Example

Query
mutation rating_delete($id: ID!) {
  rating_delete(id: $id)
}
Variables
{"id": 4}
Response
{"data": {"rating_delete": 4}}

rating_update

Description

Update rating

Response

Returns a Rating

Arguments
Name Description
booking_id - ID Booking ID
id - ID! Rating ID
message - String Message
stars - Int Stars

Example

Query
mutation rating_update(
  $booking_id: ID,
  $id: ID!,
  $message: String,
  $stars: Int
) {
  rating_update(
    booking_id: $booking_id,
    id: $id,
    message: $message,
    stars: $stars
  ) {
    id
    booking {
      ...BookingFragment
    }
    created_at
    message
    response
    response_date
    stars
    status
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "booking_id": "4",
  "id": 4,
  "message": "xyz789",
  "stars": 987
}
Response
{
  "data": {
    "rating_update": {
      "id": "4",
      "booking": Booking,
      "created_at": "2007-12-03T10:15:30Z",
      "message": "abc123",
      "response": "xyz789",
      "response_date": "2007-12-03T10:15:30Z",
      "stars": 123,
      "status": "NOT_VERIFIED",
      "workshop": Workshop
    }
  }
}

rdc_ekko_initialize

Description

Initialize Ekko

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id
displacement - Int Displacement
energy_type - EnergyType Energy type
odometer - Int Odometer (km)
vin - String Vehicle Identification Number

Example

Query
mutation rdc_ekko_initialize(
  $device_id: ID!,
  $displacement: Int,
  $energy_type: EnergyType,
  $odometer: Int,
  $vin: String
) {
  rdc_ekko_initialize(
    device_id: $device_id,
    displacement: $displacement,
    energy_type: $energy_type,
    odometer: $odometer,
    vin: $vin
  ) {
    attributes
    id
    type
  }
}
Variables
{
  "device_id": 4,
  "displacement": 123,
  "energy_type": "ADBLUE",
  "odometer": 987,
  "vin": "xyz789"
}
Response
{
  "data": {
    "rdc_ekko_initialize": {
      "attributes": Json,
      "id": "4",
      "type": "xyz789"
    }
  }
}

rdc_gps_toggle

Description

Temporarily stop gps tracking

Response

Returns a RdcAsyncAck

Arguments
Name Description
action - ToggleAction! Start/Stop
device_id - ID! Device id
duration - Int! Duration (minutes)

Example

Query
mutation rdc_gps_toggle(
  $action: ToggleAction!,
  $device_id: ID!,
  $duration: Int!
) {
  rdc_gps_toggle(
    action: $action,
    device_id: $device_id,
    duration: $duration
  ) {
    attributes
    id
    type
  }
}
Variables
{
  "action": "START",
  "device_id": "4",
  "duration": 987
}
Response
{
  "data": {
    "rdc_gps_toggle": {
      "attributes": Json,
      "id": "4",
      "type": "xyz789"
    }
  }
}

rdc_post_doors_toggle_requests

Description

Method: POST Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/doors/requests/toggles Toggle Doors sms

Response

Returns a doors_toggle_request_show

Arguments
Name Description
input - doors_toggle_request_create_Input

Example

Query
mutation rdc_post_doors_toggle_requests($input: doors_toggle_request_create_Input) {
  rdc_post_doors_toggle_requests(input: $input) {
    data {
      ...doors_toggle_requestFragment
    }
  }
}
Variables
{"input": doors_toggle_request_create_Input}
Response
{
  "data": {
    "rdc_post_doors_toggle_requests": {
      "data": doors_toggle_request
    }
  }
}

rdc_post_engine_immobilizer_requests

Description

Method: POST Base URL: {env.REMOTE_DEVICE_COMMAND_API} Path: /v1/public/engine/requests/immobilizers Engine immobilizers

Response

Returns an engine_immobilizer_request_show

Arguments
Name Description
input - engine_immobilizer_request_create_Input

Example

Query
mutation rdc_post_engine_immobilizer_requests($input: engine_immobilizer_request_create_Input) {
  rdc_post_engine_immobilizer_requests(input: $input) {
    data {
      ...engine_immobilizer_requestFragment
    }
  }
}
Variables
{"input": engine_immobilizer_request_create_Input}
Response
{
  "data": {
    "rdc_post_engine_immobilizer_requests": {
      "data": engine_immobilizer_request
    }
  }
}

rdc_system_reboot

Description

Reboot the device

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id

Example

Query
mutation rdc_system_reboot($device_id: ID!) {
  rdc_system_reboot(device_id: $device_id) {
    attributes
    id
    type
  }
}
Variables
{"device_id": "4"}
Response
{
  "data": {
    "rdc_system_reboot": {
      "attributes": Json,
      "id": "4",
      "type": "abc123"
    }
  }
}

remote_diag_action_create

Response

Returns a RemoteDiagAction

Arguments
Name Description
action - RemoteDiagActionTypeArg! Action type
ecus - [ID!] Selected ECUs by id
pids - [ID!] Selected parameters by id
pids_names - [String!] Selected parameters by name
remote_diag_id - ID! Id of remote diagnostic session

Example

Query
mutation remote_diag_action_create(
  $action: RemoteDiagActionTypeArg!,
  $ecus: [ID!],
  $pids: [ID!],
  $pids_names: [String!],
  $remote_diag_id: ID!
) {
  remote_diag_action_create(
    action: $action,
    ecus: $ecus,
    pids: $pids,
    pids_names: $pids_names,
    remote_diag_id: $remote_diag_id
  ) {
    created_at
    dtcs {
      ...RemoteDiagResultDtcPagedFragment
    }
    ecus
    failure_reason
    id
    pids
    progress
    snapshots {
      ...RemoteDiagResultSnapshotPagedFragment
    }
    status
    supported_parameters {
      ...RemoteDiagSupportedParameterPagedFragment
    }
    type
    updated_at
  }
}
Variables
{
  "action": "CANCEL_LIVE_PARAMETERS",
  "ecus": [4],
  "pids": ["4"],
  "pids_names": ["xyz789"],
  "remote_diag_id": 4
}
Response
{
  "data": {
    "remote_diag_action_create": {
      "created_at": "2007-12-03T10:15:30Z",
      "dtcs": RemoteDiagResultDtcPaged,
      "ecus": [4],
      "failure_reason": "xyz789",
      "id": "4",
      "pids": ["4"],
      "progress": 123.45,
      "snapshots": RemoteDiagResultSnapshotPaged,
      "status": "ABORT",
      "supported_parameters": RemoteDiagSupportedParameterPaged,
      "type": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

remote_diag_action_update

Response

Returns a RemoteDiagAction

Arguments
Name Description
id - ID!
status - RemoteDiagActionStatusArg!

Example

Query
mutation remote_diag_action_update(
  $id: ID!,
  $status: RemoteDiagActionStatusArg!
) {
  remote_diag_action_update(
    id: $id,
    status: $status
  ) {
    created_at
    dtcs {
      ...RemoteDiagResultDtcPagedFragment
    }
    ecus
    failure_reason
    id
    pids
    progress
    snapshots {
      ...RemoteDiagResultSnapshotPagedFragment
    }
    status
    supported_parameters {
      ...RemoteDiagSupportedParameterPagedFragment
    }
    type
    updated_at
  }
}
Variables
{"id": 4, "status": "ABORT"}
Response
{
  "data": {
    "remote_diag_action_update": {
      "created_at": "2007-12-03T10:15:30Z",
      "dtcs": RemoteDiagResultDtcPaged,
      "ecus": ["4"],
      "failure_reason": "xyz789",
      "id": "4",
      "pids": ["4"],
      "progress": 123.45,
      "snapshots": RemoteDiagResultSnapshotPaged,
      "status": "ABORT",
      "supported_parameters": RemoteDiagSupportedParameterPaged,
      "type": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

remote_diag_cancel

Description

Close a remote diagnostic session

Response

Returns a RemoteDiag

Arguments
Name Description
id - ID! Id of remote diagnostic session

Example

Query
mutation remote_diag_cancel($id: ID!) {
  remote_diag_cancel(id: $id) {
    id
    actions {
      ...RemoteDiagActionPagedFragment
    }
    created_at
    current_step
    language
    provider_name
    result {
      ...RemoteDiagResultFragment
    }
    status
    steps {
      ...RemoteDiagStepPagedFragment
    }
    updated_at
    vci {
      ...RemoteDiagEndpointFragment
    }
    vud {
      ...RemoteDiagEndpointFragment
    }
  }
}
Variables
{"id": 4}
Response
{
  "data": {
    "remote_diag_cancel": {
      "id": "4",
      "actions": RemoteDiagActionPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_step": "OTHER",
      "language": Language,
      "provider_name": "abc123",
      "result": RemoteDiagResult,
      "status": "abc123",
      "steps": RemoteDiagStepPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vci": RemoteDiagEndpoint,
      "vud": RemoteDiagEndpoint
    }
  }
}

remote_diag_create

Description

Setup a remote diagnostic session

Response

Returns a RemoteDiag

Arguments
Name Description
language - Language
provider_name - String
vud_device_id - ID! Id of device of the Vehicle Under Diagnostic

Example

Query
mutation remote_diag_create(
  $language: Language,
  $provider_name: String,
  $vud_device_id: ID!
) {
  remote_diag_create(
    language: $language,
    provider_name: $provider_name,
    vud_device_id: $vud_device_id
  ) {
    id
    actions {
      ...RemoteDiagActionPagedFragment
    }
    created_at
    current_step
    language
    provider_name
    result {
      ...RemoteDiagResultFragment
    }
    status
    steps {
      ...RemoteDiagStepPagedFragment
    }
    updated_at
    vci {
      ...RemoteDiagEndpointFragment
    }
    vud {
      ...RemoteDiagEndpointFragment
    }
  }
}
Variables
{
  "language": Language,
  "provider_name": "xyz789",
  "vud_device_id": 4
}
Response
{
  "data": {
    "remote_diag_create": {
      "id": "4",
      "actions": RemoteDiagActionPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_step": "OTHER",
      "language": Language,
      "provider_name": "xyz789",
      "result": RemoteDiagResult,
      "status": "abc123",
      "steps": RemoteDiagStepPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vci": RemoteDiagEndpoint,
      "vud": RemoteDiagEndpoint
    }
  }
}

remote_diag_start

Description

Start the remote diagnostic session

Response

Returns a RemoteDiag

Arguments
Name Description
country_specific_id - CountrySpecificIdArg Custom country-specific id
id - ID! Id of remote diagnostic session
should_validate_vin - Boolean
vci - ID Custom VCI (Vehicle Communication Interface device). Should only be specified at the first READ_DTC action
vin - String Custom VIN

Example

Query
mutation remote_diag_start(
  $country_specific_id: CountrySpecificIdArg,
  $id: ID!,
  $should_validate_vin: Boolean,
  $vci: ID,
  $vin: String
) {
  remote_diag_start(
    country_specific_id: $country_specific_id,
    id: $id,
    should_validate_vin: $should_validate_vin,
    vci: $vci,
    vin: $vin
  ) {
    id
    actions {
      ...RemoteDiagActionPagedFragment
    }
    created_at
    current_step
    language
    provider_name
    result {
      ...RemoteDiagResultFragment
    }
    status
    steps {
      ...RemoteDiagStepPagedFragment
    }
    updated_at
    vci {
      ...RemoteDiagEndpointFragment
    }
    vud {
      ...RemoteDiagEndpointFragment
    }
  }
}
Variables
{
  "country_specific_id": CountrySpecificIdArg,
  "id": 4,
  "should_validate_vin": true,
  "vci": 4,
  "vin": "abc123"
}
Response
{
  "data": {
    "remote_diag_start": {
      "id": "4",
      "actions": RemoteDiagActionPaged,
      "created_at": "2007-12-03T10:15:30Z",
      "current_step": "OTHER",
      "language": Language,
      "provider_name": "abc123",
      "result": RemoteDiagResult,
      "status": "abc123",
      "steps": RemoteDiagStepPaged,
      "updated_at": "2007-12-03T10:15:30Z",
      "vci": RemoteDiagEndpoint,
      "vud": RemoteDiagEndpoint
    }
  }
}

remote_diagnostic_post_actions

Description

Method: POST Base URL: {env.REMOTE_DIAGNOSTIC_API} Path: /v1/actions Create Action

Response

Returns an action

Arguments
Name Description
input - action_put_Input

Example

Query
mutation remote_diagnostic_post_actions($input: action_put_Input) {
  remote_diagnostic_post_actions(input: $input) {
    data {
      ...mutation_post_actions_dataFragment
    }
  }
}
Variables
{"input": action_put_Input}
Response
{
  "data": {
    "remote_diagnostic_post_actions": {
      "data": mutation_post_actions_data
    }
  }
}

remote_diagnostic_put_action

Description

Method: PUT Base URL: {env.REMOTE_DIAGNOSTIC_API} Path: /v1/actions/{args.id} Update Action

Response

Returns an action

Arguments
Name Description
id - String! Action id
input - action_put_Input

Example

Query
mutation remote_diagnostic_put_action(
  $id: String!,
  $input: action_put_Input
) {
  remote_diagnostic_put_action(
    id: $id,
    input: $input
  ) {
    data {
      ...mutation_post_actions_dataFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "input": action_put_Input
}
Response
{
  "data": {
    "remote_diagnostic_put_action": {
      "data": mutation_post_actions_data
    }
  }
}

remove_driver_authorized_vehicles

Description

Method: DELETE Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/relationships/authorized_vehicles

[beta] remove driver authorized vehicles

Arguments
Name Description
driver_id - String! Driver ID
input - vehicle_relationship_Input

Example

Query
mutation remove_driver_authorized_vehicles(
  $driver_id: String!,
  $input: vehicle_relationship_Input
) {
  remove_driver_authorized_vehicles(
    driver_id: $driver_id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "input": vehicle_relationship_Input
}
Response
{
  "data": {
    "remove_driver_authorized_vehicles": Void_container
  }
}

remove_vehicle_authorized_drivers

Description

Method: DELETE Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.id}/relationships/authorized_drivers

[beta] remove vehicle authorized drivers

Arguments
Name Description
id - String! Vehicle ID
input - vehicle_driver_relationship_Input

Example

Query
mutation remove_vehicle_authorized_drivers(
  $id: String!,
  $input: vehicle_driver_relationship_Input
) {
  remove_vehicle_authorized_drivers(
    id: $id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "input": vehicle_driver_relationship_Input
}
Response
{
  "data": {
    "remove_vehicle_authorized_drivers": Void_container
  }
}

replace_driver_authorized_vehicles

Description

Method: PUT Base URL: {env.ASSET_MANAGER_API} Path: /v1/drivers/{args.driver_id}/relationships/authorized_vehicles

[beta] replace all driver authorized vehicles

Arguments
Name Description
driver_id - String! Driver ID
input - vehicle_relationship_Input

Example

Query
mutation replace_driver_authorized_vehicles(
  $driver_id: String!,
  $input: vehicle_relationship_Input
) {
  replace_driver_authorized_vehicles(
    driver_id: $driver_id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "driver_id": "abc123",
  "input": vehicle_relationship_Input
}
Response
{
  "data": {
    "replace_driver_authorized_vehicles": Void_container
  }
}

replace_vehicle_authorized_drivers

Description

Method: PUT Base URL: {env.ASSET_MANAGER_API} Path: /v1/vehicles/{args.id}/relationships/authorized_drivers

[beta] replace all vehicle authorized drivers

Arguments
Name Description
id - String! Vehicle ID
input - vehicle_driver_relationship_Input

Example

Query
mutation replace_vehicle_authorized_drivers(
  $id: String!,
  $input: vehicle_driver_relationship_Input
) {
  replace_vehicle_authorized_drivers(
    id: $id,
    input: $input
  ) {
    ... on Void_container {
      ...Void_containerFragment
    }
    ... on errors {
      ...errorsFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "input": vehicle_driver_relationship_Input
}
Response
{
  "data": {
    "replace_vehicle_authorized_drivers": Void_container
  }
}

ticket_create

Description

Create support ticket

Response

Returns a Ticket

Arguments
Name Description
body - String
source - TicketSource!
title - String!

Example

Query
mutation ticket_create(
  $body: String,
  $source: TicketSource!,
  $title: String!
) {
  ticket_create(
    body: $body,
    source: $source,
    title: $title
  ) {
    account {
      ...AccountFragment
    }
    created_at
    id
    source
    title
  }
}
Variables
{
  "body": "abc123",
  "source": "ONBOARDING",
  "title": "xyz789"
}
Response
{
  "data": {
    "ticket_create": {
      "account": Account,
      "created_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "source": "ONBOARDING",
      "title": "xyz789"
    }
  }
}

towing_session_start

Description

Start a vehicle towing session

Response

Returns a TowingSession

Arguments
Name Description
start_at - DateTime Session state date (defaults to current time)
towing_vehicle_id - ID! Driver Identifier
trailer_vehicle_id - ID! Vehicle Identifier

Example

Query
mutation towing_session_start(
  $start_at: DateTime,
  $towing_vehicle_id: ID!,
  $trailer_vehicle_id: ID!
) {
  towing_session_start(
    start_at: $start_at,
    towing_vehicle_id: $towing_vehicle_id,
    trailer_vehicle_id: $trailer_vehicle_id
  ) {
    closed_by {
      ...AccountFragment
    }
    created_by {
      ...AccountFragment
    }
    end_at
    id
    start_at
    towing_vehicle {
      ...VehicleFragment
    }
    trailer_vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "start_at": "2007-12-03T10:15:30Z",
  "towing_vehicle_id": 4,
  "trailer_vehicle_id": "4"
}
Response
{
  "data": {
    "towing_session_start": {
      "closed_by": Account,
      "created_by": Account,
      "end_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "start_at": "2007-12-03T10:15:30Z",
      "towing_vehicle": Vehicle,
      "trailer_vehicle": Vehicle
    }
  }
}

towing_session_stop

Description

Stop a driver vehicle session

Response

Returns a TowingSession

Arguments
Name Description
end_at - DateTime! Session end date (defaults to current time)
id - ID! Session Identifier

Example

Query
mutation towing_session_stop(
  $end_at: DateTime!,
  $id: ID!
) {
  towing_session_stop(
    end_at: $end_at,
    id: $id
  ) {
    closed_by {
      ...AccountFragment
    }
    created_by {
      ...AccountFragment
    }
    end_at
    id
    start_at
    towing_vehicle {
      ...VehicleFragment
    }
    trailer_vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{"end_at": "2007-12-03T10:15:30Z", "id": 4}
Response
{
  "data": {
    "towing_session_stop": {
      "closed_by": Account,
      "created_by": Account,
      "end_at": "2007-12-03T10:15:30Z",
      "id": 4,
      "start_at": "2007-12-03T10:15:30Z",
      "towing_vehicle": Vehicle,
      "trailer_vehicle": Vehicle
    }
  }
}

update_metadatum

Description

Update metdatum

Response

Returns a TripMetadatum

Arguments
Name Description
id - ID! ID of metdatum
key - String Key of metdatum
value - String Value of metdatum

Example

Query
mutation update_metadatum(
  $id: ID!,
  $key: String,
  $value: String
) {
  update_metadatum(
    id: $id,
    key: $key,
    value: $value
  ) {
    created_at
    id
    key
    trip_id
    updated_at
    value
  }
}
Variables
{
  "id": 4,
  "key": "xyz789",
  "value": "abc123"
}
Response
{
  "data": {
    "update_metadatum": {
      "created_at": "2007-12-03T10:15:30Z",
      "id": "4",
      "key": "abc123",
      "trip_id": "4",
      "updated_at": "2007-12-03T10:15:30Z",
      "value": "abc123"
    }
  }
}

vehicle_alert_create

Response

Returns a VehicleAlert

Arguments
Name Description
device_id - ID
end_time - DateTime
language - LangArg! Content language
start_time - DateTime
status - VehicleAlertStatusArg!
type - VehicleAlertTypeArg!
vehicle_id - ID

Example

Query
mutation vehicle_alert_create(
  $device_id: ID,
  $end_time: DateTime,
  $language: LangArg!,
  $start_time: DateTime,
  $status: VehicleAlertStatusArg!,
  $type: VehicleAlertTypeArg!,
  $vehicle_id: ID
) {
  vehicle_alert_create(
    device_id: $device_id,
    end_time: $end_time,
    language: $language,
    start_time: $start_time,
    status: $status,
    type: $type,
    vehicle_id: $vehicle_id
  ) {
    aggregated_data {
      ...AggregatedDataFragment
    }
    created_at
    device {
      ...DeviceFragment
    }
    feedback_status
    feedbacks {
      ...VehicleAlertFeedbackPagedFragment
    }
    icon
    id
    language
    last_received
    last_reported
    source
    status
    type
    updated_at
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{
  "device_id": 4,
  "end_time": "2007-12-03T10:15:30Z",
  "language": "EN",
  "start_time": "2007-12-03T10:15:30Z",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "vehicle_id": "4"
}
Response
{
  "data": {
    "vehicle_alert_create": {
      "aggregated_data": AggregatedData,
      "created_at": "2007-12-03T10:15:30Z",
      "device": Device,
      "feedback_status": "OTHER",
      "feedbacks": VehicleAlertFeedbackPaged,
      "icon": "xyz789",
      "id": 4,
      "language": "OTHER",
      "last_received": "2007-12-03T10:15:30Z",
      "last_reported": "2007-12-03T10:15:30Z",
      "source": "OTHER",
      "status": "CLOSED",
      "type": "BAD_INSTALLATION",
      "updated_at": "2007-12-03T10:15:30Z",
      "vehicle": Vehicle
    }
  }
}

vehicle_alert_feedback_create

Response

Returns a VehicleAlertFeedback

Arguments
Name Description
alert_id - ID!
description - String
language - LangArg Description language
status - VehicleAlertFeedbackStatusArg!

Example

Query
mutation vehicle_alert_feedback_create(
  $alert_id: ID!,
  $description: String,
  $language: LangArg,
  $status: VehicleAlertFeedbackStatusArg!
) {
  vehicle_alert_feedback_create(
    alert_id: $alert_id,
    description: $description,
    language: $language,
    status: $status
  ) {
    alert {
      ...VehicleAlertFragment
    }
    created_at
    description
    id
    language
    status
    updated_at
  }
}
Variables
{
  "alert_id": 4,
  "description": "xyz789",
  "language": "EN",
  "status": "CONFIRMED"
}
Response
{
  "data": {
    "vehicle_alert_feedback_create": {
      "alert": VehicleAlert,
      "created_at": "2007-12-03T10:15:30Z",
      "description": "xyz789",
      "id": 4,
      "language": "OTHER",
      "status": "OTHER",
      "updated_at": "2007-12-03T10:15:30Z"
    }
  }
}

vehicle_create

Description

Create a new vehicle owned by the logged-in user

Response

Returns a Vehicle

Arguments
Name Description
fuel_type - String Primary fuel type
fuel_type_secondary - String Secondary fuel type
group_id - ID group id to add the vehicle to
kba - String KBA
ktype - String KType
label - String Label
make - String Model make
model - String Model
model_id - ID Model ID
owner_id - ID OwnerID
plate - String Plate
tags - [String] Tags
vin - String Vin
year - String Model Year

Example

Query
mutation vehicle_create(
  $fuel_type: String,
  $fuel_type_secondary: String,
  $group_id: ID,
  $kba: String,
  $ktype: String,
  $label: String,
  $make: String,
  $model: String,
  $model_id: ID,
  $owner_id: ID,
  $plate: String,
  $tags: [String],
  $vin: String,
  $year: String
) {
  vehicle_create(
    fuel_type: $fuel_type,
    fuel_type_secondary: $fuel_type_secondary,
    group_id: $group_id,
    kba: $kba,
    ktype: $ktype,
    label: $label,
    make: $make,
    model: $model,
    model_id: $model_id,
    owner_id: $owner_id,
    plate: $plate,
    tags: $tags,
    vin: $vin,
    year: $year
  ) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    can_be_towed
    can_tow
    current_device {
      ...DeviceFragment
    }
    current_devices {
      ...DevicePagedFragment
    }
    current_driver {
      ...DriverFragment
    }
    current_towing_session_as_towing_vehicle {
      ...TowingSessionFragment
    }
    current_towing_session_as_trailer_vehicle {
      ...TowingSessionFragment
    }
    current_towing_vehicle {
      ...VehicleFragment
    }
    current_trailer_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    fuel_type
    fuel_type_secondary
    groups {
      ...GroupPagedFragment
    }
    has_driver
    hybrid
    kba
    ktype
    label
    last_trip {
      ...TripFragment
    }
    maintenance_schedules {
      ...MaintenanceSchedulePagedFragment
    }
    maintenance_templates {
      ...MaintenanceTemplatePagedFragment
    }
    maintenances_historical {
      ...MaintenanceHistoricalPagedFragment
    }
    maintenances_upcoming {
      ...MaintenanceUpcomingPagedFragment
    }
    make
    model
    model_id
    onboarded
    owner {
      ...AccountFragment
    }
    plate
    tags
    towing_sessions_as_towing_vehicle {
      ...TowingSessionPagedFragment
    }
    towing_sessions_as_trailer_vehicle {
      ...TowingSessionPagedFragment
    }
    trips {
      ...TripPagedFragment
    }
    vehicle_type
    vin
    vin_descriptions {
      ...DecodeVinResultFragment
    }
    year
    authorized_drivers {
      ... on vehicle_driver_paginated {
        ...vehicle_driver_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    refills {
      ... on refill_paged {
        ...refill_pagedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "fuel_type": "xyz789",
  "fuel_type_secondary": "xyz789",
  "group_id": 4,
  "kba": "abc123",
  "ktype": "abc123",
  "label": "abc123",
  "make": "xyz789",
  "model": "abc123",
  "model_id": "4",
  "owner_id": 4,
  "plate": "xyz789",
  "tags": ["xyz789"],
  "vin": "abc123",
  "year": "abc123"
}
Response
{
  "data": {
    "vehicle_create": {
      "id": 4,
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "can_be_towed": true,
      "can_tow": true,
      "current_device": Device,
      "current_devices": DevicePaged,
      "current_driver": Driver,
      "current_towing_session_as_towing_vehicle": TowingSession,
      "current_towing_session_as_trailer_vehicle": TowingSession,
      "current_towing_vehicle": Vehicle,
      "current_trailer_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "fuel_type": "xyz789",
      "fuel_type_secondary": "abc123",
      "groups": GroupPaged,
      "has_driver": false,
      "hybrid": false,
      "kba": "abc123",
      "ktype": "xyz789",
      "label": "xyz789",
      "last_trip": Trip,
      "maintenance_schedules": MaintenanceSchedulePaged,
      "maintenance_templates": MaintenanceTemplatePaged,
      "maintenances_historical": MaintenanceHistoricalPaged,
      "maintenances_upcoming": MaintenanceUpcomingPaged,
      "make": "abc123",
      "model": "xyz789",
      "model_id": 4,
      "onboarded": false,
      "owner": Account,
      "plate": "abc123",
      "tags": ["abc123"],
      "towing_sessions_as_towing_vehicle": TowingSessionPaged,
      "towing_sessions_as_trailer_vehicle": TowingSessionPaged,
      "trips": TripPaged,
      "vehicle_type": "CAR",
      "vin": "abc123",
      "vin_descriptions": DecodeVinResult,
      "year": "xyz789",
      "authorized_drivers": vehicle_driver_paginated,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show,
      "refills": refill_paged
    }
  }
}

vehicle_delete

Description

Delete a user vehicle

Response

Returns an ID

Arguments
Name Description
id - ID! Id to delete

Example

Query
mutation vehicle_delete($id: ID!) {
  vehicle_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"vehicle_delete": "4"}}

vehicle_service_create

Description

Create vehicle service

Response

Returns a VehicleService

Arguments
Name Description
description - String
label - String
workshop_ids - [ID]

Example

Query
mutation vehicle_service_create(
  $description: String,
  $label: String,
  $workshop_ids: [ID]
) {
  vehicle_service_create(
    description: $description,
    label: $label,
    workshop_ids: $workshop_ids
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{
  "description": "abc123",
  "label": "xyz789",
  "workshop_ids": ["4"]
}
Response
{
  "data": {
    "vehicle_service_create": {
      "id": 4,
      "description": "xyz789",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_service_delete

Description

Delete Vehicle service

Response

Returns an ID

Arguments
Name Description
id - ID! Vehicle service id

Example

Query
mutation vehicle_service_delete($id: ID!) {
  vehicle_service_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"vehicle_service_delete": "4"}}

vehicle_service_update

Description

Update Vehicle service

Response

Returns a VehicleService

Arguments
Name Description
id - ID! Vehicle service ID
label - String Vehicle service label

Example

Query
mutation vehicle_service_update(
  $id: ID!,
  $label: String
) {
  vehicle_service_update(
    id: $id,
    label: $label
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{"id": 4, "label": "abc123"}
Response
{
  "data": {
    "vehicle_service_update": {
      "id": 4,
      "description": "abc123",
      "label": "xyz789",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_type_create

Description

Create vehicle type

Response

Returns a VehicleType

Arguments
Name Description
description - String
label - String
workshop_ids - [ID]

Example

Query
mutation vehicle_type_create(
  $description: String,
  $label: String,
  $workshop_ids: [ID]
) {
  vehicle_type_create(
    description: $description,
    label: $label,
    workshop_ids: $workshop_ids
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{
  "description": "xyz789",
  "label": "abc123",
  "workshop_ids": ["4"]
}
Response
{
  "data": {
    "vehicle_type_create": {
      "id": 4,
      "description": "xyz789",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_type_delete

Description

Delete Vehicle type

Response

Returns an ID

Arguments
Name Description
id - ID! Vehicle type ID

Example

Query
mutation vehicle_type_delete($id: ID!) {
  vehicle_type_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"vehicle_type_delete": 4}}

vehicle_type_update

Description

Update Vehicle type

Response

Returns a VehicleType

Arguments
Name Description
id - ID! Vehicle type ID
label - String Vehicle type label

Example

Query
mutation vehicle_type_update(
  $id: ID!,
  $label: String
) {
  vehicle_type_update(
    id: $id,
    label: $label
  ) {
    id
    description
    label
    workshops {
      ...WorkshopPagedFragment
    }
  }
}
Variables
{"id": 4, "label": "xyz789"}
Response
{
  "data": {
    "vehicle_type_update": {
      "id": 4,
      "description": "xyz789",
      "label": "abc123",
      "workshops": WorkshopPaged
    }
  }
}

vehicle_update

Description

Set the user's vehicule fields

Response

Returns a Vehicle

Arguments
Name Description
fuel_type - String Primary fuel type
fuel_type_secondary - String Secondary fuel type
id - ID! Identifier
kba - String KBA
ktype - String KType
label - String Label
make - String Model make
model - String Model
model_id - ID Model ID
owner_id - ID OwnerID
plate - String Plate
tags - [String] Tags
vin - String VIN
year - String Model Year

Example

Query
mutation vehicle_update(
  $fuel_type: String,
  $fuel_type_secondary: String,
  $id: ID!,
  $kba: String,
  $ktype: String,
  $label: String,
  $make: String,
  $model: String,
  $model_id: ID,
  $owner_id: ID,
  $plate: String,
  $tags: [String],
  $vin: String,
  $year: String
) {
  vehicle_update(
    fuel_type: $fuel_type,
    fuel_type_secondary: $fuel_type_secondary,
    id: $id,
    kba: $kba,
    ktype: $ktype,
    label: $label,
    make: $make,
    model: $model,
    model_id: $model_id,
    owner_id: $owner_id,
    plate: $plate,
    tags: $tags,
    vin: $vin,
    year: $year
  ) {
    id
    alerts {
      ...VehicleAlertPagedFragment
    }
    alerts_state {
      ...VehicleAlertsStateFragment
    }
    can_be_towed
    can_tow
    current_device {
      ...DeviceFragment
    }
    current_devices {
      ...DevicePagedFragment
    }
    current_driver {
      ...DriverFragment
    }
    current_towing_session_as_towing_vehicle {
      ...TowingSessionFragment
    }
    current_towing_session_as_trailer_vehicle {
      ...TowingSessionFragment
    }
    current_towing_vehicle {
      ...VehicleFragment
    }
    current_trailer_vehicle {
      ...VehicleFragment
    }
    descriptions {
      ...DescriptionPagedFragment
    }
    fuel_type
    fuel_type_secondary
    groups {
      ...GroupPagedFragment
    }
    has_driver
    hybrid
    kba
    ktype
    label
    last_trip {
      ...TripFragment
    }
    maintenance_schedules {
      ...MaintenanceSchedulePagedFragment
    }
    maintenance_templates {
      ...MaintenanceTemplatePagedFragment
    }
    maintenances_historical {
      ...MaintenanceHistoricalPagedFragment
    }
    maintenances_upcoming {
      ...MaintenanceUpcomingPagedFragment
    }
    make
    model
    model_id
    onboarded
    owner {
      ...AccountFragment
    }
    plate
    tags
    towing_sessions_as_towing_vehicle {
      ...TowingSessionPagedFragment
    }
    towing_sessions_as_trailer_vehicle {
      ...TowingSessionPagedFragment
    }
    trips {
      ...TripPagedFragment
    }
    vehicle_type
    vin
    vin_descriptions {
      ...DecodeVinResultFragment
    }
    year
    authorized_drivers {
      ... on vehicle_driver_paginated {
        ...vehicle_driver_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_devices {
      ... on auxiliary_device_paginated {
        ...auxiliary_device_paginatedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    auxiliary_device {
      ... on auxiliary_device_show {
        ...auxiliary_device_showFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
    refills {
      ... on refill_paged {
        ...refill_pagedFragment
      }
      ... on errors {
        ...errorsFragment
      }
    }
  }
}
Variables
{
  "fuel_type": "xyz789",
  "fuel_type_secondary": "xyz789",
  "id": "4",
  "kba": "abc123",
  "ktype": "xyz789",
  "label": "abc123",
  "make": "xyz789",
  "model": "abc123",
  "model_id": 4,
  "owner_id": 4,
  "plate": "abc123",
  "tags": ["xyz789"],
  "vin": "xyz789",
  "year": "abc123"
}
Response
{
  "data": {
    "vehicle_update": {
      "id": "4",
      "alerts": VehicleAlertPaged,
      "alerts_state": VehicleAlertsState,
      "can_be_towed": true,
      "can_tow": true,
      "current_device": Device,
      "current_devices": DevicePaged,
      "current_driver": Driver,
      "current_towing_session_as_towing_vehicle": TowingSession,
      "current_towing_session_as_trailer_vehicle": TowingSession,
      "current_towing_vehicle": Vehicle,
      "current_trailer_vehicle": Vehicle,
      "descriptions": DescriptionPaged,
      "fuel_type": "xyz789",
      "fuel_type_secondary": "xyz789",
      "groups": GroupPaged,
      "has_driver": true,
      "hybrid": true,
      "kba": "xyz789",
      "ktype": "abc123",
      "label": "abc123",
      "last_trip": Trip,
      "maintenance_schedules": MaintenanceSchedulePaged,
      "maintenance_templates": MaintenanceTemplatePaged,
      "maintenances_historical": MaintenanceHistoricalPaged,
      "maintenances_upcoming": MaintenanceUpcomingPaged,
      "make": "xyz789",
      "model": "xyz789",
      "model_id": "4",
      "onboarded": true,
      "owner": Account,
      "plate": "abc123",
      "tags": ["abc123"],
      "towing_sessions_as_towing_vehicle": TowingSessionPaged,
      "towing_sessions_as_trailer_vehicle": TowingSessionPaged,
      "trips": TripPaged,
      "vehicle_type": "CAR",
      "vin": "abc123",
      "vin_descriptions": DecodeVinResult,
      "year": "abc123",
      "authorized_drivers": vehicle_driver_paginated,
      "auxiliary_devices": auxiliary_device_paginated,
      "auxiliary_device": auxiliary_device_show,
      "refills": refill_paged
    }
  }
}

wifi_credentials

Description

Set wifi ssid/password

Response

Returns a RdcAsyncAck

Arguments
Name Description
device_id - ID! Device id
password - String Network password
ssid - String! Network SSID

Example

Query
mutation wifi_credentials(
  $device_id: ID!,
  $password: String,
  $ssid: String!
) {
  wifi_credentials(
    device_id: $device_id,
    password: $password,
    ssid: $ssid
  ) {
    attributes
    id
    type
  }
}
Variables
{
  "device_id": 4,
  "password": "xyz789",
  "ssid": "xyz789"
}
Response
{
  "data": {
    "wifi_credentials": {
      "attributes": Json,
      "id": 4,
      "type": "xyz789"
    }
  }
}

wifi_toggle

Description

Start or stop the wifi

Response

Returns a RdcAsyncAck

Arguments
Name Description
action - ToggleAction! Start/Stop
device_id - ID! Device id

Example

Query
mutation wifi_toggle(
  $action: ToggleAction!,
  $device_id: ID!
) {
  wifi_toggle(
    action: $action,
    device_id: $device_id
  ) {
    attributes
    id
    type
  }
}
Variables
{"action": "START", "device_id": 4}
Response
{
  "data": {
    "wifi_toggle": {
      "attributes": Json,
      "id": 4,
      "type": "abc123"
    }
  }
}

workday_create

Description

Create workday

Response

Returns a Workday

Arguments
Name Description
closing_hour_1 - String Closing Hour 1
closing_hour_2 - String Closing Hour 2
day - Weekday Day
opening_hour_1 - String Opening Hour 1
opening_hour_2 - String Opening Hour 2
workshop_id - ID! Workshop ID

Example

Query
mutation workday_create(
  $closing_hour_1: String,
  $closing_hour_2: String,
  $day: Weekday,
  $opening_hour_1: String,
  $opening_hour_2: String,
  $workshop_id: ID!
) {
  workday_create(
    closing_hour_1: $closing_hour_1,
    closing_hour_2: $closing_hour_2,
    day: $day,
    opening_hour_1: $opening_hour_1,
    opening_hour_2: $opening_hour_2,
    workshop_id: $workshop_id
  ) {
    id
    closing_hour_1
    closing_hour_2
    day
    opening_hour_1
    opening_hour_2
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "closing_hour_1": "xyz789",
  "closing_hour_2": "xyz789",
  "day": "FRIDAY",
  "opening_hour_1": "xyz789",
  "opening_hour_2": "abc123",
  "workshop_id": 4
}
Response
{
  "data": {
    "workday_create": {
      "id": 4,
      "closing_hour_1": "abc123",
      "closing_hour_2": "xyz789",
      "day": "FRIDAY",
      "opening_hour_1": "abc123",
      "opening_hour_2": "abc123",
      "workshop": Workshop
    }
  }
}

workday_delete

Description

Delete workday

Response

Returns an ID

Arguments
Name Description
id - ID! Workday ID

Example

Query
mutation workday_delete($id: ID!) {
  workday_delete(id: $id)
}
Variables
{"id": 4}
Response
{"data": {"workday_delete": 4}}

workday_update

Description

Update workday

Response

Returns a Workday

Arguments
Name Description
closing_hour_1 - String Closing Hour 1
closing_hour_2 - String Closing Hour 2
day - Weekday Day
id - ID! Workday ID
opening_hour_1 - String Opening Hour 1
opening_hour_2 - String Opening Hour 2

Example

Query
mutation workday_update(
  $closing_hour_1: String,
  $closing_hour_2: String,
  $day: Weekday,
  $id: ID!,
  $opening_hour_1: String,
  $opening_hour_2: String
) {
  workday_update(
    closing_hour_1: $closing_hour_1,
    closing_hour_2: $closing_hour_2,
    day: $day,
    id: $id,
    opening_hour_1: $opening_hour_1,
    opening_hour_2: $opening_hour_2
  ) {
    id
    closing_hour_1
    closing_hour_2
    day
    opening_hour_1
    opening_hour_2
    workshop {
      ...WorkshopFragment
    }
  }
}
Variables
{
  "closing_hour_1": "abc123",
  "closing_hour_2": "abc123",
  "day": "FRIDAY",
  "id": 4,
  "opening_hour_1": "xyz789",
  "opening_hour_2": "xyz789"
}
Response
{
  "data": {
    "workday_update": {
      "id": "4",
      "closing_hour_1": "xyz789",
      "closing_hour_2": "xyz789",
      "day": "FRIDAY",
      "opening_hour_1": "abc123",
      "opening_hour_2": "xyz789",
      "workshop": Workshop
    }
  }
}

workshop_create

Description

Create workshop

Response

Returns a Workshop

Arguments
Name Description
address - String
brand - String
city - String
code - String!
country - String
email - String
fax - String
icon - String
international_phone - String
language - Language
lat - Float
lon - Float
name - String!
phone - String
postal_code - String
provider - String
provider_workshop_id - ID
province - String
time_zone - String
web - String

Example

Query
mutation workshop_create(
  $address: String,
  $brand: String,
  $city: String,
  $code: String!,
  $country: String,
  $email: String,
  $fax: String,
  $icon: String,
  $international_phone: String,
  $language: Language,
  $lat: Float,
  $lon: Float,
  $name: String!,
  $phone: String,
  $postal_code: String,
  $provider: String,
  $provider_workshop_id: ID,
  $province: String,
  $time_zone: String,
  $web: String
) {
  workshop_create(
    address: $address,
    brand: $brand,
    city: $city,
    code: $code,
    country: $country,
    email: $email,
    fax: $fax,
    icon: $icon,
    international_phone: $international_phone,
    language: $language,
    lat: $lat,
    lon: $lon,
    name: $name,
    phone: $phone,
    postal_code: $postal_code,
    provider: $provider,
    provider_workshop_id: $provider_workshop_id,
    province: $province,
    time_zone: $time_zone,
    web: $web
  ) {
    id
    address
    average_stars
    bookings {
      ...BookingPagedFragment
    }
    brand
    city
    code
    country
    driver_services {
      ...DriverServicePagedFragment
    }
    email
    fax
    icon
    international_phone
    language
    lat
    lon
    managers {
      ...WorkshopManagerPagedFragment
    }
    name
    phone
    postal_code
    provider
    provider_workshop_id
    province
    quotations {
      ...QuotationPagedFragment
    }
    ratings {
      ...RatingPagedFragment
    }
    time_zone
    vehicle_services {
      ...VehicleServicePagedFragment
    }
    vehicle_types {
      ...VehicleTypePagedFragment
    }
    web
    workdays {
      ...WorkdayPagedFragment
    }
  }
}
Variables
{
  "address": "xyz789",
  "brand": "xyz789",
  "city": "xyz789",
  "code": "abc123",
  "country": "abc123",
  "email": "abc123",
  "fax": "abc123",
  "icon": "abc123",
  "international_phone": "abc123",
  "language": Language,
  "lat": 987.65,
  "lon": 123.45,
  "name": "xyz789",
  "phone": "abc123",
  "postal_code": "abc123",
  "provider": "xyz789",
  "provider_workshop_id": "4",
  "province": "xyz789",
  "time_zone": "abc123",
  "web": "xyz789"
}
Response
{
  "data": {
    "workshop_create": {
      "id": "4",
      "address": "xyz789",
      "average_stars": 123.45,
      "bookings": BookingPaged,
      "brand": "xyz789",
      "city": "abc123",
      "code": "xyz789",
      "country": "abc123",
      "driver_services": DriverServicePaged,
      "email": "xyz789",
      "fax": "abc123",
      "icon": "abc123",
      "international_phone": "xyz789",
      "language": Language,
      "lat": 123.45,
      "lon": 123.45,
      "managers": WorkshopManagerPaged,
      "name": "abc123",
      "phone": "abc123",
      "postal_code": "abc123",
      "provider": "xyz789",
      "provider_workshop_id": 4,
      "province": "xyz789",
      "quotations": QuotationPaged,
      "ratings": RatingPaged,
      "time_zone": "abc123",
      "vehicle_services": VehicleServicePaged,
      "vehicle_types": VehicleTypePaged,
      "web": "abc123",
      "workdays": WorkdayPaged
    }
  }
}

workshop_delete

Description

Delete Workshop

Response

Returns an ID

Arguments
Name Description
id - ID! Workshop ID

Example

Query
mutation workshop_delete($id: ID!) {
  workshop_delete(id: $id)
}
Variables
{"id": "4"}
Response
{"data": {"workshop_delete": 4}}

workshop_update

Description

Update Workshop

Response

Returns a Workshop

Arguments
Name Description
address - String
brand - String
city - String
code - String
country - String
email - String
fax - String
icon - String
id - ID! Workshop ID
international_phone - String
language - Language
lat - Float
lon - Float
name - String
phone - String
postal_code - String
provider - String
provider_workshop_id - ID
province - String
time_zone - String
web - String

Example

Query
mutation workshop_update(
  $address: String,
  $brand: String,
  $city: String,
  $code: String,
  $country: String,
  $email: String,
  $fax: String,
  $icon: String,
  $id: ID!,
  $international_phone: String,
  $language: Language,
  $lat: Float,
  $lon: Float,
  $name: String,
  $phone: String,
  $postal_code: String,
  $provider: String,
  $provider_workshop_id: ID,
  $province: String,
  $time_zone: String,
  $web: String
) {
  workshop_update(
    address: $address,
    brand: $brand,
    city: $city,
    code: $code,
    country: $country,
    email: $email,
    fax: $fax,
    icon: $icon,
    id: $id,
    international_phone: $international_phone,
    language: $language,
    lat: $lat,
    lon: $lon,
    name: $name,
    phone: $phone,
    postal_code: $postal_code,
    provider: $provider,
    provider_workshop_id: $provider_workshop_id,
    province: $province,
    time_zone: $time_zone,
    web: $web
  ) {
    id
    address
    average_stars
    bookings {
      ...BookingPagedFragment
    }
    brand
    city
    code
    country
    driver_services {
      ...DriverServicePagedFragment
    }
    email
    fax
    icon
    international_phone
    language
    lat
    lon
    managers {
      ...WorkshopManagerPagedFragment
    }
    name
    phone
    postal_code
    provider
    provider_workshop_id
    province
    quotations {
      ...QuotationPagedFragment
    }
    ratings {
      ...RatingPagedFragment
    }
    time_zone
    vehicle_services {
      ...VehicleServicePagedFragment
    }
    vehicle_types {
      ...VehicleTypePagedFragment
    }
    web
    workdays {
      ...WorkdayPagedFragment
    }
  }
}
Variables
{
  "address": "xyz789",
  "brand": "xyz789",
  "city": "abc123",
  "code": "xyz789",
  "country": "xyz789",
  "email": "abc123",
  "fax": "xyz789",
  "icon": "abc123",
  "id": 4,
  "international_phone": "xyz789",
  "language": Language,
  "lat": 123.45,
  "lon": 123.45,
  "name": "xyz789",
  "phone": "abc123",
  "postal_code": "xyz789",
  "provider": "abc123",
  "provider_workshop_id": 4,
  "province": "abc123",
  "time_zone": "xyz789",
  "web": "xyz789"
}
Response
{
  "data": {
    "workshop_update": {
      "id": "4",
      "address": "xyz789",
      "average_stars": 123.45,
      "bookings": BookingPaged,
      "brand": "abc123",
      "city": "xyz789",
      "code": "abc123",
      "country": "xyz789",
      "driver_services": DriverServicePaged,
      "email": "xyz789",
      "fax": "abc123",
      "icon": "abc123",
      "international_phone": "abc123",
      "language": Language,
      "lat": 987.65,
      "lon": 987.65,
      "managers": WorkshopManagerPaged,
      "name": "abc123",
      "phone": "xyz789",
      "postal_code": "abc123",
      "provider": "xyz789",
      "provider_workshop_id": 4,
      "province": "xyz789",
      "quotations": QuotationPaged,
      "ratings": RatingPaged,
      "time_zone": "xyz789",
      "vehicle_services": VehicleServicePaged,
      "vehicle_types": VehicleTypePaged,
      "web": "abc123",
      "workdays": WorkdayPaged
    }
  }
}

Subscriptions

device_notifications

Description

Receive the notification linked to a device

Response

Returns [DeviceNotification!]!

Arguments
Name Description
device_ids - [ID!]! List of Device Id (IMEI) to listen to

Example

Query
subscription device_notifications($device_ids: [ID!]!) {
  device_notifications(device_ids: $device_ids) {
    device {
      ...DeviceFragment
    }
  }
}
Variables
{"device_ids": ["4"]}
Response
{"data": {"device_notifications": [{"device": Device}]}}

vehicle_notifications

Description

Receive the notification linked to a vehicle

Response

Returns [VehicleNotification!]!

Arguments
Name Description
vehicle_ids - [ID!]! List of Vehicle Id to listen to

Example

Query
subscription vehicle_notifications($vehicle_ids: [ID!]!) {
  vehicle_notifications(vehicle_ids: $vehicle_ids) {
    vehicle {
      ...VehicleFragment
    }
  }
}
Variables
{"vehicle_ids": [4]}
Response
{
  "data": {
    "vehicle_notifications": [{"vehicle": Vehicle}]
  }
}

Types

Account

Description

Munic Connect user account

Fields
Field Name Description
alert_preference - AlertPreference Alert preference
company_name - String Company name
country_code - String Country code
created_at - DateTime Account creation date
descriptions - DescriptionPaged Descriptions
Arguments
ids - [ID]

Filter by ids

labels - [String]

Label

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

devices - DevicePaged Devices
Arguments
device_types - [String]
ids - [ID]
onboarded - Boolean
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

statuses - [DeviceStatus!]
distributors - OnboardingDistributorPaged Onboarding distributors
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

driver_contacts - DriverPaged Driver contacts
Arguments
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

driver_profiles - DriverPaged Driver profiles
Arguments
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

drivers - DriverPaged Use driverProfiles
Arguments
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

email - String Email
full_name - String Full name
groups - GroupPaged Groups
Arguments
hierarchy_levels - [GroupHierarchyLevel!]
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

id - ID! Account id
language - Language Interface language
last_sign_in_at - DateTime Last account sign-in date
organization_id - ID Organization id
phone - String Phone number
roles - [AccountRole] Roles
Arguments
group_id - ID

Group id target by the roles

short_name - String Short name
time_zone - String Time zone
updated_at - DateTime Last account update date
vehicles - VehiclePaged Vehicles
Arguments
any_fuel_types - [String]

Primary or secondary fuel type

fuel_type_secondaries - [String]

Secondary fuel type

fuel_types - [String]

Primary fuel type

has_driver - Boolean

has_driver

hybrid - Boolean

hybrid

ids - [ID]
kba - [String]

KBA

ktypes - [String]

KType

makes - [String]

Model make

model_ids - [ID]

Model ID

models - [String]

Model

multi - [String]

Filter by Vehicle plate, vin, make and model, by Driver label and by Device imei.

onboarded - Boolean

onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]
vehicle_types - [VehicleTypeName]

Vehicle type

vins - [String]
years - [String]

Model Year

workshops - WorkshopPaged Workshops
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sso_user - sso_user_response

[alpha] extract sso_user

Example
{
  "alert_preference": AlertPreference,
  "company_name": "abc123",
  "country_code": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "descriptions": DescriptionPaged,
  "devices": DevicePaged,
  "distributors": OnboardingDistributorPaged,
  "driver_contacts": DriverPaged,
  "driver_profiles": DriverPaged,
  "drivers": DriverPaged,
  "email": "xyz789",
  "full_name": "xyz789",
  "groups": GroupPaged,
  "id": "4",
  "language": Language,
  "last_sign_in_at": "2007-12-03T10:15:30Z",
  "organization_id": 4,
  "phone": "abc123",
  "roles": [AccountRole],
  "short_name": "xyz789",
  "time_zone": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicles": VehiclePaged,
  "workshops": WorkshopPaged,
  "sso_user": user
}

AccountConfirmation

Fields
Field Name Description
force_reset_at_confirmation - Boolean Use ForceResetPassword
force_reset_password - Boolean Forced password reset
id - ID! Account id
updated_at - DateTime Account updated at
Example
{
  "force_reset_at_confirmation": false,
  "force_reset_password": false,
  "id": 4,
  "updated_at": "2007-12-03T10:15:30Z"
}

AccountPaged

Description

Paginated account results

Fields
Field Name Description
count - Int
list - [Account!]!
next - ID
Example
{"count": 123, "list": [Account], "next": 4}

AccountRole

Fields
Field Name Description
group_ids - [ID!] Role applies to these groups only
project_ids - [ID!] Role applies to these projects only
role - String Role label
Example
{
  "group_ids": ["4"],
  "project_ids": [4],
  "role": "xyz789"
}

AddressAttributes

Description

Address model.

Fields
Field Name Description
city - String City
country - String Country
country_code - String ISO 3166 code of country
county - String County name
district - String District name
latitude - Float Latitude
longitude - Float Longitude
postal_code - String Postal code
state - String State name
street - String Street
street_number - String Street_number
Example
{
  "city": "abc123",
  "country": "xyz789",
  "country_code": "abc123",
  "county": "xyz789",
  "district": "xyz789",
  "latitude": 987.65,
  "longitude": 123.45,
  "postal_code": "abc123",
  "state": "abc123",
  "street": "xyz789",
  "street_number": "abc123"
}

AggregatedData

Description

Fields aggregated from multiple sources

Fields
Field Name Description
mileage - AggregatedDataFloat Vehicle mileage (km)
position - Coordinates
Example
{
  "mileage": AggregatedDataFloat,
  "position": Coordinates
}

AggregatedDataFloat

Fields
Field Name Description
time - DateTime!
value - Float!
Example
{
  "time": "2007-12-03T10:15:30Z",
  "value": 123.45
}

AlertAttachment

Fields
Field Name Description
content_type - String
created_at - DateTime
id - ID
name - String
path - String
updated_at - DateTime
version - String
Example
{
  "content_type": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "name": "abc123",
  "path": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "version": "abc123"
}

AlertAttachmentPaged

Description

Paginated alert_attachment results

Fields
Field Name Description
count - Int
list - [AlertAttachment!]!
next - ID
Example
{"count": 987, "list": [AlertAttachment], "next": 4}

AlertJob

Fields
Field Name Description
channel_name - String
created_at - DateTime
id - ID
retries_count - Int
status - AlertNotificationStatus
updated_at - DateTime
Example
{
  "channel_name": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "retries_count": 987,
  "status": "SUCEEDED",
  "updated_at": "2007-12-03T10:15:30Z"
}

AlertJobPaged

Description

Paginated alert_job results

Fields
Field Name Description
count - Int
list - [AlertJob!]!
next - ID
Example
{
  "count": 123,
  "list": [AlertJob],
  "next": "4"
}

AlertNotification

Fields
Field Name Description
created_at - DateTime
failed_at - DateTime
force_channel - Boolean
id - ID
jobs - AlertJobPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

queue - AlertQueue
receiver - Account
sender - Account
sent_at - DateTime
status - AlertNotificationStatus
template - AlertTemplate
template_context - Json
updated_at - DateTime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "failed_at": "2007-12-03T10:15:30Z",
  "force_channel": false,
  "id": "4",
  "jobs": AlertJobPaged,
  "queue": AlertQueue,
  "receiver": Account,
  "sender": Account,
  "sent_at": "2007-12-03T10:15:30Z",
  "status": "SUCEEDED",
  "template": AlertTemplate,
  "template_context": Json,
  "updated_at": "2007-12-03T10:15:30Z"
}

AlertNotificationStatus

Values
Enum Value Description

SUCEEDED

CREATED

ENQUEUEED

FAILED

TIMED_OUT

Example
"SUCEEDED"

AlertPreference

Description

User alert preferences

Fields
Field Name Description
firebase_messaging_token - String
id - ID
preferred_channels - [AlertPreferredChannel]
stop_notifications - Boolean
Example
{
  "firebase_messaging_token": "abc123",
  "id": "4",
  "preferred_channels": ["EMAIL"],
  "stop_notifications": true
}

AlertPreferredChannel

Values
Enum Value Description

EMAIL

IN_APP

PUSH_NOTIFICATION

SMS

Example
"EMAIL"

AlertQueue

Fields
Field Name Description
created_at - DateTime
id - ID!
metadata - Json
name - String!
notification_definition_name - String
notification_definition_version - String
preferred_channels - [AlertPreferredChannel]
priority - Int
template_context - Json
timeout - String
updated_at - DateTime
version - String
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "metadata": Json,
  "name": "xyz789",
  "notification_definition_name": "xyz789",
  "notification_definition_version": "xyz789",
  "preferred_channels": ["EMAIL"],
  "priority": 123,
  "template_context": Json,
  "timeout": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "version": "xyz789"
}

AlertTemplate

Fields
Field Name Description
id - ID
attachments - AlertAttachmentPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

channel_name - String
content_type - AlertTemplateContent
created_at - DateTime
default_context - Json
definition - String
locked - Boolean
name - String
updated_at - DateTime
version - String
Example
{
  "id": "4",
  "attachments": AlertAttachmentPaged,
  "channel_name": "abc123",
  "content_type": "HTML",
  "created_at": "2007-12-03T10:15:30Z",
  "default_context": Json,
  "definition": "abc123",
  "locked": true,
  "name": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "version": "xyz789"
}

AlertTemplateContent

Values
Enum Value Description

HTML

TEXT

Example
"HTML"

AlertTemplatePaged

Description

Paginated alert_template results

Fields
Field Name Description
count - Int
list - [AlertTemplate!]!
next - ID
Example
{"count": 987, "list": [AlertTemplate], "next": 4}

AlertWarningLightLevel

Description

Warning light level

Values
Enum Value Description

OTHER

Unrecognized warning light level

ADVISORY

INFORMATION

UNCLASSIFIED

WARNING

Example
"OTHER"

AlertWarningLightLevelArg

Description

Warning light level argument

Values
Enum Value Description

ADVISORY

INFORMATION

UNCLASSIFIED

WARNING

Example
"ADVISORY"

Alpr

Description

Munic Alpr model

Fields
Field Name Description
plate - Plate Vehicle plates propositions
vehicle - VehicleInfo Vehicle info
Example
{
  "plate": Plate,
  "vehicle": VehicleInfo
}

AnyPercent

Description

Percentage, as a floating point number of any value

Example
AnyPercent

BatteryAnnotation

Description

Battery annotation

Fields
Field Name Description
duration - Int Duration (seconds)
electric_potentials - [Float] All electric potential readings (volt)
end_time - DateTime End time
id - ID! Annotation id
readings - BatteryReadingPaged Filterable battery readings
Arguments
ids - [ID!]
max_time - DateTime
min_time - DateTime
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

start_time - DateTime Start time
tags - [BatteryAnnotationTag] Tags
temperatures - [Float] All temperature readings (celsius)
times - [DateTime] All timestamp readings
Example
{
  "duration": 123,
  "electric_potentials": [123.45],
  "end_time": "2007-12-03T10:15:30Z",
  "id": "4",
  "readings": BatteryReadingPaged,
  "start_time": "2007-12-03T10:15:30Z",
  "tags": ["OTHER"],
  "temperatures": [987.65],
  "times": ["2007-12-03T10:15:30Z"]
}

BatteryAnnotationPaged

Description

Paginated battery_annotation results

Fields
Field Name Description
count - Int
list - [BatteryAnnotation!]!
next - ID
Example
{"count": 123, "list": [BatteryAnnotation], "next": 4}

BatteryAnnotationTag

Description

battery annotation tag

Values
Enum Value Description

OTHER

Unrecognized battery annotation tag

CRANK

DEVICE_ACTIVE

DEVICE_AROUND_WAKEUP

DEVICE_IDLE

TRIP

Example
"OTHER"

BatteryAnnotationTagArg

Description

battery annotation tag argument

Values
Enum Value Description

CRANK

DEVICE_ACTIVE

DEVICE_AROUND_WAKEUP

DEVICE_IDLE

TRIP

Example
"CRANK"

BatteryChargeLevel

Values
Enum Value Description

CHARGED

CRITICALLY_DISCHARGED

DISCHARGED

FULLY_CHARGED

LOW

OK

UNKNOWN

Example
"CHARGED"

BatteryDischargeLevel

Values
Enum Value Description

CRITICAL_DISCHARGE

HIGH_DISCHARGE

MILD_DISCHARGE

NO_DISCHARGE

NO_INFORMATION

SOFT_DISCHARGE

STRONG_DISCHARGE

Example
"CRITICAL_DISCHARGE"

BatteryReadingPaged

Fields
Field Name Description
count - Int
electric_potential - [Float] Electric potential reading (volt)
id - [ID] Reading id
next - ID
temperature - [Float] Temperature reading (celsius)
timestamp - [DateTime] Reading timestamp
Example
{
  "count": 987,
  "electric_potential": [987.65],
  "id": [4],
  "next": "4",
  "temperature": [987.65],
  "timestamp": ["2007-12-03T10:15:30Z"]
}

BigInt

Description

The BigInt scalar type represents non-fractional signed whole numeric values.

Example
{}

Booking

Description

Workshop booking

Fields
Field Name Description
id - ID Booking ID
additional_information - String
booking_date - DateTime Booking date
city - String
contact_method - WorkshopContactMethod
country - String
plate_number - String Vehicle plate number
preferred_language - Language
quotation_ids - [ID] Booking quotations
status - BookingStatus Booking status
user_email - String
user_name - String
user_phone_number - String
vehicle_make - String
vehicle_model - String
vehicle_year - String
vin - String
workshop - Workshop Workshop
Example
{
  "id": "4",
  "additional_information": "xyz789",
  "booking_date": "2007-12-03T10:15:30Z",
  "city": "xyz789",
  "contact_method": "EMAIL",
  "country": "xyz789",
  "plate_number": "xyz789",
  "preferred_language": Language,
  "quotation_ids": ["4"],
  "status": "CONFIRMED",
  "user_email": "abc123",
  "user_name": "xyz789",
  "user_phone_number": "abc123",
  "vehicle_make": "abc123",
  "vehicle_model": "xyz789",
  "vehicle_year": "abc123",
  "vin": "abc123",
  "workshop": Workshop
}

BookingPaged

Description

Paginated booking results

Fields
Field Name Description
count - Int
list - [Booking!]!
next - ID
Example
{"count": 123, "list": [Booking], "next": 4}

BookingStatus

Values
Enum Value Description

CONFIRMED

PENDING

Example
"CONFIRMED"

Boolean

Description

The Boolean scalar type represents true or false.

Example
true

BooleanObj

Fields
Field Name Description
value - Boolean!
Example
{"value": false}

Byte

Description

The Byte scalar type represents byte value as a Buffer

Example
[196, 189, 173, 171, 167, 163]

BytesObj

Fields
Field Name Description
value - String! Base64-encoded
Example
{"value": "abc123"}

CIRCLE_const

Values
Enum Value Description

CIRCLE

Example
"CIRCLE"

CacheInfo

Fields
Field Name Description
extend_ttl - Boolean! Wether cache hits extend the time to live
scope - CacheScope!
soft_flush - String Ignore cache entries before this date
ttl - Int! Time to live (seconds)
Example
{
  "extend_ttl": true,
  "scope": "LOGIN",
  "soft_flush": "xyz789",
  "ttl": 987
}

CacheScope

Description

Delimits the context in which cached results are be available

Values
Enum Value Description

LOGIN

Current SSO login / JWT token (recommended)

REQUEST

Current GraphQL query (for volatile data)

USER

Current user (for unchanging data, shared with other clients)
Example
"LOGIN"

Campaign

Fields
Field Name Description
id - ID!
configurations - [ID!]
created_at - DateTime!
devices_status - [CampaignDevice!]
name - String!
status - CampaignStatus!
Example
{
  "id": 4,
  "configurations": [4],
  "created_at": "2007-12-03T10:15:30Z",
  "devices_status": [CampaignDevice],
  "name": "xyz789",
  "status": "OTHER"
}

CampaignDevice

Fields
Field Name Description
device - Device
status - CampaignStatus
Example
{"device": Device, "status": "OTHER"}

CampaignPaged

Description

Paginated campaign results

Fields
Field Name Description
count - Int
list - [Campaign!]!
next - ID
Example
{"count": 123, "list": [Campaign], "next": 4}

CampaignStatus

Description

campaign status

Values
Enum Value Description

OTHER

Unrecognized campaign status

AVAILABLE_UPDATE

CANCELED

ERROR

MERGED

PENDING

SENT

UPTODATE

Example
"OTHER"

ClientIdentification

Fields
Field Name Description
client_reference - ID
client_reference_type - ClientReferenceType
code - String
created_by - Account
default_account - Account
default_whitelisted_data - [OnboardingWhitelistedData!]
distributor - OnboardingDistributor
label - String
number_of_onboardings - Int
number_of_started_onboardings - Int
Example
{
  "client_reference": 4,
  "client_reference_type": "GROUP",
  "code": "abc123",
  "created_by": Account,
  "default_account": Account,
  "default_whitelisted_data": ["OTHER"],
  "distributor": OnboardingDistributor,
  "label": "abc123",
  "number_of_onboardings": 987,
  "number_of_started_onboardings": 987
}

ClientIdentificationPaged

Description

Paginated client_identification results

Fields
Field Name Description
count - Int
list - [ClientIdentification!]!
next - ID
Example
{
  "count": 987,
  "list": [ClientIdentification],
  "next": "4"
}

ClientReferenceType

Values
Enum Value Description

GROUP

PROJECT

Example
"GROUP"

CloudEventStatus

Fields
Field Name Description
node - String!
peers - [String!]!
Example
{
  "node": "xyz789",
  "peers": ["abc123"]
}

Cmd_Type

Values
Enum Value Description

DEFAULT_CMD

_0

PARAMETERIZING_CMD

_1

PARAMETERIZED_CMD

_2

PARAMETERIZED_CMDS

_3

Example
"DEFAULT_CMD"

ConnectivityState

Values
Enum Value Description

IDLE

CONNECTING

READY

TRANSIENT_FAILURE

SHUTDOWN

Example
"IDLE"

ConnectorType

Description

The selected connector type

Values
Enum Value Description

AVCON_CONNECTOR

AVCON Connector

BETTER_PLACE_PLUG_SOCKET

Better place plug/socket

DOMESTIC_PLUG_SOCKET_TYPE_A

Domestic plug/socket type A

DOMESTIC_PLUG_SOCKET_TYPE_B

Domestic plug/socket type B

DOMESTIC_PLUG_SOCKET_TYPE_C

Domestic plug/socket type C

DOMESTIC_PLUG_SOCKET_TYPE_D

Domestic plug/socket type D

DOMESTIC_PLUG_SOCKET_TYPE_E

Domestic plug/socket type E

DOMESTIC_PLUG_SOCKET_TYPE_EF

Domestic plug/socket type E+F

DOMESTIC_PLUG_SOCKET_TYPE_F

Domestic plug/socket type F

DOMESTIC_PLUG_SOCKET_TYPE_G

Domestic plug/socket type G

DOMESTIC_PLUG_SOCKET_TYPE_H

Domestic plug/socket type H

DOMESTIC_PLUG_SOCKET_TYPE_I

Domestic plug/socket type I

DOMESTIC_PLUG_SOCKET_TYPE_IEC_60906

Domestic plug/socket type IEC 60906-1

DOMESTIC_PLUG_SOCKET_TYPE_J

Domestic plug/socket type J

DOMESTIC_PLUG_SOCKET_TYPE_K

Domestic plug/socket type K

DOMESTIC_PLUG_SOCKET_TYPE_L

Domestic plug/socket type L

DOMESTIC_PLUG_SOCKET_TYPE_M

Domestic plug/socket type M

I_TYPE_AS_NZ_3112

I-type AS/NZ 3112

IEC_60309_INDUSTRIAL

IEC 60309 : industrial

IEC_61851_1

IEC 61851-1

IEC_62196_2_TYPE_1

IEC 62196-2 type 1

IEC_62196_2_TYPE_2

IEC 62196-2 type 2

IEC_62196_2_TYPE_3C

IEC 62196-2 type 3c

IEC_62196_3_TYPE_1

IEC 62196-3 type 1

IEC_62196_3_TYPE_2

IEC 62196-3 type 2

JEVS_G_105_CHADEMO

JEVS G 105 (CHAdeMO)

LARGE_PADDLE_INDUCTIVE

Large Paddle Inductive

MARECHAL_PLUG_SOCKET

Marechal plug/socket

OTHER

Unrecognized or uncategorized energy type

SMALL_PADDLE_INDUCTIVE

Small Paddle Inductive

TESLA_CONNECTOR

Tesla Connector
Example
"AVCON_CONNECTOR"

Coordinates

Description

Spatial coordinates and timestamp

Fields
Field Name Description
alt - Int Altitude (m)
lat - Float Latitude (-90.0 .. 90.0)
lng - Float Longitude (-180.0 .. 180.0)
time - DateTime Date and time
Example
{
  "alt": 123,
  "lat": 987.65,
  "lng": 987.65,
  "time": "2007-12-03T10:15:30Z"
}

CoordinatesInput

Description

Spatial coordinates and timestamp

Fields
Input Field Description
alt - Int Altitude (m)
lat - Float Latitude in degree (-90.0 .. 90.0)
lng - Float Longitude in degree (-180.0 .. 180.0)
time - String Iso 8601 datetime
Example
{
  "alt": 123,
  "lat": 123.45,
  "lng": 987.65,
  "time": "xyz789"
}

CountrySpecificId

Fields
Field Name Description
type - CountrySpecificIdType!
value - ID!
Example
{"type": "KBA", "value": "4"}

CountrySpecificIdArg

Fields
Input Field Description
type - CountrySpecificIdType
value - ID!
Example
{"type": "KBA", "value": "4"}

CountrySpecificIdType

Values
Enum Value Description

KBA

Example
"KBA"

CoverageBlacklist

Description

Vehicles matching this might not support all features

Fields
Field Name Description
comment - String Reason for the blacklist Always null
declaration_date - DateTime! Declaration date
error_type - String Always null
id - ID! Id
level - CoverageBlacklistLevel Always null
make - String Make
model - String Model
resolution - String Resolution info Always null
resolution_date - DateTime Resolution date Always null
root_cause - CoverageBlacklistRootCause Always null
status - CoverageBlacklistStatus Always null
year_end - Int Ending year
year_start - Int Starting year
Example
{
  "comment": "abc123",
  "declaration_date": "2007-12-03T10:15:30Z",
  "error_type": "xyz789",
  "id": "4",
  "level": "OTHER",
  "make": "abc123",
  "model": "abc123",
  "resolution": "xyz789",
  "resolution_date": "2007-12-03T10:15:30Z",
  "root_cause": "OTHER",
  "status": "OTHER",
  "year_end": 987,
  "year_start": 123
}

CoverageBlacklistLevel

Values
Enum Value Description

OTHER

Unknown or unrecognized blacklist level

DONGLE_UNSUPPORTED

FULLY_SUPPORTED

LISTEN_ONLY_REQUEST_SUPPORTED

OBD_REQUEST_SUPPORTED

Example
"OTHER"

CoverageBlacklistPaged

Description

Paginated coverage_blacklist results

Fields
Field Name Description
count - Int
list - [CoverageBlacklist!]!
next - ID
Example
{"count": 987, "list": [CoverageBlacklist], "next": 4}

CoverageBlacklistRootCause

Values
Enum Value Description

OTHER

Unknown or unrecognized blacklist root cause

BAD_CONFIGURATION

BAD_IDENTIFICATION

ERROR_IN_STACK

HISTORIC_BUG

MANUFACTURER_PROTECTION

VEHICLE_CONCEPTION

Example
"OTHER"

CoverageBlacklistStatus

Values
Enum Value Description

OTHER

Unknown or unrecognized blacklist status

CONFIRMED

DECLARED

INVALIE

PREVENTIVE

RESOLVED

Example
"OTHER"

CoverageEnergyTypeArg

Values
Enum Value Description

DIESEL

ELECTRIC

HYBRID

GASOLINE

Example
"DIESEL"

CoverageMake

Fields
Field Name Description
id - ID!
models - CoverageModelPaged!
Arguments
name - String
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

name - String!
Example
{
  "id": "4",
  "models": CoverageModelPaged,
  "name": "abc123"
}

CoverageMakePaged

Description

Paginated coverage_make results

Fields
Field Name Description
count - Int
list - [CoverageMake!]!
next - ID
Example
{
  "count": 123,
  "list": [CoverageMake],
  "next": "4"
}

CoverageModel

Fields
Field Name Description
id - ID!
make - String!
name - String!
years - [Int!]!
Example
{
  "id": 4,
  "make": "abc123",
  "name": "abc123",
  "years": [123]
}

CoverageModelPaged

Description

Paginated coverage_model results

Fields
Field Name Description
count - Int
list - [CoverageModel!]!
next - ID
Example
{
  "count": 987,
  "list": [CoverageModel],
  "next": "4"
}

CoverageParameter

Fields
Field Name Description
cloud_field - String
device_field - String
id - ID! Id (name)
level - String!
need_cable - Boolean! This parameter only works with a cable
need_mux - Boolean! This parameter only works with a multiplexer
providers - [String!]!
Example
{
  "cloud_field": "abc123",
  "device_field": "xyz789",
  "id": "4",
  "level": "abc123",
  "need_cable": true,
  "need_mux": true,
  "providers": ["abc123"]
}

CoverageParameterPaged

Description

Paginated coverage_parameter results

Fields
Field Name Description
count - Int
list - [CoverageParameter!]!
next - ID
Example
{
  "count": 123,
  "list": [CoverageParameter],
  "next": "4"
}

CoveragePowertrain

Description

coverage powertrain

Values
Enum Value Description

OTHER

Unrecognized coverage powertrain

HEV

ICE

Example
"OTHER"

CoveragePowertrainArg

Description

coverage powertrain argument

Values
Enum Value Description

HEV

ICE

Example
"HEV"

CoverageRegion

Description

coverage region

Values
Enum Value Description

OTHER

Unrecognized coverage region

EUROPE

NORTH_AMERICA

Example
"OTHER"

CoverageRegionArg

Description

coverage region argument

Values
Enum Value Description

EUROPE

NORTH_AMERICA

Example
"EUROPE"

CoverageVehicle

Description

Vehicle coverage info

Fields
Field Name Description
blacklist_level - CoverageBlacklistLevel! Blacklist level
blacklists - CoverageBlacklistPaged! Blacklist details
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

energy_types - [EnergyType!]! Energy types
id - ID! Id
installation_instructions - [DongleInstallationInstruction!]!
make - String! Make
model - String! Model
need_cable - Boolean! Aggregate of parameters.need_cable
need_mux - Boolean! Aggregate of parameters.need_mux
parameter_groups - [String!]
parameters - CoverageParameterPaged Covered parameters
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

parameters - [String!]

Filter by parameters

powertrain - CoveragePowertrain! Power train type
regions - [CoverageRegion!]! World regions
year - Int! Year
Example
{
  "blacklist_level": "OTHER",
  "blacklists": CoverageBlacklistPaged,
  "energy_types": ["ADBLUE"],
  "id": "4",
  "installation_instructions": ["OTHER"],
  "make": "xyz789",
  "model": "abc123",
  "need_cable": true,
  "need_mux": false,
  "parameter_groups": ["xyz789"],
  "parameters": CoverageParameterPaged,
  "powertrain": "OTHER",
  "regions": ["OTHER"],
  "year": 987
}

CoverageVehiclePaged

Description

Paginated coverage_vehicle results

Fields
Field Name Description
count - Int
list - [CoverageVehicle!]!
next - ID
Example
{"count": 987, "list": [CoverageVehicle], "next": 4}

Data_Filter

Fields
Field Name Description
mask - Pass_Thru_Msg
filter - Pass_Thru_Msg
filter_type - Filter_Type
Example
{
  "mask": Pass_Thru_Msg,
  "filter": Pass_Thru_Msg,
  "filter_type": "UNKNOWN_FILTER"
}

Data_Filter_Input

Fields
Input Field Description
mask - Pass_Thru_Msg_Input
filter - Pass_Thru_Msg_Input
filter_type - Filter_Type
Example
{
  "mask": Pass_Thru_Msg_Input,
  "filter": Pass_Thru_Msg_Input,
  "filter_type": "UNKNOWN_FILTER"
}

DateTime

Description

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

Example
"2007-12-03T10:15:30Z"

DecodeVinResult

Description

Vehicle description

Fields
Field Name Description
acceleration - Float Acceleration 0-100km/h (s)
advanced_model - String Vehicle model
body_type - String Body type
body_type_code - String Body type code
brakes_abs - String Brakes abs
brakes_front_type - String Brakes front type
brakes_rear_type - String Brakes rear type
brakes_system - String Brakes system
cargo_capacity - Int Cargo capacity (kg)
co_2_emission - Int CO2 emission (g/km)
co_emission - Float CO emission (g/km)
color - String Color
company_id - ID Company id
country - String Manufacturing country
critair - String Crit'air rating
curb_weight - Int Curb weight (kg)
day_of_first_circulation - Int Day of first circulation
day_of_sale - Int Day of first sale
decoding_region - String Decoding region
doors - Int Door count
drive_type - String Drive type
electric_vehicle_battery_capacity - Float Electric vehicle battery capacity (kW/h)
electric_vehicle_battery_voltage - Float Electric vehicle battery voltage (v)
emission_standard - String Emission standard
engine_aspiration - String Engine aspiration
engine_bore - Float Engine bore number (mm)
engine_code - String Engine code
engine_configuration - String Engine configuration
engine_cylinder_head_type - String Engine cylinder head type
engine_cylinders - Int Engine cylinder count
engine_displacement - Int Engine displacement (ccm)
engine_extra - String Engine extra
engine_fiscal_power - Int Engine fiscal power
engine_fuel_type - EnergyType Engine fuel type
engine_fuel_type_secondary - EnergyType Engine fuel type secondary
engine_fuel_type_tertiary - EnergyType Engine fuel type tertiary
engine_ignition_system - String Engine ignition system
engine_manufacturer - String Engine manufacturer
engine_output_power - Int Engine ouput power (kW)
engine_output_power_ps - Int Engine output power (PS)
engine_rpm_idle_max - Int Engine rpm idle max
engine_rpm_idle_min - Int Engine rpm idle min
engine_rpm_max - Int Engine rpm max
engine_stroke - Float Engine stroke (mm)
engine_valves - Int Engine valves
engine_version - String Engine version
engine_with_turbo - Boolean Engine with turbo
extra_info - VinExtraInfo Extra information
front_overhang - Int Front overhang (mm)
front_track - Int Front track (mm)
fuel_efficiency_city - Float Fuel efficiency city
fuel_efficiency_combined - Float Fuel efficiency combined
fuel_efficiency_highway - Float Fuel efficiency highway
fuel_injection_control_type - String Fuel injection control type
fuel_injection_subtype - String Fuel injection subtype
fuel_injection_system_design - String Fuel injection system design
fuel_injection_type - String Fuel injection type
gearbox_speed - Int Gearbox speeds count
gearbox_type - String Gearbox type
gross_weight - Int Gross wieght (kg)
hc_emission - Float HC emission (g/km)
hc_nox_emission - Float HC Nox emission (g/km)
height - Int Height (mm)
hip_room_front - Int Hip room front (mm)
hip_room_rear - Int Hip room rear (mm)
id - ID! Vehicle ID
k_type - String Vehicle kType
kba - ID Kraftfahrbundesamt (Germany and Austria)
length - Int Length (mm)
make - String Make
manufacturer - String Manufacturer
max_roof_load - Int Max roof load (kg)
max_tow_bar_download - Int Max tow bar download (kg)
max_trailer_load_b_license - Int Max trailer load B license (kg)
max_trailer_load_braked_12 - Int Max trailer load braked at 12% (kg)
max_trailer_load_unbraked - Int Max trailer load unbraked (kg)
model - String Model
model_code - String Model code
model_version_code - String Model version code
month_of_first_circulation - Int Month of first circulation
month_of_sale - Int Month of first sale
nox_emission - Float NOX emission (g/km)
oil_temperature_emission - Float Oil temperature emission - C°
options - [DescriptionOption] Options
plate - String Plate
price - Int Price
rear_overhang - Int Rear overhang (mm)
rear_track - Int Rear track (mm)
seats - Int Seats
sli_battery_capacity - Float Sli battery capacity (Ah)
springs_front_type - String Springs front type
springs_rear_type - String Springs rear type
steering_system - String Steering system
steering_type - String Steering type
tank_volume - Int Tank volume (l)
top_speed - Int Top speed (km/h)
transmission_electronic_control - String Transmission electronic control
transmission_manufacturer_code - String Transmission manufacturer code
transmission_type - String Transmission type
trunk_volume - Int Trunk volume
url_vehicle_image - String URL of vehicle image
vehicle_type - String Vehicle type
verified - Boolean Is vehicle verified
vin - String Vehicle VIN
wheel_base - Int Wheel base (mm)
wheels_dimension - String Wheels dimension
width - Int Width (mm)
year_of_first_circulation - Int Year of first circulation
year_of_sale - Int Year of first sale
Example
{
  "acceleration": 987.65,
  "advanced_model": "abc123",
  "body_type": "abc123",
  "body_type_code": "xyz789",
  "brakes_abs": "abc123",
  "brakes_front_type": "abc123",
  "brakes_rear_type": "abc123",
  "brakes_system": "abc123",
  "cargo_capacity": 123,
  "co_2_emission": 123,
  "co_emission": 987.65,
  "color": "abc123",
  "company_id": "4",
  "country": "abc123",
  "critair": "xyz789",
  "curb_weight": 123,
  "day_of_first_circulation": 123,
  "day_of_sale": 987,
  "decoding_region": "abc123",
  "doors": 987,
  "drive_type": "abc123",
  "electric_vehicle_battery_capacity": 987.65,
  "electric_vehicle_battery_voltage": 123.45,
  "emission_standard": "abc123",
  "engine_aspiration": "abc123",
  "engine_bore": 123.45,
  "engine_code": "xyz789",
  "engine_configuration": "abc123",
  "engine_cylinder_head_type": "xyz789",
  "engine_cylinders": 123,
  "engine_displacement": 987,
  "engine_extra": "abc123",
  "engine_fiscal_power": 987,
  "engine_fuel_type": "ADBLUE",
  "engine_fuel_type_secondary": "ADBLUE",
  "engine_fuel_type_tertiary": "ADBLUE",
  "engine_ignition_system": "abc123",
  "engine_manufacturer": "abc123",
  "engine_output_power": 123,
  "engine_output_power_ps": 987,
  "engine_rpm_idle_max": 987,
  "engine_rpm_idle_min": 123,
  "engine_rpm_max": 123,
  "engine_stroke": 123.45,
  "engine_valves": 987,
  "engine_version": "xyz789",
  "engine_with_turbo": true,
  "extra_info": VinExtraInfo,
  "front_overhang": 123,
  "front_track": 987,
  "fuel_efficiency_city": 987.65,
  "fuel_efficiency_combined": 987.65,
  "fuel_efficiency_highway": 123.45,
  "fuel_injection_control_type": "xyz789",
  "fuel_injection_subtype": "xyz789",
  "fuel_injection_system_design": "abc123",
  "fuel_injection_type": "abc123",
  "gearbox_speed": 987,
  "gearbox_type": "xyz789",
  "gross_weight": 123,
  "hc_emission": 123.45,
  "hc_nox_emission": 123.45,
  "height": 123,
  "hip_room_front": 987,
  "hip_room_rear": 987,
  "id": 4,
  "k_type": "abc123",
  "kba": "4",
  "length": 123,
  "make": "abc123",
  "manufacturer": "xyz789",
  "max_roof_load": 123,
  "max_tow_bar_download": 987,
  "max_trailer_load_b_license": 123,
  "max_trailer_load_braked_12": 123,
  "max_trailer_load_unbraked": 123,
  "model": "xyz789",
  "model_code": "xyz789",
  "model_version_code": "xyz789",
  "month_of_first_circulation": 987,
  "month_of_sale": 987,
  "nox_emission": 123.45,
  "oil_temperature_emission": 123.45,
  "options": [DescriptionOption],
  "plate": "abc123",
  "price": 987,
  "rear_overhang": 123,
  "rear_track": 987,
  "seats": 123,
  "sli_battery_capacity": 987.65,
  "springs_front_type": "xyz789",
  "springs_rear_type": "abc123",
  "steering_system": "abc123",
  "steering_type": "abc123",
  "tank_volume": 123,
  "top_speed": 987,
  "transmission_electronic_control": "abc123",
  "transmission_manufacturer_code": "xyz789",
  "transmission_type": "xyz789",
  "trunk_volume": 123,
  "url_vehicle_image": "abc123",
  "vehicle_type": "xyz789",
  "verified": false,
  "vin": "xyz789",
  "wheel_base": 123,
  "wheels_dimension": "xyz789",
  "width": 123,
  "year_of_first_circulation": 987,
  "year_of_sale": 123
}

Description

Description

Description base interface. Every description_* inheritor possess a hidden type field with a different type

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID! Identifier
label - String! Label
source - String! Source
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "label": "abc123",
  "source": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "abc123"
}

DescriptionCreate

Fields
Input Field Description
file - Upload
label - String!
type - DescriptionType!
value - String
Example
{
  "file": Upload,
  "label": "abc123",
  "type": "FILE",
  "value": "abc123"
}

DescriptionFile

Description

File Description

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID! Identifier
label - String! Label
source - String! Source
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "label": "abc123",
  "source": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "abc123"
}

DescriptionImage

Description

Image Description

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID! Identifier
label - String! Label
preview - String Preview
source - String! Source
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "label": "xyz789",
  "preview": "abc123",
  "source": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "xyz789"
}

DescriptionInteger

Description

Integer Description

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID! Identifier
label - String! Label
source - String! Source
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "label": "abc123",
  "source": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "xyz789"
}

DescriptionOption

Description

Options related to vehicle description

Fields
Field Name Description
description - String Description
eqcode - String Eq code
group - String Group
Example
{
  "description": "abc123",
  "eqcode": "xyz789",
  "group": "xyz789"
}

DescriptionPaged

Description

Paginated description results

Fields
Field Name Description
count - Int
list - [Description!]!
next - ID
Example
{"count": 123, "list": [Description], "next": 4}

DescriptionSort

Description

description sorting

Fields
Input Field Description
by - DescriptionSortKey!
order - SortOrder!
Example
{"by": "CREATED_AT", "order": "A"}

DescriptionSortKey

Description

description sorting key

Values
Enum Value Description

CREATED_AT

LABEL

UPDATED_AT

Example
"CREATED_AT"

DescriptionString

Description

String Description

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID! Identifier
label - String! Label
source - String! Source
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "label": "xyz789",
  "source": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "abc123"
}

DescriptionSubject

Description

Object being described

Fields
Input Field Description
id - ID!
type - DescriptionSubjectType!
Example
{"id": "4", "type": "DRIVERS"}

DescriptionSubjectType

Description

Description subject type Enum

Values
Enum Value Description

DRIVERS

GROUPS

USERS

VEHICLES

Example
"DRIVERS"

DescriptionType

Description

Description type Enum

Values
Enum Value Description

FILE

IMAGE

INTEGER

STRING

Example
"FILE"

DescriptionUpdate

Fields
Input Field Description
id - ID!
value - String
Example
{"id": 4, "value": "xyz789"}

Device

Description

Device Object

Fields
Field Name Description
id - ID! Identifier
active_account - String Active Account
aggregated_data - AggregatedData Fields aggregated from multiple sources
Arguments
time - DateTime

Data timestamp (closest match)

alerts - VehicleAlertPaged
Arguments
battery_types - [VehicleAlertBatteryType!]

Filter battery alerts by type

dtc_classification - DtcClassification

Filter DTC alerts by classification

dtc_code - String

Filter DTC alerts by code

dtc_mode - DtcMode

Filter DTC alerts by mode

groups - [ID!]

Filter by groups

ids - [ID!]

Filter by ids

is_active - Boolean

Filter by activity

language - LangArg
maintenance_criticalities - [MaintenanceCriticalityArg!]

Filter maintenance alerts by criticality

maintenance_from_vehicle - Boolean

Filter maintenance alerts by source

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sort - [VehicleAlertSort!]

Sort criteria

source - VehicleAlertSourceArg

Filter by source

status - VehicleAlertStatusArg

Filter by status

types - [VehicleAlertTypeArg!]

Filter by alert types

alerts_state - VehicleAlertsState
battery_annotations - BatteryAnnotationPaged
Arguments
ids - [ID]

Filter by ids

max_end_time - DateTime
max_start_time - DateTime
min_end_time - DateTime
min_start_time - DateTime
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

tags - [BatteryAnnotationTagArg!]

Filter by tags

created_at - DateTime Always null
current_vehicle - Vehicle Current Vehicle
device_type - String Device Type
fields - FieldPaged Last value of device fields
Arguments
names - [String!]

Filter by field names

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

first_connection_at - DateTime First connection date
groups - GroupPaged Groups
Arguments
ids - [ID]

Filter by ids

labels - [String]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

harshes - TripHarshPaged Harsh events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - DeviceHistoryPaged Device history
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

last_activity_at - DateTime Last network activity date
last_connection_at - DateTime Last connection date
last_connection_reason - DeviceConnectionReason Last connection reason
last_disconnection_at - DateTime Last disconnection date
last_disconnection_reason - DeviceDisconnectionReason Last disconnection reason
last_position - Coordinates Last received vehicle position
last_trip - Trip Last trip
Arguments
closed - Boolean

Get closed trip

log_fetches - LogfetchPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

status - [LogfetchStatus!]

Filter by log request status

onboarded - Boolean Onboarded
overspeeds - TripOverspeedPaged Overspeed events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

owner - Account Owner
profile_mode - ProfileDeviceMode
profile_modes - ProfileDeviceModePaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

profile_privacies - ProfilePrivacyPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

profile_privacy - ProfilePrivacy
readings - ReadingPaged
Arguments
aggregate - ReadingAggregate
end_date - DateTime

Latest trip start

event_id - ID

Event id

metric_ids - [ID!]

Metric ids

metric_name_contains - String

Metric name (substring)

metric_names - [String!]

Metric names

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sort - [ReadingSort!]

Sort criteria

start_date - DateTime

Earliest trip start

readings_anon - ReadingAnonPaged
Arguments
aggregate - ReadingAnonAggregate
aggregate_duration - Int

Bucket duration for aggregations

aggregate_lttb_points - Int

Number of points for LTTB aggregation

end_date - DateTime

Latest trip start

event_id - ID

Event id

metric_ids - [ID!]

Metric ids

metric_name_contains - String

Metric name (substring)

metric_names - [String!]

Metric names

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sort - [ReadingSort!]

Sort criteria

start_date - DateTime

Earliest trip start

remote_diags - RemoteDiagPaged!
Arguments
ids - [ID]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

running - Boolean
serial_number - String Serial Number
status - DeviceStatus Use *connection_at
trip_summary - TripSummary Aggregated trip statistics
Arguments
end_date - DateTime!

Latest trip start

start_date - DateTime!

Earliest trip start

trips - TripPaged Trips
Arguments
end_date - DateTime

Latest trip start

has_date - DateTime

Trips around date

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

start_date - DateTime

Earliest trip start

updated_at - DateTime Always null
vehicle_sessions - DeviceVehicleSessionPaged Vehicle Sessions
Arguments
active - Boolean
ids - [ID]
installation_date_after - DateTime
installation_date_before - DateTime
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

removal_date_after - DateTime
removal_date_before - DateTime
vehicles - VehiclePaged Vehicles
Arguments
ids - [ID]

Filter by ids

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]

Filter by plates

vins - [String]

Filter by VINs

geofences - geofence_paginated

[alpha]

Arguments
label - String
active - Boolean
page_number - Int
page_size - Int
cleaned_positions - map_matching_position_paginated

[alpha]

Arguments
start_time - DateTime!
end_time - DateTime!
page_number - Int
page_size - Int
summary_from_journey - journey_summary

[alpha]

Arguments
start_date - DateTime!
end_date - DateTime!
metadata_key - String
not_metadata_key - String
trip_journeys - journey_trip_paginated

[alpha]

Arguments
start_date - DateTime
end_date - DateTime
has_date - DateTime
metadata_key - String
not_metadata_key - String
page_number - Int
page_size - Int
trip_tag_schedules - trip_tag_schedule_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
active - Boolean
journey_reports - reports_response

[alpha]

Arguments
page_number - Int
page_size - Int
time - DateTime
kind - report_kind
status - report_status
sort - String
Example
{
  "id": 4,
  "active_account": "xyz789",
  "aggregated_data": AggregatedData,
  "alerts": VehicleAlertPaged,
  "alerts_state": VehicleAlertsState,
  "battery_annotations": BatteryAnnotationPaged,
  "created_at": "2007-12-03T10:15:30Z",
  "current_vehicle": Vehicle,
  "device_type": "xyz789",
  "fields": FieldPaged,
  "first_connection_at": "2007-12-03T10:15:30Z",
  "groups": GroupPaged,
  "harshes": TripHarshPaged,
  "history": DeviceHistoryPaged,
  "last_activity_at": "2007-12-03T10:15:30Z",
  "last_connection_at": "2007-12-03T10:15:30Z",
  "last_connection_reason": "CLOSED_BY_SERVER",
  "last_disconnection_at": "2007-12-03T10:15:30Z",
  "last_disconnection_reason": "AUTH_FAILED_ACCOUNT",
  "last_position": Coordinates,
  "last_trip": Trip,
  "log_fetches": LogfetchPaged,
  "onboarded": true,
  "overspeeds": TripOverspeedPaged,
  "owner": Account,
  "profile_mode": ProfileDeviceMode,
  "profile_modes": ProfileDeviceModePaged,
  "profile_privacies": ProfilePrivacyPaged,
  "profile_privacy": ProfilePrivacy,
  "readings": ReadingPaged,
  "readings_anon": ReadingAnonPaged,
  "remote_diags": RemoteDiagPaged,
  "serial_number": "abc123",
  "status": "CONNECTED",
  "trip_summary": TripSummary,
  "trips": TripPaged,
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle_sessions": DeviceVehicleSessionPaged,
  "vehicles": VehiclePaged,
  "geofences": geofence_paginated,
  "cleaned_positions": map_matching_position_paginated,
  "summary_from_journey": journey_summary,
  "trip_journeys": journey_trip_paginated,
  "trip_tag_schedules": trip_tag_schedule_paginated,
  "journey_reports": report_paginated
}

DeviceConnectionReason

Description

Device connection reason

Values
Enum Value Description

CLOSED_BY_SERVER

COLD_BOOT

CONNECTION_LOST

IDLE_OUT

MODEM_RESET

NEW_CONFIG

PPP_LOST

READ_ERROR

ROAMING

SIM_ERROR

SUSPEND_BOOT

UNKNOWN_ASSET_REASON

WRITE_ERROR

Example
"CLOSED_BY_SERVER"

DeviceConnectionType

Description

How the device is connected to the vehicle

Values
Enum Value Description

CABLE

DIRECT

FIAT_CABLE

PANIC_CABLE

Example
"CABLE"

DeviceDisconnectionReason

Description

Device disconnection reason

Values
Enum Value Description

AUTH_FAILED_ACCOUNT

AUTH_FAILED_ASSET

AUTH_FAILED_IP

AUTH_FAILED_TRANSPORT

BASEVALUE_ACK_TIMEOUT

CLIENT_DISCONNECT

MESSAGE_ACK_TIMEOUT

NETWORK_ACTIVITY_TIMEOUT

NETWORK_ERROR

SERVER_SHUTDOWN

SOCKET_CLOSED

UNKNOWN_SERVER_REASON

UNKNOWN_CHANNEL_ID

UNKNOWN_CHANNEL_NAME

Example
"AUTH_FAILED_ACCOUNT"

DeviceHistory

Fields
Field Name Description
action - DeviceHistoryAction
id - ID!
label_new - String
label_previous - String
Example
{
  "action": "ACTIVE_ACCOUNT_CHANGED",
  "id": "4",
  "label_new": "abc123",
  "label_previous": "xyz789"
}

DeviceHistoryAction

Values
Enum Value Description

ACTIVE_ACCOUNT_CHANGED

LINK

UNLINK

Example
"ACTIVE_ACCOUNT_CHANGED"

DeviceHistoryPaged

Description

Paginated device_history results

Fields
Field Name Description
count - Int
list - [DeviceHistory!]!
next - ID
Example
{
  "count": 987,
  "list": [DeviceHistory],
  "next": "4"
}

DeviceInput

Description

Device Input

Fields
Input Field Description
active_account - String Active Account
device_type - String Device Type
id - ID Identifier
owner_id - ID Owner Identifier
serial_number - String Serial Number
Example
{
  "active_account": "xyz789",
  "device_type": "xyz789",
  "id": "4",
  "owner_id": "4",
  "serial_number": "xyz789"
}

DeviceNotification

Description

Device notification

Fields
Field Name Description
device - Device Device
Example
{"device": Device}

DevicePaged

Description

Paginated device results

Fields
Field Name Description
count - Int
list - [Device!]!
next - ID
Example
{
  "count": 123,
  "list": [Device],
  "next": "4"
}

DevicePresence

Values
Enum Value Description

CONNECTED

DISCONNECTED

Example
"CONNECTED"

DeviceStatus

Values
Enum Value Description

CONNECTED

DISCONNECTED

UNSEEN

Example
"CONNECTED"

DeviceVehicleSession

Description

Vehiclie session of a device

Fields
Field Name Description
active - Boolean Active
connection_type - DeviceConnectionType Device connection type
device - Device Device
id - ID! Identifier
installation_date - DateTime! Installation Date
km_at_installation - Int! KM At Installation
owner - Account Owner
removal_date - DateTime Removal Date
vehicle - Vehicle Vehicle
Example
{
  "active": false,
  "connection_type": "CABLE",
  "device": Device,
  "id": 4,
  "installation_date": "2007-12-03T10:15:30Z",
  "km_at_installation": 987,
  "owner": Account,
  "removal_date": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

DeviceVehicleSessionPaged

Description

Paginated device_vehicle_session results

Fields
Field Name Description
count - Int
list - [DeviceVehicleSession!]!
next - ID
Example
{"count": 987, "list": [DeviceVehicleSession], "next": 4}

DongleInstallationInstruction

Description

Dongle physical installation instruction

Values
Enum Value Description

OTHER

Unrecognized dongle physical installation instruction

CABLE_RECOMMENDED

Cable makes installation easier

CABLE_REQUIRED

Cable is needed

COVER_REMAINS_OPNE

Cannot close cover after installation

SPECIALIST_INSTALLATION_RECOMMENDED

Installation requires specific knowledge
Example
"OTHER"

DoorAction

Description

Lock or unlock the door

Values
Enum Value Description

LOCK

UNLOCK

Example
"LOCK"

Driver

Description

Driver information

Fields
Field Name Description
active - Boolean Active
created_at - DateTime Created At Always null
current_vehicle - Vehicle Current Vehicle
current_vehicles - VehiclePaged Current Vehicles
Arguments
ids - [ID]

Filter by ids

onboarded - Boolean

Onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]

Filter by plates

vins - [String]

Filter by VINs

default_vehicle - Vehicle Default Vehicle
descriptions - DescriptionPaged Descriptions
Arguments
ids - [ID]

Filter by ids

labels - [String]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

groups - GroupPaged Groups
Arguments
ids - [ID]

Filter by ids

labels - [String]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

id - ID! Identifier
id_key - String ID Key
label - String! Label
last_trip - Trip Last trip
Arguments
closed - Boolean

Get closed trip

trips - TripPaged Trips
Arguments
end_date - DateTime

Latest trip start

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

start_date - DateTime

Earliest trip start

updated_at - DateTime Updated At Always null
user_contact - Account Driver User Contact
user_profile - Account Driver User Profile
vehicle_sessions - DriverVehicleSessionPaged Vehicle Sessions
Arguments
active - Boolean
end_at_after - DateTime
end_at_before - DateTime
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

start_at_after - DateTime
start_at_before - DateTime
vehicles - VehiclePaged Vehicles
Arguments
ids - [ID]

Filter by ids

onboarded - Boolean

Onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]

Filter by plates

vins - [String]

Filter by VINs

auxiliary_devices - driver_auxiliary_devices_response

[beta]

Arguments
label - String
id_key - String
created_by_id - String
page_number - Int
page_size - Int
auxiliary_device - get_driver_auxiliary_device_response

[beta]

Arguments
aux_id - String!
Example
{
  "active": true,
  "created_at": "2007-12-03T10:15:30Z",
  "current_vehicle": Vehicle,
  "current_vehicles": VehiclePaged,
  "default_vehicle": Vehicle,
  "descriptions": DescriptionPaged,
  "groups": GroupPaged,
  "id": "4",
  "id_key": "xyz789",
  "label": "abc123",
  "last_trip": Trip,
  "trips": TripPaged,
  "updated_at": "2007-12-03T10:15:30Z",
  "user_contact": Account,
  "user_profile": Account,
  "vehicle_sessions": DriverVehicleSessionPaged,
  "vehicles": VehiclePaged,
  "auxiliary_devices": auxiliary_device_paginated,
  "auxiliary_device": auxiliary_device_show
}

DriverPaged

Description

Paginated driver results

Fields
Field Name Description
count - Int
list - [Driver!]!
next - ID
Example
{
  "count": 987,
  "list": [Driver],
  "next": "4"
}

DriverService

Description

Workshop driver service

Fields
Field Name Description
id - ID Driver service ID
description - String Description
label - String Label
workshops - WorkshopPaged Workshops
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

Example
{
  "id": 4,
  "description": "xyz789",
  "label": "xyz789",
  "workshops": WorkshopPaged
}

DriverServicePaged

Description

Paginated driver_service results

Fields
Field Name Description
count - Int
list - [DriverService!]!
next - ID
Example
{"count": 123, "list": [DriverService], "next": 4}

DriverVehicleSession

Description

DriverVehicleSession Object

Fields
Field Name Description
active - Boolean Active
driver - Driver Driver
end_at - DateTime End At
id - ID! Identifier
owner - Account Owner
start_at - DateTime! Start At
vehicle - Vehicle Vehicle
Example
{
  "active": false,
  "driver": Driver,
  "end_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "owner": Account,
  "start_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

DriverVehicleSessionPaged

Description

Paginated driver_vehicle_session results

Fields
Field Name Description
count - Int
list - [DriverVehicleSession!]!
next - ID
Example
{"count": 987, "list": [DriverVehicleSession], "next": 4}

Dtc

Description

DTC code informations

Fields
Field Name Description
cause - String Cause related to the dtc code.
classification - String Dtc code classification
code - String Dtc code
description - String Dtc code general context and description / category of the affected function and system
effect - String Effect may be caused by the dtc code.
id - ID! Dtc decoded information ID
information - String This usually provides more specific info or the way it works about the component or system that is affected by the Dtc code
mdi_dtc - String MDI Dtc translation
protocol - String Dtc code protocol
recommendation - String Code recemmendation
subdescription - String Dtc code additional description / sub category of the affected system/function
warning - String In case of working with the affected component which can be dangerous, certain warnings are shown, if applicable
warning_img - String Warning image URL, if applicable
Example
{
  "cause": "abc123",
  "classification": "xyz789",
  "code": "xyz789",
  "description": "xyz789",
  "effect": "abc123",
  "id": "4",
  "information": "abc123",
  "mdi_dtc": "xyz789",
  "protocol": "abc123",
  "recommendation": "abc123",
  "subdescription": "xyz789",
  "warning": "xyz789",
  "warning_img": "xyz789"
}

DtcClassification

Values
Enum Value Description

ADVISORY

CRITICAL

HIDDEN

INFORMATION

UNKNOWN

WARNING

Example
"ADVISORY"

DtcFreezeFrameParam

Fields
Field Name Description
description - String
id - ID
unit - Unit Standardized unit
unit_name - String Raw unit
value - String
Example
{
  "description": "xyz789",
  "id": "4",
  "unit": "OTHER",
  "unit_name": "xyz789",
  "value": "abc123"
}

DtcFreezeFrames

Fields
Field Name Description
description - String
params - [DtcFreezeFrameParam]
Example
{
  "description": "xyz789",
  "params": [DtcFreezeFrameParam]
}

DtcMode

Values
Enum Value Description

ABSENT

Absent (polled, and disappeared afterwards)

ACTIVE

Active

HISTORICAL

Historical (aka permanent)

INTERMITTENT

Intermittent

UNKNOWN

Unkown
Example
"ABSENT"

DtcProtocol

Values
Enum Value Description

UNKNOWN

J1587

J1939

OBD2

Example
"UNKNOWN"

DtcRegion

Values
Enum Value Description

EU

US

Example
"EU"

DtcSource

Values
Enum Value Description

OTHER

ABS

AC

ADAS

AIRBAG

BODY

BRAKING

CHASSIS

DIESEL

E_OBD_ECU

EV

FUEL

FUEL_IGNITION

GEARBOX

HYBRID_ECU

IGNITION

IMMOBILISER

INSTRUMENT

ISB

MULTIFUNCTION

NETWORK

POWERTRAIN

SUSPENSION

TCS

TPMS

UNKNOWN

Example
"OTHER"

EndOfProcess_Input

Fields
Input Field Description
status - mutationInput_post_actions_input_data_attributes_stack_oneOf_1_status!
details - String
Example
{"status": "SUCCESS", "details": "abc123"}

EnergyType

Values
Enum Value Description

ADBLUE

Diesel exhaust additive fluid

ARAL_ULTIMATE

Aral ultimate

BIO_DIESEL

Bio diesel

BLUE_ONE

Blue One

CNG

Compressed Natural Gas

DIESEL

Petroleum diesel

E10

May contain up to 10% of ethanol

E85

May contain up to 85% of ethanol

ELECTRIC

Electric vehicle

ETHANOL

Ethanol

GASOLINE

Gasoline

HYBRID

Hybrid

HYDROGEN

Hydrogen

LEADED_FOUR

Leaded four star petrol

LPG

Liquefied Petroleum Gas

LRP

Lead Replacement Petrol

METHANE

Methane

METHANOL

Methanol

MID_GRADE

Mid-grade octane rating

OTHER

Unrecognized or uncategorized energy type

PREMIUM

Premium octane rating

REGULAR

Regular octane rating

UNLEADED

Unleaded petrol

UNLEADED_E

Unleaded with ethanol

V_POWER

Shell V-Power
Example
"ADBLUE"

EventPokeArg

Description

Poke event arg

Fields
Input Field Description
device_id - ID ID of the device linked to the Poke
id - ID! Poke ID
namespace - String! String used to classify pokes comming from the same Sender
payload - String! Payload of the Poke encoded in base64
sender - String! Name of API that generate the Poke
Example
{
  "device_id": 4,
  "id": 4,
  "namespace": "abc123",
  "payload": "abc123",
  "sender": "xyz789"
}

EventPositionArg

Fields
Input Field Description
device_id - ID!
pos - [CoordinatesInput!]!
Example
{
  "device_id": "4",
  "pos": [CoordinatesInput]
}

EventPresenceArg

Fields
Input Field Description
connection_reason - DeviceConnectionReason
device_id - ID!
disconnection_reason - DeviceDisconnectionReason
status - DevicePresence!
Example
{
  "connection_reason": "CLOSED_BY_SERVER",
  "device_id": 4,
  "disconnection_reason": "AUTH_FAILED_ACCOUNT",
  "status": "CONNECTED"
}

EventRemotediagArg

Fields
Input Field Description
device_id - ID! Device that sent the remote diagnostic
remote_diag_id - ID!
Example
{"device_id": 4, "remote_diag_id": "4"}

EventTrackArg

Description

Track event arg

Fields
Input Field Description
device_id - ID! Device that sent the track
fields - [FieldNotify!]! fields
Example
{"device_id": 4, "fields": [FieldNotify]}

Field

Description

Field base interface. Every field_* inheritor possess a value field with a different type

Fields
Field Name Description
coordinates - Coordinates Field {lat,long,alt}itude and time coordinates
name - String Field name
Possible Types
Field Types

FieldBoolean

FieldFloat

FieldInteger

FieldString

Example
{
  "coordinates": Coordinates,
  "name": "abc123"
}

FieldBoolean

Description

Boolean field

Fields
Field Name Description
coordinates - Coordinates Field {lat,long,alt}itude and time coordinates
name - String Field name
value - Boolean Field value
Example
{
  "coordinates": Coordinates,
  "name": "abc123",
  "value": true
}

FieldFloat

Description

Float field

Fields
Field Name Description
coordinates - Coordinates Field {lat,long,alt}itude and time coordinates
name - String Field name
value - Float Field value
Example
{
  "coordinates": Coordinates,
  "name": "xyz789",
  "value": 987.65
}

FieldInteger

Description

Integer field

Fields
Field Name Description
coordinates - Coordinates Field {lat,long,alt}itude and time coordinates
name - String Field name
value - Int Field value
Example
{
  "coordinates": Coordinates,
  "name": "abc123",
  "value": 123
}

FieldNotify

Description

Field mutation input

Fields
Input Field Description
bvalue - Boolean Field boolean value
coordinates - CoordinatesInput Field {lat,long,alt}itude and time coordinates
fvalue - Float Field float value
ivalue - Int Field float value
name - String! Field name
svalue - String Field string value
Example
{
  "bvalue": false,
  "coordinates": CoordinatesInput,
  "fvalue": 123.45,
  "ivalue": 123,
  "name": "xyz789",
  "svalue": "abc123"
}

FieldPaged

Description

Paginated field results

Fields
Field Name Description
count - Int
list - [Field!]!
next - ID
Example
{
  "count": 123,
  "list": [Field],
  "next": "4"
}

FieldString

Description

String field

Fields
Field Name Description
coordinates - Coordinates Field {lat,long,alt}itude and time coordinates
name - String Field name
value - String Field value
Example
{
  "coordinates": Coordinates,
  "name": "xyz789",
  "value": "abc123"
}

File

Description

The File scalar type represents a file upload.

Example
File

Filter_Type

Values
Enum Value Description

UNKNOWN_FILTER

_0

PASS_FILTER

_1

BLOCK_FILTER

_2

FLOW_CONTROL_FILTER

_3

Example
"UNKNOWN_FILTER"

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
123.45

FloatObj

Fields
Field Name Description
value - Float!
Example
{"value": 987.65}

FloatTensor

Fields
Field Name Description
shape - [Int!]!
values - [Float]!
Example
{"shape": [987], "values": [123.45]}

FunctionNameType

Description

Function name enum

Values
Enum Value Description

DELETE_PROFILE

Delete a profile

DOWNLOAD_AND_ENABLE_PROFILE

Download and enable a new profile

DOWNLOAD_PROFILE

Download a new profile

ENABLE_PROFILE

Enable a profile

GET_EUICC_INFORMATION

Get eUICC information

LIST_PROFILES

List all profiles

SET_NICKNAME

Set the nickname of a profile
Example
"DELETE_PROFILE"

Geodecode

Description

Reverse Geocoding

Fields
Field Name Description
elements - GeodecodeElements
extent - GeodecodeExtent Bounding box extent of all elements in WGS84 format
Example
{
  "elements": GeodecodeElements,
  "extent": GeodecodeExtent
}

GeodecodeClassId

Fields
Field Name Description
code - String Administrative level of network.
id - ID The id of administrative level of network.
Example
{"code": "abc123", "id": 4}

GeodecodeCoordinate

Fields
Field Name Description
distance_from_request - Float Distance form the request coordinate in meter.
length_unity - String Unit of length (by default meter).
x - Float Matched longitude WGS84.
y - Float Matched latitude WGS84.
Example
{
  "distance_from_request": 123.45,
  "length_unity": "xyz789",
  "x": 987.65,
  "y": 123.45
}

GeodecodeElement

Fields
Field Name Description
angle - Float Angle of matched road segment. Value is a double in degrees.
coordinate - GeodecodeCoordinate Matched coordinate.
postal_address - GeodecodePostalAddress
relevance_score - Float Scoring of last (deepest) item found. Range value is a double between 0 to 1. the best matching is 1.
speed_limit - Float Administrative speed limit in km/h.
types - [GeodecodeTypes] List of type.
Example
{
  "angle": 987.65,
  "coordinate": GeodecodeCoordinate,
  "postal_address": GeodecodePostalAddress,
  "relevance_score": 987.65,
  "speed_limit": 123.45,
  "types": [GeodecodeTypes]
}

GeodecodeElements

Fields
Field Name Description
count - Int The number of elements found.
element - [GeodecodeElement] The response element of reverse-geocoding.
Example
{"count": 123, "element": [GeodecodeElement]}

GeodecodeExtent

Description

The bounding box of matched element. Coordinates are in in WGS84. The bounding box contains a couple of coordinates that represent the bottom left corn and the top right corn

Fields
Field Name Description
max_x - Float maxX: maximal value of longitude (X axis).
max_y - Float maxY: maximal value of latitude (Y axis).
min_x - Float minX: minimal value of longitude (X axis).
min_y - Float minY: minimal value of latitude (Y axis).
Example
{"max_x": 123.45, "max_y": 987.65, "min_x": 987.65, "min_y": 123.45}

GeodecodePostalAddress

Fields
Field Name Description
city - String Name of city.
class_id - GeodecodeClassId
country - String name of country.
country_code - String ISO code of country.
county - String Nam of county.
district - String Name of district.
opposite_street_number - String The opposite street number.
postal_code - String The postal code (Zip code).
state - String Name of state.
street - String Name of street.
street_number - String Name of street.
Example
{
  "city": "abc123",
  "class_id": GeodecodeClassId,
  "country": "xyz789",
  "country_code": "xyz789",
  "county": "abc123",
  "district": "xyz789",
  "opposite_street_number": "xyz789",
  "postal_code": "xyz789",
  "state": "abc123",
  "street": "xyz789",
  "street_number": "xyz789"
}

GeodecodeTypes

Fields
Field Name Description
type - String Administrative level of network.
Example
{"type": "xyz789"}

GeofencingEvent

Description

geofencing event

Values
Enum Value Description

OTHER

Unrecognized geofencing event

CHRONO

ENTRY

EXIT

Example
"OTHER"

GeofencingState

Description

geofencing state

Values
Enum Value Description

OTHER

Unrecognized geofencing state

ABORTED

CONFIRMED

ENDED

PENDING

UNKNOWN

Example
"OTHER"

Group

Description

Group information

Fields
Field Name Description
id - ID! Identifier
alerts - VehicleAlertPaged
Arguments
ids - [ID!]

Filter by ids

is_active - Boolean

Filter by activity

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sort - [VehicleAlertSort!]

Sort criteria

status - VehicleAlertStatus

Filter by status

types - [VehicleAlertType!]

Filter by types

children - GroupPaged Children
Arguments
hierarchy_levels - [GroupHierarchyLevel!]

Filter by hierarchy levels

ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

descriptions - DescriptionPaged Descriptions
Arguments
ids - [ID]

Filter by ids

labels - [String]

Label

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

devices - DevicePaged Devices
Arguments
device_types - [String]
ids - [ID]

Filter by ids

onboarded - Boolean
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

statuses - [DeviceStatus!]
drivers - DriverPaged Drivers
Arguments
active - Boolean
auxiliary_device_id_keys - [String!]

Filter by driver auxiliary devices id_key

auxiliary_device_mac_address_hashs - [String!]

Filter by driver auxiliary devices mac address hash

auxiliary_device_serial_numbers - [String!]

Filter by driver auxiliary devices serial number

has_vehicle - Boolean
id_keys - [ID!]

Filter by id_keys

ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

hierarchy_level - GroupHierarchyLevel! Hierarchy level
label - String! Label
owner - Account Owner
parents - GroupPaged Parents
Arguments
hierarchy_levels - [GroupHierarchyLevel!]

Filter by hierarchy levels

ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

tags - [String!] Tags
users - AccountPaged Users
Arguments
ids - [ID!]

Filter by ids

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

vehicles - VehiclePaged Vehicles
Arguments
active_dtc_count_max - Int

Only show vehicle with at most this number of active DTC

active_dtc_count_min - Int

Only show vehicle with at least this number of active DTC

any_fuel_types - [String]

Primary or secondary fuel type

fuel_type_secondaries - [String]

Secondary fuel type

fuel_types - [String]

Primary fuel type

has_driver - Boolean

has_driver

hybrid - Boolean

hybrid

ids - [ID]

Filter by ids

kba - [String]

KBA

ktypes - [String]

KType

makes - [String]

Model make

mil - Boolean

Filter by mil

model_ids - [ID]

Model ID

models - [String]

Model

multi - [String]

Filter by Vehicle plate, vin, make and model, by Driver label and by Device imei.

onboarded - Boolean

onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]

Filter by plates

severity_index_max - Float

Only show vehicle with at most this severity index

severity_index_min - Float

Only show vehicle with at least this severity index

sort - [VehicleSort!]

Sort criteria

vehicle_types - [VehicleTypeName]

Vehicle type

vins - [String]

Filter by VINs

years - [String]

Model Year

device_groups - device_group_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
max_created_at - DateTime
user_roles - user_role_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
geofences - geofence_paginated

[alpha]

Arguments
label - String
active - Boolean
page_number - Int
page_size - Int
summary_from_journey - journey_summary

[alpha]

Arguments
start_date - DateTime!
end_date - DateTime!
metadata_key - String
not_metadata_key - String
journey_reports - reports_response

[alpha]

Arguments
page_number - Int
page_size - Int
time - DateTime
kind - report_kind
status - report_status
sort - String
summary_from_alerts - post_v1_fleet_summaries_response!

[alpha]

Arguments
start_date - DateTime!
end_date - DateTime!
Example
{
  "id": "4",
  "alerts": VehicleAlertPaged,
  "children": GroupPaged,
  "descriptions": DescriptionPaged,
  "devices": DevicePaged,
  "drivers": DriverPaged,
  "hierarchy_level": "CENTER",
  "label": "xyz789",
  "owner": Account,
  "parents": GroupPaged,
  "tags": ["abc123"],
  "users": AccountPaged,
  "vehicles": VehiclePaged,
  "device_groups": device_group_paginated,
  "user_roles": user_role_paginated,
  "geofences": geofence_paginated,
  "summary_from_journey": journey_summary,
  "journey_reports": report_paginated,
  "summary_from_alerts": fleet_summary
}

GroupHierarchyLevel

Values
Enum Value Description

CENTER

CLIENT

DISTRIBUTOR

OPERATOR

UNASSIGNED

Example
"CENTER"

GroupMember

Values
Enum Value Description

CHILD

DEVICE

DRIVER

PARENT

USER

VEHICLE

Example
"CHILD"

GroupPaged

Description

Paginated group results

Fields
Field Name Description
count - Int
list - [Group!]!
next - ID
Example
{
  "count": 987,
  "list": [Group],
  "next": "4"
}

HTTPMethod

Values
Enum Value Description

GET

HEAD

POST

PUT

DELETE

CONNECT

OPTIONS

TRACE

PATCH

Example
"GET"

ID

Description

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
4

Idcoordinates

Description

Spatial coordinates and timestamp, with id

Fields
Field Name Description
alt - Int Altitude (m)
id - ID! Associated object ID (depending on context)
lat - Float Latitude (-90.0 .. 90.0)
lng - Float Longitude (-180.0 .. 180.0)
time - DateTime Date and time
Example
{
  "alt": 123,
  "id": "4",
  "lat": 987.65,
  "lng": 123.45,
  "time": "2007-12-03T10:15:30Z"
}

IdcoordinatesPaged

Description

Paginated idcoordinates results

Fields
Field Name Description
count - Int
list - [Idcoordinates!]!
next - ID
Example
{"count": 987, "list": [Idcoordinates], "next": 4}

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
987

IntegerObj

Fields
Field Name Description
value - Int!
Example
{"value": 987}

Ioctl_Id

Description

IOCTL

Values
Enum Value Description

UNKNOWN_IOCTL

_0

GET_CONFIG

_1

SET_CONFIG

_2

READ_VBATT

_3

FIVE_BAUD_INIT

_4

FAST_INIT

_5

CLEAR_TX_BUFFER

_7

CLEAR_RX_BUFFER

_8

CLEAR_PERIODIC_MSGS

_9

CLEAR_MSG_FILTERS

_10

CLEAR_FUNCT_MSG_LOOKUP_TABLE

_11

ADD_TO_FUNCT_MSG_LOOKUP_TABLE

_12

DELETE_FROM_FUNCT_MSG_LOOKUP_TABLE

_13

READ_PROG_VOLTAGE

_14

GET_NDIS_ADAPTER_INFO

_32783

SETUP_DOIP

_65536

DOIP_INFO

_65537

Example
"UNKNOWN_IOCTL"

Ioctl_Parameter

Fields
Field Name Description
none - String
message - Pass_Thru_Msg
sconfig_list - Sconfig_List
sbyte_array - File
Example
{
  "none": "xyz789",
  "message": Pass_Thru_Msg,
  "sconfig_list": Sconfig_List,
  "sbyte_array": File
}

Ioctl_Parameter_Input

Fields
Input Field Description
none - String
message - Pass_Thru_Msg_Input
sconfig_list - Sconfig_List_Input
sbyte_array - File
Example
{
  "none": "abc123",
  "message": Pass_Thru_Msg_Input,
  "sconfig_list": Sconfig_List_Input,
  "sbyte_array": File
}

JSON

Description

The JSON scalar type represents JSON values as specified by ECMA-404.

Example
{}

J_2534_Msg

Fields
Field Name Description
version - String
id - ID!
timestamp - String
request - J_2534_Request
response - J_2534_Response
Example
{
  "version": "abc123",
  "id": 4,
  "timestamp": "xyz789",
  "request": J_2534_Request,
  "response": J_2534_Response
}

J_2534_Msg_Input

Fields
Input Field Description
version - String
id - ID!
timestamp - String
request - J_2534_Request_Input
response - J_2534_Response_Input
Example
{
  "version": "xyz789",
  "id": "4",
  "timestamp": "xyz789",
  "request": J_2534_Request_Input,
  "response": J_2534_Response_Input
}

J_2534_Request

Fields
Field Name Description
connect - Pass_Thru_Connect_Request
disconnect - Pass_Thru_Disconnect_Request
ioctl - Pass_Thru_Ioctl_Request
write_msgs - Pass_Thru_Write_Msgs_Request
read_msgs - Pass_Thru_Read_Msgs_Request
start_periodic_msg - Pass_Thru_Start_Periodic_Msg_Request
stop_periodic_msg - Pass_Thru_Stop_Periodic_Msg_Request
start_msg_filter - Pass_Thru_Start_Msg_Filter_Request
stop_msg_filter - Pass_Thru_Stop_Msg_Filter_Request
read_version - JSON
get_last_error - JSON
set_programming_voltage - Pass_Thru_Set_Programming_Voltage_Request
start_periodic_read_msg - Pass_Thru_Start_Periodic_Read_Msg_Request
stop_periodic_read_msg - Pass_Thru_Stop_Periodic_Read_Msg_Request
Example
{
  "connect": Pass_Thru_Connect_Request,
  "disconnect": Pass_Thru_Disconnect_Request,
  "ioctl": Pass_Thru_Ioctl_Request,
  "write_msgs": Pass_Thru_Write_Msgs_Request,
  "read_msgs": Pass_Thru_Read_Msgs_Request,
  "start_periodic_msg": Pass_Thru_Start_Periodic_Msg_Request,
  "stop_periodic_msg": Pass_Thru_Stop_Periodic_Msg_Request,
  "start_msg_filter": Pass_Thru_Start_Msg_Filter_Request,
  "stop_msg_filter": Pass_Thru_Stop_Msg_Filter_Request,
  "read_version": {},
  "get_last_error": {},
  "set_programming_voltage": Pass_Thru_Set_Programming_Voltage_Request,
  "start_periodic_read_msg": Pass_Thru_Start_Periodic_Read_Msg_Request,
  "stop_periodic_read_msg": Pass_Thru_Stop_Periodic_Read_Msg_Request
}

J_2534_Request_Input

Example
{
  "connect": Pass_Thru_Connect_Request_Input,
  "disconnect": Pass_Thru_Disconnect_Request_Input,
  "ioctl": Pass_Thru_Ioctl_Request_Input,
  "write_msgs": Pass_Thru_Write_Msgs_Request_Input,
  "read_msgs": Pass_Thru_Read_Msgs_Request_Input,
  "start_periodic_msg": Pass_Thru_Start_Periodic_Msg_Request_Input,
  "stop_periodic_msg": Pass_Thru_Stop_Periodic_Msg_Request_Input,
  "start_msg_filter": Pass_Thru_Start_Msg_Filter_Request_Input,
  "stop_msg_filter": Pass_Thru_Stop_Msg_Filter_Request_Input,
  "read_version": {},
  "get_last_error": {},
  "set_programming_voltage": Pass_Thru_Set_Programming_Voltage_Request_Input,
  "start_periodic_read_msg": Pass_Thru_Start_Periodic_Read_Msg_Request_Input,
  "stop_periodic_read_msg": Pass_Thru_Stop_Periodic_Read_Msg_Request_Input
}

J_2534_Response

Example
{
  "unsupported": Pass_Thru_Unsupported,
  "connect": Pass_Thru_Connect_Response,
  "disconnect": Pass_Thru_Disconnect_Response,
  "ioctl": Pass_Thru_Ioctl_Response,
  "write_msgs": Pass_Thru_Write_Msgs_Response,
  "read_msgs": Pass_Thru_Read_Msgs_Response,
  "start_periodic_msg": Pass_Thru_Start_Periodic_Msg_Response,
  "stop_periodic_msg": Pass_Thru_Stop_Periodic_Msg_Response,
  "start_msg_filter": Pass_Thru_Start_Msg_Filter_Response,
  "stop_msg_filter": Pass_Thru_Stop_Msg_Filter_Response,
  "read_version": Pass_Thru_Read_Version_Response,
  "get_last_error": Pass_Thru_Get_Last_Error_Response,
  "set_programming_voltage": Pass_Thru_Set_Programming_Voltage_Response,
  "start_periodic_read_msg": Pass_Thru_Start_Periodic_Read_Msg_Response,
  "stop_periodic_read_msg": Pass_Thru_Stop_Periodic_Read_Msg_Response
}

J_2534_Response_Input

Example
{
  "unsupported": Pass_Thru_Unsupported_Input,
  "connect": Pass_Thru_Connect_Response_Input,
  "disconnect": Pass_Thru_Disconnect_Response_Input,
  "ioctl": Pass_Thru_Ioctl_Response_Input,
  "write_msgs": Pass_Thru_Write_Msgs_Response_Input,
  "read_msgs": Pass_Thru_Read_Msgs_Response_Input,
  "start_periodic_msg": Pass_Thru_Start_Periodic_Msg_Response_Input,
  "stop_periodic_msg": Pass_Thru_Stop_Periodic_Msg_Response_Input,
  "start_msg_filter": Pass_Thru_Start_Msg_Filter_Response_Input,
  "stop_msg_filter": Pass_Thru_Stop_Msg_Filter_Response_Input,
  "read_version": Pass_Thru_Read_Version_Response_Input,
  "get_last_error": Pass_Thru_Get_Last_Error_Response_Input,
  "set_programming_voltage": Pass_Thru_Set_Programming_Voltage_Response_Input,
  "start_periodic_read_msg": Pass_Thru_Start_Periodic_Read_Msg_Response_Input,
  "stop_periodic_read_msg": Pass_Thru_Stop_Periodic_Read_Msg_Response_Input
}

Json

Description

The Json scalar type represents arbitrary json string data, represented as UTF-8 character sequences. The Json type is most often used to represent a free-form human-readable json string.

Example
Json

JsonObj

Fields
Field Name Description
value - Json Debugging purpose only
Example
{"value": Json}

Lang

Description

Limited list of ISO 639-1 language codes

Values
Enum Value Description

OTHER

Unrecognized language

EN

English

FR

Français - French

DE

Deutch - German

IT

Italiano - Italian

ES

Español - Spanish
Example
"OTHER"

LangArg

Description

Limited list of ISO 639-1 language codes argument

Values
Enum Value Description

EN

English

FR

Français - French

DE

Deutch - German

IT

Italiano - Italian

ES

Español - Spanish
Example
"EN"

Language

Description

Language string, formatted according to IETF's BCP 47 (a leading two-lowercase-letter tag, optionaly followed by subtags)

Example
Language

Logfetch

Description

Log fetch request

Fields
Field Name Description
account - String!
action_name - String!
created_at - DateTime! Created at
id - ID!
reason - String
status - LogfetchStatus!
updated_at - DateTime! Updated at
Example
{
  "account": "xyz789",
  "action_name": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "reason": "xyz789",
  "status": "ABORTED",
  "updated_at": "2007-12-03T10:15:30Z"
}

LogfetchAction

Description

Describes the type of log requested

Fields
Field Name Description
created_at - DateTime! Created at
id - ID!
name - String!
updated_at - DateTime! Updated at
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "name": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z"
}

LogfetchActionPaged

Description

Paginated logfetch_action results

Fields
Field Name Description
count - Int
list - [LogfetchAction!]!
next - ID
Example
{"count": 123, "list": [LogfetchAction], "next": 4}

LogfetchPaged

Description

Paginated logfetch results

Fields
Field Name Description
count - Int
list - [Logfetch!]!
next - ID
Example
{"count": 987, "list": [Logfetch], "next": 4}

LogfetchStatus

Values
Enum Value Description

ABORTED

CORRUPTED

CORRUPTED_BEFORE_END

DONE

INITIALIZED

INPROGRESS

PENDING

SENT

Example
"ABORTED"

Lpa

Description

Munic LPA model

Fields
Field Name Description
function_name - String Function name
id - ID Request id
imei - ID Device imei
parameters - Parameters Associated parameters
status - String The request status, it can have the following values: CREATED/STARTED/TIMEOUT/SUCCEEDED
Example
{
  "function_name": "xyz789",
  "id": "4",
  "imei": 4,
  "parameters": Parameters,
  "status": "xyz789"
}

MaintenanceCriticality

Description

maintenance criticality

Values
Enum Value Description

OTHER

Unrecognized maintenance criticality

HIGH

LOW

MAINTENANCE_MISSED

MODERATE

VERY_HIGH

Example
"OTHER"

MaintenanceCriticalityArg

Description

maintenance criticality argument

Values
Enum Value Description

HIGH

LOW

MAINTENANCE_MISSED

MODERATE

VERY_HIGH

Example
"HIGH"

MaintenanceCriticalityThreshold

Fields
Field Name Description
criticality - Int Criticality index
description - String Criticality description
id - ID! Threshold ID
remaining_distance - Int Remaining driving distance (km)
remaining_duration - Int Remaining duration (s)
Example
{
  "criticality": 123,
  "description": "xyz789",
  "id": 4,
  "remaining_distance": 987,
  "remaining_duration": 987
}

MaintenanceCriticalityThresholdPaged

Description

Paginated maintenance_criticality_threshold results

Fields
Field Name Description
count - Int
list - [MaintenanceCriticalityThreshold!]!
next - ID
Example
{
  "count": 987,
  "list": [MaintenanceCriticalityThreshold],
  "next": 4
}

MaintenanceHistorical

Description

Historical vehicle maintenance

When an upcoming maintenance is "done'.

Fields
Field Name Description
id - ID Historical maintenance ID
date - DateTime Maintenance date
mileage - Int Mileage (km)
template - MaintenanceTemplate Maintenance template
vehicle - Vehicle Vehicle
Example
{
  "id": 4,
  "date": "2007-12-03T10:15:30Z",
  "mileage": 987,
  "template": MaintenanceTemplate,
  "vehicle": Vehicle
}

MaintenanceHistoricalPaged

Description

Paginated maintenance_historical results

Fields
Field Name Description
count - Int
list - [MaintenanceHistorical!]!
next - ID
Example
{
  "count": 987,
  "list": [MaintenanceHistorical],
  "next": "4"
}

MaintenanceSchedule

Description

Maintenance schedule

Combined with maintenante templates to generate upcoming maintenances

Fields
Field Name Description
distance - Int Distance until next maintenance (km)
duration - Int Time until next maintenance (seconds)
id - ID Schedule Id
model_id - Int Vehicle model ID
rule - MaintenanceScheduleRule Schedule rule
template - MaintenanceTemplate Maintenance template
Example
{
  "distance": 123,
  "duration": 123,
  "id": 4,
  "model_id": 987,
  "rule": MaintenanceScheduleRule,
  "template": MaintenanceTemplate
}

MaintenanceSchedulePaged

Description

Paginated maintenance_schedule results

Fields
Field Name Description
count - Int
list - [MaintenanceSchedule!]!
next - ID
Example
{
  "count": 987,
  "list": [MaintenanceSchedule],
  "next": "4"
}

MaintenanceScheduleRule

Fields
Field Name Description
mileage - Int Trigger after distance travelled (km)
month - Int Trigger after time elapsed (months)
type - MaintenanceScheduleRuleType
Example
{"mileage": 123, "month": 987, "type": "AT"}

MaintenanceScheduleRuleType

Values
Enum Value Description

AT

One-off schedule

EVERY

Recurring schedule
Example
"AT"

MaintenanceSystem

Description

Maintenance system

Fields
Field Name Description
group - String
name - String!
subgroup - String
Example
{
  "group": "xyz789",
  "name": "abc123",
  "subgroup": "xyz789"
}

MaintenanceTemplate

Description

Maintenance template

Combined with maintenante schedules to generate upcoming maintenances

Fields
Field Name Description
id - ID Maintenance template ID
description - String Maintenance description
from_external_service - Boolean
system - MaintenanceSystem! Maintenance system
Example
{
  "id": "4",
  "description": "abc123",
  "from_external_service": true,
  "system": MaintenanceSystem
}

MaintenanceTemplatePaged

Description

Paginated maintenance_template results

Fields
Field Name Description
count - Int
list - [MaintenanceTemplate!]!
next - ID
Example
{
  "count": 987,
  "list": [MaintenanceTemplate],
  "next": "4"
}

MaintenanceUpcoming

Description

Upcoming vehicle maintenance

Fields
Field Name Description
id - ID Maintenance ID
criticality - MaintenanceCriticalityThreshold Maintenance criticality
date_deadline - DateTime Maintenance deadline date
mileage_deadline - Int Maintenance deadline mileage (km)
remaining_days_to_drive - Int Maintenance remaining days
remaining_distance_to_drive - Int Maintenance remaining distance (km)
template - MaintenanceTemplate Maintenance template
vehicle - Vehicle Vehicle
Example
{
  "id": 4,
  "criticality": MaintenanceCriticalityThreshold,
  "date_deadline": "2007-12-03T10:15:30Z",
  "mileage_deadline": 123,
  "remaining_days_to_drive": 987,
  "remaining_distance_to_drive": 123,
  "template": MaintenanceTemplate,
  "vehicle": Vehicle
}

MaintenanceUpcomingPaged

Description

Paginated maintenance_upcoming results

Fields
Field Name Description
count - Int
list - [MaintenanceUpcoming!]!
next - ID
Example
{
  "count": 123,
  "list": [MaintenanceUpcoming],
  "next": "4"
}

MemberOperation

Values
Enum Value Description

ADD

REMOVE

Example
"ADD"

Meta_J_2534

Fields
Field Name Description
monitor - Boolean If true the response of this request will be decode and send to main api
type - Cmd_Type
parameter_id - String Define cmd ID in case on INIT_CMD id of the command, in case of PARAM_CMD the id of the dependence
byte_id - [String] in cases of INIT_CMD bytes to keep in response, in case of PARAM_CMD bytes to replace in request
start_offset - String
pattern_length - String
pattern_offset - String
j2534 - J_2534_Msg
Example
{
  "monitor": true,
  "type": "DEFAULT_CMD",
  "parameter_id": "abc123",
  "byte_id": ["xyz789"],
  "start_offset": "abc123",
  "pattern_length": "abc123",
  "pattern_offset": "abc123",
  "j2534": J_2534_Msg
}

Meta_J_2534_Input

Fields
Input Field Description
monitor - Boolean If true the response of this request will be decode and send to main api
type - Cmd_Type
parameter_id - String Define cmd ID in case on INIT_CMD id of the command, in case of PARAM_CMD the id of the dependence
byte_id - [String] in cases of INIT_CMD bytes to keep in response, in case of PARAM_CMD bytes to replace in request
start_offset - String
pattern_length - String
pattern_offset - String
j2534 - J_2534_Msg_Input
Example
{
  "monitor": false,
  "type": "DEFAULT_CMD",
  "parameter_id": "abc123",
  "byte_id": ["abc123"],
  "start_offset": "xyz789",
  "pattern_length": "abc123",
  "pattern_offset": "xyz789",
  "j2534": J_2534_Msg_Input
}

Metric

Fields
Field Name Description
description - String!
id - ID!
name - String!
tensor_shape - [Int!]!
type - MetricType!
unit_name - String
unit_notation - String
Example
{
  "description": "xyz789",
  "id": "4",
  "name": "abc123",
  "tensor_shape": [987],
  "type": "OTHER",
  "unit_name": "xyz789",
  "unit_notation": "abc123"
}

MetricPaged

Description

Paginated metric results

Fields
Field Name Description
count - Int
list - [Metric!]!
next - ID
Example
{"count": 987, "list": [Metric], "next": 4}

MetricType

Values
Enum Value Description

OTHER

BOOLEAN

BYTES

FLOAT

FLOAT_TENSOR

INTEGER

COORDINATES

STRING

Example
"OTHER"

NonNegativeInt

Description

Integers that will have a value of 0 or more.

Example
123

ObjMap

Example
ObjMap

OnboardingAction

Fields
Field Name Description
action - OnboardingActionAction!
created_at - DateTime!
id - ID!
triggered_by - Account
Example
{
  "action": "OTHER",
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "triggered_by": Account
}

OnboardingActionAction

Description

Action type

Values
Enum Value Description

OTHER

Unrecognized action type

CANCEL

FINALIZE

OFFBOARD

OFFBOARD_AND_RESET

RECONFIGURE

Example
"OTHER"

OnboardingActionPaged

Description

Paginated onboarding_action results

Fields
Field Name Description
count - Int
list - [OnboardingAction!]!
next - ID
Example
{"count": 123, "list": [OnboardingAction], "next": 4}

OnboardingAuxiliaryDevice

Fields
Field Name Description
asset_manager_id - String
id - ID!
id_key - String
kind - OnboardingAuxiliaryDeviceKind!
label - String
mac_address_hash - String
sensor_functions - [OnboardingAuxiliarySensorFunction!]
serial_number - String
Example
{
  "asset_manager_id": "xyz789",
  "id": "4",
  "id_key": "xyz789",
  "kind": "SENSOR",
  "label": "xyz789",
  "mac_address_hash": "xyz789",
  "sensor_functions": ["ACCELERATION"],
  "serial_number": "xyz789"
}

OnboardingAuxiliaryDeviceKind

Values
Enum Value Description

SENSOR

Example
"SENSOR"

OnboardingAuxiliaryDevicePaged

Description

Paginated onboarding_auxiliary_device results

Fields
Field Name Description
count - Int
list - [OnboardingAuxiliaryDevice!]!
next - ID
Example
{
  "count": 123,
  "list": [OnboardingAuxiliaryDevice],
  "next": "4"
}

OnboardingAuxiliarySensorFunction

Values
Enum Value Description

ACCELERATION

ALERT

ANALOG_INPUT

BATTERY_LEVEL

BATTERY_VOLTAGE

DIGITAL_INPUT

HUMIDITY

HYGROMETRY

IDENTIFIER

LIGHT_LEVEL

LOW_BATTERY

MAGNET

MAGNET_COUNT

MOVEMENT

OPEN_CLOSE

PROXIMITY

ROTATION

SENSOR

TEMPERATURE

TOUCH

VIBRATION

Example
"ACCELERATION"

OnboardingConsent

Fields
Field Name Description
id - ID!
inherited - Boolean! Inherited from client identification
whitelisted_data - [OnboardingWhitelistedData!]
Example
{
  "id": "4",
  "inherited": false,
  "whitelisted_data": ["OTHER"]
}

OnboardingDeviceBluetoothMode

Values
Enum Value Description

DEFAULT_MODE

DISABLE

ENABLE

Example
"DEFAULT_MODE"

OnboardingDistributor

Fields
Field Name Description
id - ID! Distributor id
is_active - Boolean
label - String
organization_id - ID Organization id
provider - OnboardingProvider
provider_workshop_id - ID Workshop third-party (provider) id
requests - OnboardingRequestPaged
Arguments
device_ids - [ID!]

Filter by linked device id

ids - [ID!]

Filter by request id

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String!]

Filter by linked vehicle plate

sort - [OnboardingRequestSort!]

Sort criteria

status - [OnboardingStatus!]

Filter by request status

vins - [String!]

Filter by linked vehicle VIN

staff - OnboardingStaffPaged
Arguments
ids - [ID!]

Filter by account id

is_active - Boolean

Select either active or inactive staff

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

workshop - Workshop
Example
{
  "id": 4,
  "is_active": false,
  "label": "abc123",
  "organization_id": "4",
  "provider": OnboardingProvider,
  "provider_workshop_id": "4",
  "requests": OnboardingRequestPaged,
  "staff": OnboardingStaffPaged,
  "workshop": Workshop
}

OnboardingDistributorPaged

Description

Paginated onboarding_distributor results

Fields
Field Name Description
count - Int
list - [OnboardingDistributor!]!
next - ID
Example
{"count": 987, "list": [OnboardingDistributor], "next": 4}

OnboardingDriverAssociation

Fields
Field Name Description
driver - Account
id - ID! Vehicle connection id
Example
{"driver": Account, "id": 4}

OnboardingEnergyTypeArg

Values
Enum Value Description

DIESEL

ELECTRIC

GASOLINE

Example
"DIESEL"

OnboardingMode

Description

onboarding mode

Values
Enum Value Description

OTHER

Unrecognized onboarding mode

DISCOVERY

Only device_reservation step is required. The request will be finalized automatically when VIN is sent if decoded successfully.

MANUAL

All steps are required, and request should be finalized manually.
Example
"OTHER"

OnboardingModeArg

Description

onboarding mode argument

Values
Enum Value Description

DISCOVERY

Only device_reservation step is required. The request will be finalized automatically when VIN is sent if decoded successfully.

MANUAL

All steps are required, and request should be finalized manually.
Example
"DISCOVERY"

OnboardingPartner

Fields
Field Name Description
id - ID!
name - String
organization_id - ID
project - Project
providers - OnboardingProviderPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

Example
{
  "id": 4,
  "name": "xyz789",
  "organization_id": 4,
  "project": Project,
  "providers": OnboardingProviderPaged
}

OnboardingPartnerPaged

Description

Paginated onboarding_partner results

Fields
Field Name Description
count - Int
list - [OnboardingPartner!]!
next - ID
Example
{"count": 987, "list": [OnboardingPartner], "next": 4}

OnboardingProvider

Fields
Field Name Description
emails - [String]
id - ID!
munic_support_emails - [String]
name - String
partner - OnboardingPartner
send_poke - Boolean
Example
{
  "emails": ["xyz789"],
  "id": 4,
  "munic_support_emails": ["abc123"],
  "name": "xyz789",
  "partner": OnboardingPartner,
  "send_poke": true
}

OnboardingProviderPaged

Description

Paginated onboarding_provider results

Fields
Field Name Description
count - Int
list - [OnboardingProvider!]!
next - ID
Example
{"count": 123, "list": [OnboardingProvider], "next": 4}

OnboardingRequest

Description

Pending onboarding request

Fields
Field Name Description
actions - OnboardingActionPaged Action history
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

activate_read_write_in_device - Boolean Whether read-write is enabled
auxiliary_devices - OnboardingAuxiliaryDevicePaged
Arguments
auxiliary_device_ids - [ID!]
labels - [String!]
mac_address_hashs - [String!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

serial_numbers - [String!]
client_identification_id - ID Client Identification id
cloned_from - OnboardingRequest Parent request this request was cloned from
cloned_to - OnboardingRequest Child request this request was cloned to
connection_type - DeviceConnectionType Device connection type
consent - OnboardingConsent Privacy consent
created_at - DateTime Request creation datetime
created_by - Account Account that created this request
device - Device Device IMEI
device_bluetooth - OnboardingDeviceBluetoothMode Device Bluetooth mode
device_created_by - Account Account that created this request's device
device_mode - ProfileDeviceModeClass
distributor - OnboardingDistributor Request distributor
driver - Account Account created by this request
driver_associated_by - Account Account that associated this request's driver
driver_association_id - ID Driver association id
driver_created_by - Account Account that created this request's driver
driver_validated_by - Account Account that validated this request's driver
id - ID! Request id
km_at_installation - Int Odometer (km) at installation
mode - OnboardingMode Onboarding mode
plate_number - ID Vehicle plate number
profile - ProfileOnboarding Profile status
serial_number - String Device serial number
status - OnboardingStatus Is the request still ongoing
updated_at - DateTime Request update datetime
vehicle - Vehicle Vehicle created by this request
vehicle_associated_by - Account Account that associated this request's vehicle
vehicle_connection - OnboardingVehicleConnection Vehicle connection
vehicle_created_by - Account Account that created this request's vehicle
vehicle_creation_id - ID Vehicle creation id
vehicle_enriched_by - Account Account that enriched this request's vehicle
vehicle_enrichments - OnboardingVehicle Vehicle enrichments
vin - String Vehicle VIN
warnings - [OnboardingWarning!] Errors encountered
with_code - Boolean Whether an onboarding code was used
setup_status - request_setup_status_show

[beta]

Example
{
  "actions": OnboardingActionPaged,
  "activate_read_write_in_device": true,
  "auxiliary_devices": OnboardingAuxiliaryDevicePaged,
  "client_identification_id": "4",
  "cloned_from": OnboardingRequest,
  "cloned_to": OnboardingRequest,
  "connection_type": "CABLE",
  "consent": OnboardingConsent,
  "created_at": "2007-12-03T10:15:30Z",
  "created_by": Account,
  "device": Device,
  "device_bluetooth": "DEFAULT_MODE",
  "device_created_by": Account,
  "device_mode": "OTHER",
  "distributor": OnboardingDistributor,
  "driver": Account,
  "driver_associated_by": Account,
  "driver_association_id": 4,
  "driver_created_by": Account,
  "driver_validated_by": Account,
  "id": 4,
  "km_at_installation": 123,
  "mode": "OTHER",
  "plate_number": 4,
  "profile": ProfileOnboarding,
  "serial_number": "xyz789",
  "status": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle,
  "vehicle_associated_by": Account,
  "vehicle_connection": OnboardingVehicleConnection,
  "vehicle_created_by": Account,
  "vehicle_creation_id": "4",
  "vehicle_enriched_by": Account,
  "vehicle_enrichments": OnboardingVehicle,
  "vin": "abc123",
  "warnings": [OnboardingWarning],
  "with_code": true,
  "setup_status": request_setup_status_show
}

OnboardingRequestPaged

Description

Paginated onboarding_request results

Fields
Field Name Description
count - Int
list - [OnboardingRequest!]!
next - ID
Example
{
  "count": 987,
  "list": [OnboardingRequest],
  "next": "4"
}

OnboardingRequestSort

Description

onboarding_request sorting

Fields
Input Field Description
by - OnboardingRequestSortKey!
order - SortOrder!
Example
{"by": "CREATED_AT", "order": "A"}

OnboardingRequestSortKey

Description

onboarding_request sorting key

Values
Enum Value Description

CREATED_AT

ID

STATUS

UPDATED_AT

Example
"CREATED_AT"

OnboardingStaff

Fields
Field Name Description
account - Account
is_active - Boolean!
role - OnboardingStaffRole!
Example
{"account": Account, "is_active": true, "role": "MANAGER"}

OnboardingStaffPaged

Description

Paginated onboarding_staff results

Fields
Field Name Description
count - Int
list - [OnboardingStaff!]!
next - ID
Example
{"count": 987, "list": [OnboardingStaff], "next": 4}

OnboardingStaffRole

Values
Enum Value Description

MANAGER

SALESMAN

TECHNICIAN

Example
"MANAGER"

OnboardingStatus

Description

onboarding status

Values
Enum Value Description

OTHER

Unrecognized onboarding status

CANCELLED

CLOSED

DRAFT

INTERVENTION_REQUIRED

OFFBOARDED

OFFBOARDING

OPEN

UPDATED

Has been cloned and the clone has been finalized
Example
"OTHER"

OnboardingVehicle

Fields
Field Name Description
ac_is_remote_controlled - Boolean
alarm_is_present - Boolean
brand - String The vehicle's brand
brand_model - String The vehicle's model
color - String
connectivity - String
ev_plug_position - String
ev_plug_type - String
front_brake_installation - String Odometer (km) at last front brake change
front_brake_wear - String
front_tire_installation - String Odometer (km) at last front tires change
front_tire_wear - String
fuel_type - EnergyType
fuel_type_secondary - EnergyType
kba - ID Kraftfahrbundesamt (Germany and Austria)
last_date_battery_changed - DateTime
model_id - ID
rear_brake_installation - String Odometer (km) at last rear brake change
rear_brake_wear - String
rear_tire_installation - String Odometer (km) at last rear tires change
rear_tire_wear - String
tank_size - Int Tank size (l), -1 if unknown
tyres_type - TyreType
vehicle_type - VehicleTypeName Vehicle type
vin_descriptions - DecodeVinResult
year_of_first_circulation - Int
Example
{
  "ac_is_remote_controlled": true,
  "alarm_is_present": false,
  "brand": "xyz789",
  "brand_model": "xyz789",
  "color": "xyz789",
  "connectivity": "xyz789",
  "ev_plug_position": "abc123",
  "ev_plug_type": "xyz789",
  "front_brake_installation": "xyz789",
  "front_brake_wear": "abc123",
  "front_tire_installation": "xyz789",
  "front_tire_wear": "abc123",
  "fuel_type": "ADBLUE",
  "fuel_type_secondary": "ADBLUE",
  "kba": 4,
  "last_date_battery_changed": "2007-12-03T10:15:30Z",
  "model_id": 4,
  "rear_brake_installation": "abc123",
  "rear_brake_wear": "abc123",
  "rear_tire_installation": "xyz789",
  "rear_tire_wear": "abc123",
  "tank_size": 987,
  "tyres_type": "ALL_SEASONS",
  "vehicle_type": "CAR",
  "vin_descriptions": DecodeVinResult,
  "year_of_first_circulation": 987
}

OnboardingVehicleConnection

Fields
Field Name Description
activate_read_write_in_device - Boolean Whether read-write is enabled
connection_type - DeviceConnectionType Device connection type
device_bluetooth - OnboardingDeviceBluetoothMode Device Bluetooth mode
device_mode - ProfileDeviceModeClass Device mode
id - ID! Vehicle connection id
km_at_installation - Int Odometer (km) at installation
Example
{
  "activate_read_write_in_device": true,
  "connection_type": "CABLE",
  "device_bluetooth": "DEFAULT_MODE",
  "device_mode": "OTHER",
  "id": "4",
  "km_at_installation": 123
}

OnboardingWarning

Fields
Field Name Description
step - String!
warnings - [String!]!
Example
{
  "step": "abc123",
  "warnings": ["xyz789"]
}

OnboardingWhitelistedData

Description

Kind of data that can be sent

Values
Enum Value Description

OTHER

Unrecognized data type

POSITION

SIM_IDENTIFICATION

VEHICLE_IDENTIFICATION

Example
"OTHER"

OnboardingWhitelistedDataArg

Values
Enum Value Description

POSITION

SIM_IDENTIFICATION

VEHICLE_IDENTIFICATION

Example
"POSITION"

OpeningHoursAttributes

Description

Opening_hours model.

Fields
Field Name Description
days - [String] A table of days (if the table contains all days, they will be replaced by every day)
open_24x_7 - Boolean True if the facilty doesn’t close (if True, the other attributes will be nil)
periods - [Period] Table that contains periods when the facility will be open, it has two attributes from and to
Example
{
  "days": ["xyz789"],
  "open_24x_7": false,
  "periods": [Period]
}

Parameters

Description

Lpa parameters submodel

Fields
Field Name Description
activation_code - String Activation code. Can be prefixed with “lpa”
enable - Int Enable Set to 1 to enable the profile immediatly after the download is complete
iccid - String ICCID of the profile to enable
nickname - String ICCID of the profile to enable
purpose - Int Purpose (0: Telematics only, 1: Wifi Telematics, 2: Backup)
telematics_apn - String Telematics apn
wifi_apn - String Wifi APN (Not checked if Purpose == 0)
Example
{
  "activation_code": "abc123",
  "enable": 123,
  "iccid": "xyz789",
  "nickname": "abc123",
  "purpose": 123,
  "telematics_apn": "xyz789",
  "wifi_apn": "xyz789"
}

ParametersType

Description

input object parameters

Fields
Input Field Description
activation_code - String Activation code. Can be prefixed with “lpa”
enable - Int Enable Set to 1 to enable the profile immediatly after the download is complete
iccid - String ICCID of the profile to enable
nickname - String Nickname of the profile to set
purpose - Int Purpose (0: Telematics only, 1: Wifi Telematics, 2: Backup)
telematics_apn - String Telematics apn
wifi_apn - String Wifi APN (Not checked if Purpose == 0)
Example
{
  "activation_code": "abc123",
  "enable": 123,
  "iccid": "abc123",
  "nickname": "abc123",
  "purpose": 987,
  "telematics_apn": "xyz789",
  "wifi_apn": "abc123"
}

Parking

Description

Vehicle parking

Fields
Field Name Description
address - AddressAttributes The address of the facility.
brand - String Parking brand
distance - Int Distance (meters) between the position sent in the request and the facility.
id - ID Parking ID
logo - String Parking logo url
name - String Parking name
opening_hours - [OpeningHoursAttributes] Table of The opening hours of the facility.
payment_info - PaymentInfo Payment information
pricing - [PricingInfo] Extra information about the station, such as connector type in the electric station case.
status - StatusAttributes State of the facility (open or closed) at the time of the request.
type - String Parking type
Example
{
  "address": AddressAttributes,
  "brand": "abc123",
  "distance": 123,
  "id": "4",
  "logo": "xyz789",
  "name": "abc123",
  "opening_hours": [OpeningHoursAttributes],
  "payment_info": PaymentInfo,
  "pricing": [PricingInfo],
  "status": "CLOSED",
  "type": "xyz789"
}

ParkingPaged

Description

Paginated parking results

Fields
Field Name Description
count - Int
list - [Parking!]!
next - ID
Example
{
  "count": 123,
  "list": [Parking],
  "next": "4"
}

Pass_Thru_Connect_Request

Description

CONNECT

Fields
Field Name Description
protocol_id - Protocol
flags - String
channel_id - String
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "flags": "xyz789",
  "channel_id": "abc123"
}

Pass_Thru_Connect_Request_Input

Description

CONNECT

Fields
Input Field Description
protocol_id - Protocol
flags - String
channel_id - String
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "flags": "xyz789",
  "channel_id": "abc123"
}

Pass_Thru_Connect_Response

Fields
Field Name Description
status - Status
channel_id - String
Example
{
  "status": "NOERROR",
  "channel_id": "xyz789"
}

Pass_Thru_Connect_Response_Input

Fields
Input Field Description
status - Status
channel_id - String
Example
{
  "status": "NOERROR",
  "channel_id": "abc123"
}

Pass_Thru_Disconnect_Request

Description

DISCONNECT

Fields
Field Name Description
channel_id - String
Example
{"channel_id": "abc123"}

Pass_Thru_Disconnect_Request_Input

Description

DISCONNECT

Fields
Input Field Description
channel_id - String
Example
{"channel_id": "xyz789"}

Pass_Thru_Disconnect_Response

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Disconnect_Response_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Get_Last_Error_Response

Fields
Field Name Description
status - Status
p_error_description - String
Example
{
  "status": "NOERROR",
  "p_error_description": "abc123"
}

Pass_Thru_Get_Last_Error_Response_Input

Fields
Input Field Description
status - Status
p_error_description - String
Example
{
  "status": "NOERROR",
  "p_error_description": "abc123"
}

Pass_Thru_Ioctl_Request

Description

message SconfigList

Fields
Field Name Description
channel_id - String
ioctl_id - Ioctl_Id
p_input - Ioctl_Parameter
Example
{
  "channel_id": "xyz789",
  "ioctl_id": "UNKNOWN_IOCTL",
  "p_input": Ioctl_Parameter
}

Pass_Thru_Ioctl_Request_Input

Description

message SconfigList

Fields
Input Field Description
channel_id - String
ioctl_id - Ioctl_Id
p_input - Ioctl_Parameter_Input
Example
{
  "channel_id": "abc123",
  "ioctl_id": "UNKNOWN_IOCTL",
  "p_input": Ioctl_Parameter_Input
}

Pass_Thru_Ioctl_Response

Fields
Field Name Description
status - Status
p_output - Ioctl_Parameter
Example
{"status": "NOERROR", "p_output": Ioctl_Parameter}

Pass_Thru_Ioctl_Response_Input

Fields
Input Field Description
status - Status
p_output - Ioctl_Parameter_Input
Example
{"status": "NOERROR", "p_output": Ioctl_Parameter_Input}

Pass_Thru_Msg

Fields
Field Name Description
protocol_id - Protocol
rx_status - String
tx_flags - String / The Tx flags used when transmitting messages.
data_size - String / The size of the message data.
extra_data_index - String
data - File / The message data.
flag_id - String
timestamp - String
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "rx_status": "xyz789",
  "tx_flags": "abc123",
  "data_size": "abc123",
  "extra_data_index": "xyz789",
  "data": File,
  "flag_id": "abc123",
  "timestamp": "abc123"
}

Pass_Thru_Msg_Input

Fields
Input Field Description
protocol_id - Protocol
rx_status - String
tx_flags - String / The Tx flags used when transmitting messages.
data_size - String / The size of the message data.
extra_data_index - String
data - File / The message data.
flag_id - String
timestamp - String
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "rx_status": "abc123",
  "tx_flags": "xyz789",
  "data_size": "xyz789",
  "extra_data_index": "abc123",
  "data": File,
  "flag_id": "xyz789",
  "timestamp": "abc123"
}

Pass_Thru_Read_Msgs_Request

Description

READ

Fields
Field Name Description
channel_id - String
timeout - String
p_num_msgs - String
Example
{
  "channel_id": "xyz789",
  "timeout": "abc123",
  "p_num_msgs": "abc123"
}

Pass_Thru_Read_Msgs_Request_Input

Description

READ

Fields
Input Field Description
channel_id - String
timeout - String
p_num_msgs - String
Example
{
  "channel_id": "abc123",
  "timeout": "xyz789",
  "p_num_msgs": "abc123"
}

Pass_Thru_Read_Msgs_Response

Fields
Field Name Description
status - Status
p_num_msgs - String
p_msg - [Pass_Thru_Msg]
Example
{
  "status": "NOERROR",
  "p_num_msgs": "xyz789",
  "p_msg": [Pass_Thru_Msg]
}

Pass_Thru_Read_Msgs_Response_Input

Fields
Input Field Description
status - Status
p_num_msgs - String
p_msg - [Pass_Thru_Msg_Input]
Example
{
  "status": "NOERROR",
  "p_num_msgs": "xyz789",
  "p_msg": [Pass_Thru_Msg_Input]
}

Pass_Thru_Read_Version_Response

Fields
Field Name Description
status - Status
p_firmware_version - String
p_dll_version - String
p_api_version - String
Example
{
  "status": "NOERROR",
  "p_firmware_version": "abc123",
  "p_dll_version": "abc123",
  "p_api_version": "abc123"
}

Pass_Thru_Read_Version_Response_Input

Fields
Input Field Description
status - Status
p_firmware_version - String
p_dll_version - String
p_api_version - String
Example
{
  "status": "NOERROR",
  "p_firmware_version": "xyz789",
  "p_dll_version": "abc123",
  "p_api_version": "abc123"
}

Pass_Thru_Set_Programming_Voltage_Request

Fields
Field Name Description
pin_number - String
voltage - String
Example
{
  "pin_number": "abc123",
  "voltage": "abc123"
}

Pass_Thru_Set_Programming_Voltage_Request_Input

Fields
Input Field Description
pin_number - String
voltage - String
Example
{
  "pin_number": "abc123",
  "voltage": "abc123"
}

Pass_Thru_Set_Programming_Voltage_Response

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Set_Programming_Voltage_Response_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Start_Msg_Filter_Request

Fields
Field Name Description
channel_id - String
filter_type - Filter_Type
p_mask_msg - Pass_Thru_Msg
p_pattern_msg - Pass_Thru_Msg
p_flow_control_msg - Pass_Thru_Msg
p_msg_id - String
Example
{
  "channel_id": "abc123",
  "filter_type": "UNKNOWN_FILTER",
  "p_mask_msg": Pass_Thru_Msg,
  "p_pattern_msg": Pass_Thru_Msg,
  "p_flow_control_msg": Pass_Thru_Msg,
  "p_msg_id": "abc123"
}

Pass_Thru_Start_Msg_Filter_Request_Input

Fields
Input Field Description
channel_id - String
filter_type - Filter_Type
p_mask_msg - Pass_Thru_Msg_Input
p_pattern_msg - Pass_Thru_Msg_Input
p_flow_control_msg - Pass_Thru_Msg_Input
p_msg_id - String
Example
{
  "channel_id": "xyz789",
  "filter_type": "UNKNOWN_FILTER",
  "p_mask_msg": Pass_Thru_Msg_Input,
  "p_pattern_msg": Pass_Thru_Msg_Input,
  "p_flow_control_msg": Pass_Thru_Msg_Input,
  "p_msg_id": "abc123"
}

Pass_Thru_Start_Msg_Filter_Response

Fields
Field Name Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "abc123"}

Pass_Thru_Start_Msg_Filter_Response_Input

Fields
Input Field Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "xyz789"}

Pass_Thru_Start_Periodic_Msg_Request

Fields
Field Name Description
channel_id - String
p_msg - Pass_Thru_Msg
time_interval - String
p_msg_id - String
Example
{
  "channel_id": "abc123",
  "p_msg": Pass_Thru_Msg,
  "time_interval": "xyz789",
  "p_msg_id": "abc123"
}

Pass_Thru_Start_Periodic_Msg_Request_Input

Fields
Input Field Description
channel_id - String
p_msg - Pass_Thru_Msg_Input
time_interval - String
p_msg_id - String
Example
{
  "channel_id": "xyz789",
  "p_msg": Pass_Thru_Msg_Input,
  "time_interval": "abc123",
  "p_msg_id": "xyz789"
}

Pass_Thru_Start_Periodic_Msg_Response

Fields
Field Name Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "abc123"}

Pass_Thru_Start_Periodic_Msg_Response_Input

Fields
Input Field Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "abc123"}

Pass_Thru_Start_Periodic_Read_Msg_Request

Fields
Field Name Description
channel_id - String
data_filter - [Data_Filter]
time_interval - String
p_msg_id - String
flag_id - String
Example
{
  "channel_id": "abc123",
  "data_filter": [Data_Filter],
  "time_interval": "xyz789",
  "p_msg_id": "xyz789",
  "flag_id": "xyz789"
}

Pass_Thru_Start_Periodic_Read_Msg_Request_Input

Fields
Input Field Description
channel_id - String
data_filter - [Data_Filter_Input]
time_interval - String
p_msg_id - String
flag_id - String
Example
{
  "channel_id": "xyz789",
  "data_filter": [Data_Filter_Input],
  "time_interval": "xyz789",
  "p_msg_id": "xyz789",
  "flag_id": "abc123"
}

Pass_Thru_Start_Periodic_Read_Msg_Response

Fields
Field Name Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "xyz789"}

Pass_Thru_Start_Periodic_Read_Msg_Response_Input

Fields
Input Field Description
status - Status
p_msg_id - String
Example
{"status": "NOERROR", "p_msg_id": "abc123"}

Pass_Thru_Stop_Msg_Filter_Request

Fields
Field Name Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "xyz789"
}

Pass_Thru_Stop_Msg_Filter_Request_Input

Fields
Input Field Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "abc123"
}

Pass_Thru_Stop_Msg_Filter_Response

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Stop_Msg_Filter_Response_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Stop_Periodic_Msg_Request

Fields
Field Name Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "xyz789"
}

Pass_Thru_Stop_Periodic_Msg_Request_Input

Fields
Input Field Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "xyz789"
}

Pass_Thru_Stop_Periodic_Msg_Response

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Stop_Periodic_Msg_Response_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Stop_Periodic_Read_Msg_Request

Fields
Field Name Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "xyz789"
}

Pass_Thru_Stop_Periodic_Read_Msg_Request_Input

Fields
Input Field Description
channel_id - String
msg_id - String
Example
{
  "channel_id": "xyz789",
  "msg_id": "xyz789"
}

Pass_Thru_Stop_Periodic_Read_Msg_Response

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Stop_Periodic_Read_Msg_Response_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Unsupported

Fields
Field Name Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Unsupported_Input

Fields
Input Field Description
status - Status
Example
{"status": "NOERROR"}

Pass_Thru_Write_Msgs_Request

Description

WRITE

Fields
Field Name Description
channel_id - String
timeout - String
p_num_msgs - String
p_msg - [Pass_Thru_Msg]
Example
{
  "channel_id": "abc123",
  "timeout": "abc123",
  "p_num_msgs": "abc123",
  "p_msg": [Pass_Thru_Msg]
}

Pass_Thru_Write_Msgs_Request_Input

Description

WRITE

Fields
Input Field Description
channel_id - String
timeout - String
p_num_msgs - String
p_msg - [Pass_Thru_Msg_Input]
Example
{
  "channel_id": "abc123",
  "timeout": "abc123",
  "p_num_msgs": "abc123",
  "p_msg": [Pass_Thru_Msg_Input]
}

Pass_Thru_Write_Msgs_Response

Fields
Field Name Description
status - Status
p_num_msgs - String
Example
{
  "status": "NOERROR",
  "p_num_msgs": "xyz789"
}

Pass_Thru_Write_Msgs_Response_Input

Fields
Input Field Description
status - Status
p_num_msgs - String
Example
{
  "status": "NOERROR",
  "p_num_msgs": "xyz789"
}

PasswordResetChannel

Description

Side channel to send the reset token

Values
Enum Value Description

EMAIL

PHONE

Example
"EMAIL"

PaymentInfo

Fields
Field Name Description
methods - [PaymentMethod]
note - String
subscription - Boolean
Example
{
  "methods": ["AMEX"],
  "note": "xyz789",
  "subscription": false
}

PaymentMethod

Values
Enum Value Description

AMEX

CASH

DEBITCARD

MASTERCARD

VISA

Example
"AMEX"

Percent

Description

Percentage, as a floating point number between 0 and 100

Example
Percent

Perf

Fields
Field Name Description
events - [PerfEvent!]
id - ID!
Example
{
  "events": [PerfEvent],
  "id": "4"
}

PerfEvent

Fields
Field Name Description
elapsed - Int
label - String!
start - DateTime!
Example
{
  "elapsed": 987,
  "label": "xyz789",
  "start": "2007-12-03T10:15:30Z"
}

Period

Description

Period submodel.

Fields
Field Name Description
from - String Begins at
to - String Ends at
Example
{
  "from": "abc123",
  "to": "abc123"
}

Plate

Description

plate Alpr submodel

Fields
Field Name Description
candidates - [Plates] Vehicle plates candidtes
Example
{"candidates": [Plates]}

Plates

Description

Submodel of plates

Fields
Field Name Description
confidence - Float Plate confidence
plate - String Vehicle plate
Example
{"confidence": 987.65, "plate": "xyz789"}

PositionNotification

Fields
Field Name Description
coordinates - [Coordinates!] Device positions (last item is also avaliable via device.last_position)
device - Device Device
Example
{
  "coordinates": [Coordinates],
  "device": Device
}

PresenceNotification

Fields
Field Name Description
connection_reason - DeviceConnectionReason Connection reason
device - Device Device
disconnection_reason - DeviceDisconnectionReason Disconnection reason
status - DevicePresence
Example
{
  "connection_reason": "CLOSED_BY_SERVER",
  "device": Device,
  "disconnection_reason": "AUTH_FAILED_ACCOUNT",
  "status": "CONNECTED"
}

PricingInfo

Description

Pricing info submodel.

Fields
Field Name Description
currency - String The currency code. ISO 4217 is used.
days - [String] A table of days (if the table contains all days, they will be replaced by every day)
max_minutes - Int The max time a person should stay in the parking so this price will be used.
min_minutes - Int The min time a person should stay in the parking so this price will be used.
price - Float The price of the energy for each unit.
Example
{
  "currency": "xyz789",
  "days": ["xyz789"],
  "max_minutes": 123,
  "min_minutes": 987,
  "price": 123.45
}

ProfileDeviceMode

Fields
Field Name Description
ended_at - DateTime
id - ID!
mode - ProfileDeviceModeClass!
restore_default - ProfileRestoreDefault
started_at - DateTime!
status - ProfileMigrationStatus!
Example
{
  "ended_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "mode": "OTHER",
  "restore_default": ProfileRestoreDefault,
  "started_at": "2007-12-03T10:15:30Z",
  "status": "OTHER"
}

ProfileDeviceModeClass

Description

Device mode

Values
Enum Value Description

OTHER

Unrecognized device mode

TELEMATIC

WORKSHOP

Example
"OTHER"

ProfileDeviceModeClassArg

Description

Device mode argument

Values
Enum Value Description

TELEMATIC

WORKSHOP

Example
"TELEMATIC"

ProfileDeviceModePaged

Description

Paginated profile_device_mode results

Fields
Field Name Description
count - Int
list - [ProfileDeviceMode!]!
next - ID
Example
{"count": 123, "list": [ProfileDeviceMode], "next": 4}

ProfileMigrationStatus

Description

Migration status

Values
Enum Value Description

OTHER

Unrecognized migration status

CANCELED

Migration canceled by user

FAILED

Migration failed

IN_PROGRESS

Migration started, waiting for device to apply it

INCOMPATIBLE

Migration is not compatible with the apps linked to the device

PENDING

Migration validated, waiting for campaign to be generated

SUCCEEDED

Migration finished successfully

TIMEOUT

Migration failed because of timeout
Example
"OTHER"

ProfileOnboarding

Fields
Field Name Description
campaign_id - ID
configuration_ids - [ID]
created_at - DateTime!
ended_at - DateTime
id - ID!
privacy - ProfilePrivacy
restore_default - ProfileRestoreDefault
started_at - DateTime!
status - ProfileMigrationStatus!
vehicle_desc - DecodeVinResult
Example
{
  "campaign_id": 4,
  "configuration_ids": ["4"],
  "created_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "privacy": ProfilePrivacy,
  "restore_default": ProfileRestoreDefault,
  "started_at": "2007-12-03T10:15:30Z",
  "status": "OTHER",
  "vehicle_desc": DecodeVinResult
}

ProfilePrivacy

Fields
Field Name Description
created_at - DateTime!
ended_at - DateTime
id - ID!
restore_default - ProfileRestoreDefault
started_at - DateTime!
status - ProfileMigrationStatus!
whitelisted_data - [OnboardingWhitelistedData!]
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "restore_default": ProfileRestoreDefault,
  "started_at": "2007-12-03T10:15:30Z",
  "status": "OTHER",
  "whitelisted_data": ["OTHER"]
}

ProfilePrivacyPaged

Description

Paginated profile_privacy results

Fields
Field Name Description
count - Int
list - [ProfilePrivacy!]!
next - ID
Example
{
  "count": 123,
  "list": [ProfilePrivacy],
  "next": "4"
}

ProfileRestoreDefault

Fields
Field Name Description
campaign_id - ID
created_at - DateTime!
ended_at - DateTime
id - ID!
mode - ProfileDeviceModeClass!
started_at - DateTime!
status - ProfileMigrationStatus!
Example
{
  "campaign_id": 4,
  "created_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "mode": "OTHER",
  "started_at": "2007-12-03T10:15:30Z",
  "status": "OTHER"
}

Project

Description

Project Object

Fields
Field Name Description
id - ID! Identifier
devices - DevicePaged Devices
Arguments
device_types - [String]
ids - [ID!]

Filter by ids

onboarded - Boolean
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

statuses - [DeviceStatus!]
drivers - DriverPaged Drivers
Arguments
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

groups - GroupPaged Groups
Arguments
ids - [ID!]

Filter by ids

labels - [String!]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

label - String! Label
owner - Account Owner
users - AccountPaged Users
Arguments
ids - [ID]

Filter by ids

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

vehicles - VehiclePaged Vehicles
Arguments
any_fuel_types - [String]

Primary or secondary fuel type

fuel_types - [String]

Primary fuel type

has_driver - Boolean

has_driver

ids - [ID]

Filter by ids

kba - [String]

KBA

ktypes - [String]

KType

makes - [String]

Model make

model_ids - [ID]

Model ID

models - [String]

Model

multi - [String]

Filter by Vehicle plate, vin, make and model, by Driver label and by Device imei.

onboarded - Boolean

onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

plates - [String]

Filter by plates

vehicle_types - [VehicleTypeName]

Vehicle type

vins - [String]

Filter by VINs

years - [String]

Model Year

Example
{
  "id": "4",
  "devices": DevicePaged,
  "drivers": DriverPaged,
  "groups": GroupPaged,
  "label": "abc123",
  "owner": Account,
  "users": AccountPaged,
  "vehicles": VehiclePaged
}

ProjectMember

Values
Enum Value Description

DEVICE

DRIVER

GROUP

USER

VEHICLE

Example
"DEVICE"

ProjectPaged

Description

Paginated project results

Fields
Field Name Description
count - Int
list - [Project!]!
next - ID
Example
{
  "count": 123,
  "list": [Project],
  "next": "4"
}

Protocol

Values
Enum Value Description

UNKNOWN_PROTOCOL

_0

J1850_VPM

_1

J1850_PWM

_2

ISO_9141

_3

ISO_14230

_4

CAN

_5

ISO_15765

_6

SCI_A_ENGINE

_7

SCI_A_TRANS

_8

Sci_B_ENGINE

_9

Sci_B_TRANS

_10

J1850_VPW_PS

_32768

J1850_PWM_PS

_32769

ISO_9141_PS

_32770

ISO_14230_S

_32771

CAN_PS

_32772

ISO_15765_PS

_32773

J2610_PS

_32774

SW_ISO_15765_PS

_32775

SW_CAN_PS

_32776

GM_UART_PS

_32777

UART_ECHO_BYTE_PS

_32778

HONDA_DIAGH_PS

_32779

J1939_PS

_32780

J1708_PS

_32781

TP2_0_PS

_32782

FT_CAN_PS

_32783

FT_ISO_15765_PS

_32784

ETHERNET_NDIS

_32787

Example
"UNKNOWN_PROTOCOL"

ProvidedEnergy

Description

Fuel/energy info

Fields
Field Name Description
capacity - String Electric connector capacity
connector_count - Int Number of available electric connectors
connector_support - String Supported electric connector
connector_type - ConnectorType The standardized type of electric connector
connector_type_full - String The full type of electric connector
currency - String The currency code. ISO 4217 is used.
price - Float The price of the energy for each unit.
type - EnergyType The standardized type of energy/fuel this station provide.
type_full - String The full type of energy/fuel this station provide.
unit - String The unit of the energy.
Example
{
  "capacity": "abc123",
  "connector_count": 123,
  "connector_support": "abc123",
  "connector_type": "AVCON_CONNECTOR",
  "connector_type_full": "xyz789",
  "currency": "abc123",
  "price": 987.65,
  "type": "ADBLUE",
  "type_full": "xyz789",
  "unit": "xyz789"
}

Quotation

Description

Workshop quotation

Fields
Field Name Description
id - ID Quotation ID
booking_id - ID Booking ID
currency - String Currency
maintenance_code - String Maintenance codes
plate_number - String Plate number
price - Int Price
provider_quotation_id - ID Provider quotation ID
taxes - Int Taxes
taxes_price - Int Taxes price
workshop - Workshop Workshop
Example
{
  "id": 4,
  "booking_id": 4,
  "currency": "abc123",
  "maintenance_code": "abc123",
  "plate_number": "xyz789",
  "price": 123,
  "provider_quotation_id": 4,
  "taxes": 123,
  "taxes_price": 987,
  "workshop": Workshop
}

QuotationPaged

Description

Paginated quotation results

Fields
Field Name Description
count - Int
list - [Quotation!]!
next - ID
Example
{
  "count": 123,
  "list": [Quotation],
  "next": "4"
}

Rating

Description

Workshop rating

Fields
Field Name Description
id - ID Rating ID
booking - Booking Booking
created_at - DateTime Creation datetime
message - String Rating message
response - String Response message
response_date - DateTime Response datetime
stars - Int Stars
status - RatingStatus Wether rating is verified
workshop - Workshop Workshop
Example
{
  "id": 4,
  "booking": Booking,
  "created_at": "2007-12-03T10:15:30Z",
  "message": "xyz789",
  "response": "abc123",
  "response_date": "2007-12-03T10:15:30Z",
  "stars": 123,
  "status": "NOT_VERIFIED",
  "workshop": Workshop
}

RatingPaged

Description

Paginated rating results

Fields
Field Name Description
count - Int
list - [Rating!]!
next - ID
Example
{"count": 123, "list": [Rating], "next": 4}

RatingStatus

Values
Enum Value Description

NOT_VERIFIED

VERIFIED

Example
"NOT_VERIFIED"

RdcAsyncAck

Description

Asynchroneous reply

This is an aknowledgement that the command has been sent. Actual reply must be fetched using notifications.

Fields
Field Name Description
attributes - Json Original request's device_id/created_at/params/etc
id - ID Request id
type - String Original request's type
Example
{
  "attributes": Json,
  "id": 4,
  "type": "xyz789"
}

RdcEndpoint

Description

Type of RemoteDeviceCommand query/mutation

Values
Enum Value Description

DISPLACEMENT_SET

DOOR_TOGGLE

DTC_CLEAN

EKKO_INITIALIZATIONS

ENGINE_TOGGLE

GPS_TOGGLE

LIGHTHORN_TRIGGER

ODOMETER_SET

SYSTEM_REBOOT

WIFI_CREDENTIALS

WIFI_STATUS

WIFI_TOGGLE

Example
"DISPLACEMENT_SET"

Reading

Fields
Field Name Description
event_id - ID The cloud event this reading is extracted from
id - ID!
metric - Metric!
time - DateTime!
value - ReadingValue!
Example
{
  "event_id": "4",
  "id": "4",
  "metric": Metric,
  "time": "2007-12-03T10:15:30Z",
  "value": BooleanObj
}

ReadingAggregate

Description

Aggregate readings (grouped by metric id) instead of returning the whole list

Values
Enum Value Description

CHANGES

Return only value changes

FIRST

Return the first reading only

LAST

Return the last reading only

NONE

Return all readings
Example
"CHANGES"

ReadingAnon

Fields
Field Name Description
metric - Metric!
time - DateTime
value - ReadingValue!
Example
{
  "metric": Metric,
  "time": "2007-12-03T10:15:30Z",
  "value": BooleanObj
}

ReadingAnonAggregate

Values
Enum Value Description

COUNT

Return the number of readings

LTTB

Return Largest Triangle Tree Buckets
Example
"COUNT"

ReadingAnonPaged

Description

Paginated reading_anon results

Fields
Field Name Description
count - Int
list - [ReadingAnon!]!
next - ID
Example
{
  "count": 987,
  "list": [ReadingAnon],
  "next": "4"
}

ReadingPaged

Description

Paginated reading results

Fields
Field Name Description
count - Int
list - [Reading!]!
next - ID
Example
{"count": 123, "list": [Reading], "next": 4}

ReadingSort

Description

reading sorting

Fields
Input Field Description
by - ReadingSortKey!
order - SortOrder!
Example
{"by": "TIME", "order": "A"}

ReadingSortKey

Description

reading sorting key

Values
Enum Value Description

TIME

Example
"TIME"

ReadingValue

RemoteDiag

Description

Remote diagnostic session

Fields
Field Name Description
id - ID! Remote diagnostic session id
actions - RemoteDiagActionPaged List of previous actions
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

created_at - DateTime! Creation date
current_step - RemoteDiagCurrentStep! Current session step
language - Language! Language
provider_name - String
result - RemoteDiagResult
status - String Current status
steps - RemoteDiagStepPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

updated_at - DateTime! Update date
vci - RemoteDiagEndpoint Vehicle Communication Interface
vud - RemoteDiagEndpoint Vehicle Under Diagnostic
Example
{
  "id": "4",
  "actions": RemoteDiagActionPaged,
  "created_at": "2007-12-03T10:15:30Z",
  "current_step": "OTHER",
  "language": Language,
  "provider_name": "xyz789",
  "result": RemoteDiagResult,
  "status": "xyz789",
  "steps": RemoteDiagStepPaged,
  "updated_at": "2007-12-03T10:15:30Z",
  "vci": RemoteDiagEndpoint,
  "vud": RemoteDiagEndpoint
}

RemoteDiagAction

Fields
Field Name Description
created_at - DateTime! Creation date
dtcs - RemoteDiagResultDtcPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

ecus - [ID!]
failure_reason - String
id - ID! Action id
pids - [ID!]
progress - Float
snapshots - RemoteDiagResultSnapshotPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

status - RemoteDiagActionStatus!
supported_parameters - RemoteDiagSupportedParameterPaged
Arguments
ids - [ID!]
names - [String!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

preferred - Boolean
type - RemoteDiagActionType
updated_at - DateTime! Update date
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "dtcs": RemoteDiagResultDtcPaged,
  "ecus": ["4"],
  "failure_reason": "abc123",
  "id": 4,
  "pids": [4],
  "progress": 987.65,
  "snapshots": RemoteDiagResultSnapshotPaged,
  "status": "ABORT",
  "supported_parameters": RemoteDiagSupportedParameterPaged,
  "type": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagActionPaged

Description

Paginated remote_diag_action results

Fields
Field Name Description
count - Int
list - [RemoteDiagAction!]!
next - ID
Example
{"count": 987, "list": [RemoteDiagAction], "next": 4}

RemoteDiagActionStatus

Values
Enum Value Description

ABORT

ERROR

Action failed

NO_ACTION

No action started

PENDING

Action requested

RUNNING

Action in progress

SUCCESS

Action processed successfully
Example
"ABORT"

RemoteDiagActionStatusArg

Values
Enum Value Description

ABORT

Example
"ABORT"

RemoteDiagActionType

Description

Action

Values
Enum Value Description

OTHER

Unrecognized action

CANCEL_LIVE_PARAMETERS

CLEAR_DTC

NO_ACTION

READ_ALL

READ_LIVE_PARAMETERS

READ_LIVE_PARAMETERS_SINGLESHOT

READ_SELECTIVE

REQUEST_SUPPORTED_PARAMETERS

REQUEST_VEHICLE_VIN

Example
"OTHER"

RemoteDiagActionTypeArg

Description

Action argument

Values
Enum Value Description

CANCEL_LIVE_PARAMETERS

CLEAR_DTC

NO_ACTION

READ_ALL

READ_LIVE_PARAMETERS

READ_LIVE_PARAMETERS_SINGLESHOT

READ_SELECTIVE

REQUEST_SUPPORTED_PARAMETERS

REQUEST_VEHICLE_VIN

Example
"CANCEL_LIVE_PARAMETERS"

RemoteDiagCurrentStep

Description

Step

Values
Enum Value Description

OTHER

Unrecognized step

CANCELING

Session closure in progress

CANCELLED

Session closed

ERROR

Session error

READY

Session ready, waiting for user request

RUNNING

Session processing user request

SETUP_ONGOING

Session setup in progress
Example
"OTHER"

RemoteDiagEndpoint

Description

Remote diagnostic endpoint

Fields
Field Name Description
country_specific_id - CountrySpecificId
device - Device Diagnostic device
failure_code - Int! Failure reason code, if any
failure_reason - RemoteDiagFailureReason! Failure reason, if any
vin - String Session VehicleIdentificationNumber
vin_from_vehicle - String VehicleIdentificationNumber reported by vehicle
Example
{
  "country_specific_id": CountrySpecificId,
  "device": Device,
  "failure_code": 987,
  "failure_reason": "OK",
  "vin": "xyz789",
  "vin_from_vehicle": "xyz789"
}

RemoteDiagFailureReason

Description

Failure reason

Values
Enum Value Description

OK

DEVICE_RESPONSE_TO_CLOUD_CONNECT_MESSAGE_TIMEOUT

INTERACTIVE_MODE_TRANSITION_REQUEST_FAILED

ERROR_IN_WORKFLOW_CREATION

USER_INVALID_TOKEN

USER_EXPIRED_TOKEN

USER_FORBIDDEN

RECORD_NOT_FOUND

USER_INVALID_PARAMETER_VALUE

ERROR_IN_WORKFLOW_PROCESS

REMOTE_DIAG_SESSION_ERROR

DEVICE_IS_DISCONNECTED

VEHICLE_MOVEMENT_RESPONSE_ERROR

VEHICLE_IS_MOVING

ERROR_SENDING_KEEP_ALIVE_REQUEST

ERROR_WHEN_RETRIEVING_VIN

ERROR_NO_VIN_FOUND

UNABLE_TO_RETRIEVE_VIN_FROM_VEHICLE

VIN_READ_FROM_VEHICLE_MISMATCH_WITH_ANNOUNCED_VIN

ERROR_IN_SESSION_INIT_NO_VIN_OR_CONFIG

NO_VCI_DEVICE_AVAILABLE

ERROR_RETRIEVING_DEVICE_SESSION_CONFIG

ERROR_RETRIEVING_SERVER_SESSION

A_SESSION_IS_ALREADY_RUNNING

INTERACTIVE_MODE_START_FAILED

DEVICE_CAN_FAILURE

CONFIG_MESSAGE_VERSION_ERROR

CONFIG_MESSAGE_INTERFACE_ERROR

MISSING_CONFIG_IN_START_MESSAGE

CONFIG_MESSAGE_PARSING_ERROR

CONFIG_MESSAGE_RAW_FILTERS_ERROR

START_MESSAGE_VERSION_ERROR

START_MESSAGE_PAYLOAD_ERROR

START_MESSAGE_TYPE_ERROR

START_MESSAGE_PARSING_ERROR

START_CANCELLED_PREMATURELY

VCI_AND_VEHICLE_DEVICES_MUST_BE_DIFFERENT

VCI_IS_NOT_READY_FOR_RUNNING_ACTIONS

DEVICE_GENERIC_ERROR

DEVICE_TCP_FAILURE

SESSION_EXPIRED_TOKEN

SESSION_DEAD

SESSION_OBD_INACTIVITY_TIMEOUT

ERROR_DEVICE_LOST_DURING_SESSION

ERROR_DEVICE_IS_DISCONNECTED_FROM_THE_SESSION

ERROR_DEVICE_UNPLUGGED

ERROR_VEHICLE_IS_MOVING

DEVICE_CAN_FAILURE_ERROR

GENERIC_DEVICE_ERROR

GENERIC_VVCI_ERROR

SESSION_TIMEOUT

DEVICE_NOT_CONNECTED_TO_BROKER

SERVER_ERROR

GENERIC_ERROR

OTHER

Unrecognized failure reason
Example
"OK"

RemoteDiagNotification

Fields
Field Name Description
device - Device Device
remote_diag - RemoteDiag!
Example
{
  "device": Device,
  "remote_diag": RemoteDiag
}

RemoteDiagPaged

Description

Paginated remote_diag results

Fields
Field Name Description
count - Int
list - [RemoteDiag!]!
next - ID
Example
{"count": 123, "list": [RemoteDiag], "next": 4}

RemoteDiagResult

Fields
Field Name Description
actions_count - Int
created_at - DateTime! Creation date
dtcs - RemoteDiagResultDtcPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

ecus - RemoteDiagResultEcuPaged
Arguments
ids - [ID!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

failure_reason - String
progress - Float
snapshots - RemoteDiagResultSnapshotPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

status - RemoteDiagActionStatus!
supported_parameters - RemoteDiagSupportedParameterPaged
Arguments
ids - [ID!]
names - [String!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

preferred - Boolean
updated_at - DateTime! Update date
Example
{
  "actions_count": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "dtcs": RemoteDiagResultDtcPaged,
  "ecus": RemoteDiagResultEcuPaged,
  "failure_reason": "abc123",
  "progress": 987.65,
  "snapshots": RemoteDiagResultSnapshotPaged,
  "status": "ABORT",
  "supported_parameters": RemoteDiagSupportedParameterPaged,
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagResultDtc

Fields
Field Name Description
cause - String Cause related to the dtc code.
classification - DtcClassification!
code - String!
code_description - String
code_subdescription - String
created_at - DateTime! Creation date
effect - String Effect may be caused by the dtc code.
group_name - String
id - ID!
mode - DtcMode!
protocol - DtcProtocol!
recommendation - String
source_name - String
status - RemoteDiagResultDtcStatus!
updated_at - DateTime! Update date
Example
{
  "cause": "xyz789",
  "classification": "ADVISORY",
  "code": "xyz789",
  "code_description": "abc123",
  "code_subdescription": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "effect": "xyz789",
  "group_name": "xyz789",
  "id": "4",
  "mode": "ABSENT",
  "protocol": "UNKNOWN",
  "recommendation": "xyz789",
  "source_name": "abc123",
  "status": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagResultDtcPaged

Description

Paginated remote_diag_result_dtc results

Fields
Field Name Description
count - Int
list - [RemoteDiagResultDtc!]!
next - ID
Example
{"count": 987, "list": [RemoteDiagResultDtc], "next": 4}

RemoteDiagResultDtcStatus

Description

dtc status

Values
Enum Value Description

OTHER

Unrecognized dtc status

CLEARED

HYPOTHETICALLY_CLEARED

NOT_CLEARED

Example
"OTHER"

RemoteDiagResultEcu

Fields
Field Name Description
created_at - DateTime! Creation date
dtcs - RemoteDiagResultDtcPaged
Arguments
ids - [ID!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

group_name - String
id - ID!
mil - Boolean
source_name - String
status_code - Int
status_description - String!
success - Boolean!
supported_parameters - RemoteDiagSupportedParameterPaged
Arguments
ids - [ID!]
names - [String!]
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

preferred - Boolean
updated_at - DateTime! Update date
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "dtcs": RemoteDiagResultDtcPaged,
  "group_name": "xyz789",
  "id": "4",
  "mil": true,
  "source_name": "abc123",
  "status_code": 987,
  "status_description": "abc123",
  "success": true,
  "supported_parameters": RemoteDiagSupportedParameterPaged,
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagResultEcuPaged

Description

Paginated remote_diag_result_ecu results

Fields
Field Name Description
count - Int
list - [RemoteDiagResultEcu!]!
next - ID
Example
{"count": 123, "list": [RemoteDiagResultEcu], "next": 4}

RemoteDiagResultSnapshot

Fields
Field Name Description
created_at - DateTime Creation date
id - ID!
name - String
timestamp - DateTime
unit - Unit Standardized unit
unit_name - String Raw unit
updated_at - DateTime Update date
value - String
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "name": "abc123",
  "timestamp": "2007-12-03T10:15:30Z",
  "unit": "OTHER",
  "unit_name": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "xyz789"
}

RemoteDiagResultSnapshotPaged

Description

Paginated remote_diag_result_snapshot results

Fields
Field Name Description
count - Int
list - [RemoteDiagResultSnapshot!]!
next - ID
Example
{
  "count": 987,
  "list": [RemoteDiagResultSnapshot],
  "next": 4
}

RemoteDiagStep

Fields
Field Name Description
created_at - DateTime! Creation date
description - String!
id - ID!
instance_id - ID
name - String!
status - RemoteDiagStepStatus!
updated_at - DateTime! Update date
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "description": "abc123",
  "id": 4,
  "instance_id": "4",
  "name": "xyz789",
  "status": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagStepPaged

Description

Paginated remote_diag_step results

Fields
Field Name Description
count - Int
list - [RemoteDiagStep!]!
next - ID
Example
{"count": 123, "list": [RemoteDiagStep], "next": 4}

RemoteDiagStepStatus

Description

Step status

Values
Enum Value Description

OTHER

Unrecognized step status

CREATED

FAILED

PENDING

SUCCESS

Example
"OTHER"

RemoteDiagSupportedParameter

Fields
Field Name Description
created_at - DateTime!
group_name - String
id - ID!
name - String!
preferred - Boolean!
readings - SupportedParameterReadingsPaged!
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

source_name - String
unit - Unit! Standardized unit
unit_name - String! Raw unit
updated_at - DateTime!
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "group_name": "xyz789",
  "id": "4",
  "name": "xyz789",
  "preferred": false,
  "readings": SupportedParameterReadingsPaged,
  "source_name": "xyz789",
  "unit": "OTHER",
  "unit_name": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z"
}

RemoteDiagSupportedParameterPaged

Description

Paginated remote_diag_supported_parameter results

Fields
Field Name Description
count - Int
list - [RemoteDiagSupportedParameter!]!
next - ID
Example
{
  "count": 987,
  "list": [RemoteDiagSupportedParameter],
  "next": 4
}

RoleInput

Fields
Input Field Description
role - RoleUpdateMeta! Meta role to apply
target_id - ID Apply account roles to this target only
target_type - RoleUpdateTarget Type for target_id. Default = GROUP
Example
{
  "role": "ADMIN",
  "target_id": "4",
  "target_type": "GROUP"
}

RoleUpdateMeta

Description

Meta role

Maps to a set of real account roles.

Values
Enum Value Description

ADMIN

MANAGER

SUPPORTER

Example
"ADMIN"

RoleUpdateTarget

Values
Enum Value Description

GROUP

Apply role to this group and its children
Example
"GROUP"

S_Config_Parameter

Values
Enum Value Description

UNKNOWN_SCONFIG_PARAMETER

_0

DATA_RATE

_1

LOOPBACK

_3

NODE_ADDRESS

_4

NETWORK_LINE

_5

P1_MIN

_6

P1_MAX

_7

P2_MIN

_8

P2_MAX

_9

P3_MIN

_10

P3_MAX

_11

P4_MIN

_12

P4_MAX

_13

W0

_25

W1

_14

W2

_15

W3

_16

W4

_17

W5

_18

TIDLE

_19

TINIL

_20

TWUP

_21

PARITY

_22

BIT_SAMPLE_POINT

_23

SYNC_JUMP_WIDTH

_24

T1_MAX

_26

T2_MAX

_27

T3_MAX

_36

T4_MAX

_28

T5_MAX

_29

ISO15765_BS

_30

ISO15765_STMIN

_31

BS_TX

_34

STMIN_TX

_35

DATTA_BITS

_32

FIVE_BAUD_MOD

_33

ISO15765_WFT_MAX

_37

CAN_MIXED_FORMAT

_32768

J1962_PINS

_32769

SW_CAN_HS_DATA_RATE

_32784

SW_CAN_SPEED_CHANGE_ENABLE

_32785

SW_CAN_RES_SWITCH

_32786

ACTIVE_CHANNELS

_32800

SAMPLE_RATE

_32801

SAMPLES_PER_READING

_32802

READINGS_PER_MSG

_32803

AVERAGING_METHOD

_32804

SAMPLE_RESOLUTION

_32805

INPUT_RANGE_LOW

_32806

INPUT_RANGE_HIGH

_32807

ISO15765_PAD_VALUE

_32864

DURATION_BETWEEN_WRITE

_65536

CLIENT_LOGICAL_ADDR

_65537

TLS

_65538

ROUTING_ACTIVATION_TYPE

_65539

ROUTING_OEM_PAYLOAD

_65540

SERVER_TARGET_ADDR

_65541

Example
"UNKNOWN_SCONFIG_PARAMETER"

Sconfig

Fields
Field Name Description
sconfig_parameter - S_Config_Parameter
value - String
Example
{
  "sconfig_parameter": "UNKNOWN_SCONFIG_PARAMETER",
  "value": "xyz789"
}

Sconfig_Input

Fields
Input Field Description
sconfig_parameter - S_Config_Parameter
value - String
Example
{
  "sconfig_parameter": "UNKNOWN_SCONFIG_PARAMETER",
  "value": "abc123"
}

Sconfig_List

Fields
Field Name Description
list - [Sconfig]
Example
{"list": [Sconfig]}

Sconfig_List_Input

Fields
Input Field Description
list - [Sconfig_Input]
Example
{"list": [Sconfig_Input]}

SortOrder

Values
Enum Value Description

A

Sort smaller/older values first

ASCENDING

Sort smaller/older values first

D

Sort bigger/newer values first

DESCENDING

Sort bigger/newer values first
Example
"A"

Stack_Input

Example
{
  "buses": [
    mutationInput_post_actions_input_data_attributes_stack_oneOf_0_buses_items_Input
  ],
  "ecus": [
    mutationInput_post_actions_input_data_attributes_stack_oneOf_0_ecus_items_Input
  ],
  "operations": [
    mutationInput_post_actions_input_data_attributes_stack_oneOf_0_operations_items_Input
  ],
  "commands": [
    mutationInput_post_actions_input_data_attributes_stack_oneOf_0_commands_items_Input
  ]
}

StateOfHealthLowVoltageLevel

Values
Enum Value Description

ALERT

A voltage lower than 9 volts had been observed in the last three 3 trips

INFORMATION

A voltage lower than 9 volts had been observed in one of the last 3 trips

NONE

No voltage lower than 9 volts had been observed in the last 3 trips

UNKNOWN

WARNING

A voltage lower than 9 volts had been observed in two of the last 3 trips
Example
"ALERT"

StateOfHealthUserClassification

Description

state of health user classification

Values
Enum Value Description

OTHER

Unrecognized state of health user classification

CRITICAL

INFORMATION

UNKNOWN

WARNING

Example
"OTHER"

Station

Description

Petrol or charging station

Fields
Field Name Description
address - AddressAttributes The address of the facility.
brand - String Station brand
distance - Int Distance (meters) between the position sent in the request and the facility.
id - ID Station ID
logo - String Station logo url
name - String Station name
opening_hours - [OpeningHoursAttributes] Table of The opening hours of the facility.
payment_info - PaymentInfo Payment information
provided_energy - [ProvidedEnergy] Extra information about the station, such as connector type in the electric station case.
status - StatusAttributes State of the facility (open or closed) at the time of the request.
Example
{
  "address": AddressAttributes,
  "brand": "xyz789",
  "distance": 987,
  "id": "4",
  "logo": "abc123",
  "name": "xyz789",
  "opening_hours": [OpeningHoursAttributes],
  "payment_info": PaymentInfo,
  "provided_energy": [ProvidedEnergy],
  "status": "CLOSED"
}

StationPaged

Description

Paginated station results

Fields
Field Name Description
count - Int
list - [Station!]!
next - ID
Example
{"count": 987, "list": [Station], "next": 4}

Status

Values
Enum Value Description

NOERROR

_0

NOT_SUPPORTED

_1

INVALID_CHANNEL_ID

_2

INVALID_PROTOCOL_ID

_3

NULLPARAMETER

_4

INVALID_IOCTL_VALUE

_5

INVALID_FLAGS

_6

FAILED

_7

DEVICE_NOT_CONNECTED

_8

TIMEOUT

_9

INVALID_MSG

_10

INVALID_TIME_INTERVAL

_11

EXCEEDED_LIMIT

_12

INVALID_MSG_ID

_13

INVALID_ERROR_ID

_14

INVALID_IOCTL_ID

_15

BUFFER_EMPTY

_16

BUFFER_FULL

_17

BUFFER_OVERFLOW

_18

PIN_INVALID

_19

CHANNEL_IN_USE

_20

MSG_PROTOCOL_ID

_21

INVALID_FILTER_ID

_22

NO_FLOW_CONTROL

_23

NOT_UNIQUE

_24

INVALID_BAUDRATE

_25

INVALID_DEVICE_ID

_26

ID_NOT_IN_USE

_124

INVALID_ID

_125

NO_ID_AVAILABLE

_126

DEVICE_IN_USE

_127

UNKNOWN_STATUS

_128

Example
"NOERROR"

StatusAttributes

Description

Whether a facility is currently open

Values
Enum Value Description

CLOSED

OPEN

Example
"CLOSED"

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"

StringObj

Fields
Field Name Description
value - String!
Example
{"value": "abc123"}

SupportedParameterReadingsBoolean

Fields
Field Name Description
count - Int
next - ID
relative_timestamps - [Float!]
timestamps - [DateTime!]
values - [Boolean!]
Example
{
  "count": 987,
  "next": 4,
  "relative_timestamps": [123.45],
  "timestamps": ["2007-12-03T10:15:30Z"],
  "values": [false]
}

SupportedParameterReadingsFloat

Fields
Field Name Description
count - Int
next - ID
relative_timestamps - [Float!]
timestamps - [DateTime!]
values - [Float!]
Example
{
  "count": 123,
  "next": 4,
  "relative_timestamps": [123.45],
  "timestamps": ["2007-12-03T10:15:30Z"],
  "values": [987.65]
}

SupportedParameterReadingsInteger

Fields
Field Name Description
count - Int
next - ID
relative_timestamps - [Float!]
timestamps - [DateTime!]
values - [Int!]
Example
{
  "count": 123,
  "next": "4",
  "relative_timestamps": [987.65],
  "timestamps": ["2007-12-03T10:15:30Z"],
  "values": [987]
}

SupportedParameterReadingsPaged

Fields
Field Name Description
count - Int
next - ID
relative_timestamps - [Float!]
timestamps - [DateTime!]
Example
{
  "count": 987,
  "next": "4",
  "relative_timestamps": [987.65],
  "timestamps": ["2007-12-03T10:15:30Z"]
}

SupportedParameterReadingsSort

Description

supported_parameter_readings sorting

Fields
Input Field Description
by - SupportedParameterReadingsSortKey!
order - SortOrder!
Example
{"by": "RELATIVE_TIMESTAMP", "order": "A"}

SupportedParameterReadingsSortKey

Description

supported_parameter_readings sorting key

Values
Enum Value Description

RELATIVE_TIMESTAMP

Example
"RELATIVE_TIMESTAMP"

SupportedParameterReadingsString

Fields
Field Name Description
count - Int
mixed - Boolean! True if original data was mixed-type and has been stringified
next - ID
relative_timestamps - [Float!]
timestamps - [DateTime!]
values - [String!]
Example
{
  "count": 123,
  "mixed": true,
  "next": 4,
  "relative_timestamps": [987.65],
  "timestamps": ["2007-12-03T10:15:30Z"],
  "values": ["xyz789"]
}

SystemInfo

Description

System info

Versioning follows X.Y.Z format with semver compatibility garantees:

  • X For backward-breaking changes
  • Y For new features
  • Z For bugfixes
Fields
Field Name Description
extra - Json Private
hash - String Version control hash
schema - String! Graphql schema version
services - [SystemService!] List of web service hosts
software - String! Software version
Example
{
  "extra": Json,
  "hash": "xyz789",
  "schema": "xyz789",
  "services": [SystemService],
  "software": "xyz789"
}

SystemService

Fields
Field Name Description
host - String
name - String!
Example
{
  "host": "abc123",
  "name": "xyz789"
}

Task

Fields
Field Name Description
version - String
last_task - Boolean If true: finish the current Action
loop - Boolean If true start a loop with this task (all the meta_j2534)
loop_timeout_s - String Loop timeout , the loop stop after this duration
loop_count_max - String Loop Max count, the loop stop if the count is reached
loop_expected_period_us - String Loop expected period in micro second
meta_j2534_list - [Meta_J_2534] Meta j2534 array
Example
{
  "version": "abc123",
  "last_task": false,
  "loop": true,
  "loop_timeout_s": "abc123",
  "loop_count_max": "xyz789",
  "loop_expected_period_us": "xyz789",
  "meta_j2534_list": [Meta_J_2534]
}

Task_Input

Fields
Input Field Description
version - String
last_task - Boolean If true: finish the current Action
loop - Boolean If true start a loop with this task (all the meta_j2534)
loop_timeout_s - String Loop timeout , the loop stop after this duration
loop_count_max - String Loop Max count, the loop stop if the count is reached
loop_expected_period_us - String Loop expected period in micro second
meta_j2534_list - [Meta_J_2534_Input] Meta j2534 array
Example
{
  "version": "abc123",
  "last_task": false,
  "loop": true,
  "loop_timeout_s": "xyz789",
  "loop_count_max": "abc123",
  "loop_expected_period_us": "abc123",
  "meta_j2534_list": [Meta_J_2534_Input]
}

Ticket

Description

Support ticket

Fields
Field Name Description
account - Account
created_at - DateTime
id - ID
source - TicketSource
title - String
Example
{
  "account": Account,
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "source": "ONBOARDING",
  "title": "abc123"
}

TicketPaged

Description

Paginated ticket results

Fields
Field Name Description
count - Int
list - [Ticket!]!
next - ID
Example
{
  "count": 123,
  "list": [Ticket],
  "next": "4"
}

TicketSource

Description

Support ticket source

Values
Enum Value Description

ONBOARDING

Example
"ONBOARDING"

ToggleAction

Description

Start or stop the component

Values
Enum Value Description

START

STOP

Example
"START"

TowingSession

Description

TowingSession Object

Fields
Field Name Description
closed_by - Account closed by account
created_by - Account created by account
end_at - DateTime End At
id - ID! Identifier
start_at - DateTime! Start At
towing_vehicle - Vehicle Towing vehicle
trailer_vehicle - Vehicle Trailer vehicle
Example
{
  "closed_by": Account,
  "created_by": Account,
  "end_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "start_at": "2007-12-03T10:15:30Z",
  "towing_vehicle": Vehicle,
  "trailer_vehicle": Vehicle
}

TowingSessionPaged

Description

Paginated towing_session results

Fields
Field Name Description
count - Int
list - [TowingSession!]!
next - ID
Example
{"count": 987, "list": [TowingSession], "next": 4}

TrackNotification

Description

Device sent a new track

Fields
Field Name Description
device - Device Device
fields - [Field!]! track fields
Example
{
  "device": Device,
  "fields": [Field]
}

TransportOptions

Example
TransportOptions

Trip

Description

Trip

Fields
Field Name Description
id - ID Trip id
activities - TripActivityPaged Activity events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

average_speed - Float Average speed while moving (km/h)
co_2_estimation - Int CO2 Estimation (grams)
distance - Int Total trip distance (meters)
distance_in_day - Percent Percentage of distance travelled during the day
driving_duration - Int Driving duration, vehicle not idle (seconds)
driving_percentage - Percent Driving percentage (0.0 .. 100.0)
duration - Int Total duration (seconds)
eco_driving_score - Percent Eco Driving Score (0 Poor .. 100 Perfect)
end_event - Idcoordinates End event coordinates
end_postal_address - AddressAttributes End postal address
end_weather - Weather End weather
fuel_efficiency - Float Fuel Efficiency / Economy (L/100Km)
fuel_estimation - Int Fuel consumption estimation (milliliters)
harshes - TripHarshPaged Harsh events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

idling_duration - Int Idling duration (seconds)
idling_percentage - Percent Idling percentage (0.0 .. 100.0)
locations - IdcoordinatesPaged Trip locations
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

raw - Boolean

Return mapmatched coordinates or raw coordinates

max_idling_duration - Int Maximum idling duration (seconds)
max_speed - Float Maximum speed (km/h)
metadata - TripMetadatumPaged Metadata
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

movements - TripMovementPaged Movement events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

nb_harsh_acceleration - Int Harsh acceleration events count
nb_harsh_braking - Int Harsh deceleration events count
nb_harsh_cornering - Int Harsh left/right turn events count
nb_overspeed - Int Overspeed count
overconsumption_gap - AnyPercent Fuel overconsumption compared to fuel reference consumption
overemission_gap - AnyPercent CO2 overemission comapred to CO2 reference emission
overspeed_distance - Int Overspeed distance (m)
overspeed_duration - Int Overspeed duration (s)
overspeed_score - Percent Overspeed score
overspeeds - TripOverspeedPaged Overspeed events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

safety_score - Percent Safety Score (0 Poor .. 100 Perfect)
start_event - Idcoordinates Start event coordinates
start_postal_address - AddressAttributes Start postal address
start_weather - Weather Start weather
status - TripStatus Whether the trip is already closed or ongoing
stops - TripStopPaged Stop events
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

tow_away - Boolean Is the vehicle being towed away
journey_harshes - journey_trip_harsh_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
Example
{
  "id": 4,
  "activities": TripActivityPaged,
  "average_speed": 123.45,
  "co_2_estimation": 987,
  "distance": 123,
  "distance_in_day": Percent,
  "driving_duration": 987,
  "driving_percentage": Percent,
  "duration": 987,
  "eco_driving_score": Percent,
  "end_event": Idcoordinates,
  "end_postal_address": AddressAttributes,
  "end_weather": Weather,
  "fuel_efficiency": 123.45,
  "fuel_estimation": 987,
  "harshes": TripHarshPaged,
  "idling_duration": 123,
  "idling_percentage": Percent,
  "locations": IdcoordinatesPaged,
  "max_idling_duration": 123,
  "max_speed": 987.65,
  "metadata": TripMetadatumPaged,
  "movements": TripMovementPaged,
  "nb_harsh_acceleration": 987,
  "nb_harsh_braking": 123,
  "nb_harsh_cornering": 123,
  "nb_overspeed": 987,
  "overconsumption_gap": AnyPercent,
  "overemission_gap": AnyPercent,
  "overspeed_distance": 987,
  "overspeed_duration": 987,
  "overspeed_score": Percent,
  "overspeeds": TripOverspeedPaged,
  "safety_score": Percent,
  "start_event": Idcoordinates,
  "start_postal_address": AddressAttributes,
  "start_weather": Weather,
  "status": "CLOSED",
  "stops": TripStopPaged,
  "tow_away": false,
  "journey_harshes": journey_trip_harsh_paginated
}

TripActivity

Description

Trip activity

Fields
Field Name Description
created_at - DateTime Activity creation datetime
duration - Int Activity duration (seconds)
end_event - Idcoordinates End event coordinates
id - ID Trip id
imei - ID Device id
start_event - Idcoordinates Start event coordinates
state - TripActivityState Activity type
updated_at - DateTime Activity update datetime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "duration": 123,
  "end_event": Idcoordinates,
  "id": 4,
  "imei": "4",
  "start_event": Idcoordinates,
  "state": "MOVEMENT",
  "updated_at": "2007-12-03T10:15:30Z"
}

TripActivityPaged

Description

Paginated trip_activity results

Fields
Field Name Description
count - Int
list - [TripActivity!]!
next - ID
Example
{
  "count": 123,
  "list": [TripActivity],
  "next": "4"
}

TripActivityState

Description

Activity type

Values
Enum Value Description

MOVEMENT

STOP

Example
"MOVEMENT"

TripHarsh

Fields
Field Name Description
created_at - DateTime Creation datetime
duration - Int Duration (seconds)
end_event - Coordinates End event coordinates
id - ID Event id
kind - TripHarshKind Event kind
mean_acceleration - Float Mean acceleration
peak_acceleration - Float Peak acceleration
start_event - Coordinates Start event coordinates
updated_at - DateTime Update datetime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "duration": 987,
  "end_event": Coordinates,
  "id": "4",
  "kind": "ACCELERATION",
  "mean_acceleration": 123.45,
  "peak_acceleration": 123.45,
  "start_event": Coordinates,
  "updated_at": "2007-12-03T10:15:30Z"
}

TripHarshKind

Values
Enum Value Description

ACCELERATION

BRAKING

LEFT_CORNERING

RIGHT_CORNERING

Example
"ACCELERATION"

TripHarshPaged

Description

Paginated trip_harsh results

Fields
Field Name Description
count - Int
list - [TripHarsh!]!
next - ID
Example
{"count": 987, "list": [TripHarsh], "next": 4}

TripMetadatum

Description

Trip metadatum

Fields
Field Name Description
created_at - DateTime Creation datetime
id - ID Metadatum id
key - String Key
trip_id - ID Trip id
updated_at - DateTime Update datetime
value - String Value
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "key": "abc123",
  "trip_id": "4",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": "xyz789"
}

TripMetadatumPaged

Description

Paginated trip_metadatum results

Fields
Field Name Description
count - Int
list - [TripMetadatum!]!
next - ID
Example
{
  "count": 123,
  "list": [TripMetadatum],
  "next": "4"
}

TripMovement

Description

Trip movement

Fields
Field Name Description
created_at - DateTime Activity creation datetime
duration - Int Activity duration (seconds)
end_event - Idcoordinates End event coordinates
id - ID Trip id
imei - ID Device id
start_event - Idcoordinates Start event coordinates
updated_at - DateTime Activity update datetime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "duration": 987,
  "end_event": Idcoordinates,
  "id": 4,
  "imei": "4",
  "start_event": Idcoordinates,
  "updated_at": "2007-12-03T10:15:30Z"
}

TripMovementPaged

Description

Paginated trip_movement results

Fields
Field Name Description
count - Int
list - [TripMovement!]!
next - ID
Example
{"count": 987, "list": [TripMovement], "next": 4}

TripNotification

Description

Device sent a new trip

Fields
Field Name Description
device - Device Device
trip - Trip!
Example
{"device": Device, "trip": Trip}

TripOverspeed

Fields
Field Name Description
created_at - DateTime Creation datetime
distance - Float Distance (m)
duration - Int Duration (seconds)
end_event - Coordinates End event coordinates
id - ID Event id
mean_overspeed - Float Mean speed over threshold
mean_speed - Float Mean speed
peak_overspeed - Float Peak speed over threshold
peak_speed - Float Peak speed
speed_threshold - Int Speed threshold
start_event - Coordinates Start event coordinates
updated_at - DateTime Update datetime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "distance": 123.45,
  "duration": 987,
  "end_event": Coordinates,
  "id": 4,
  "mean_overspeed": 987.65,
  "mean_speed": 123.45,
  "peak_overspeed": 123.45,
  "peak_speed": 123.45,
  "speed_threshold": 987,
  "start_event": Coordinates,
  "updated_at": "2007-12-03T10:15:30Z"
}

TripOverspeedPaged

Description

Paginated trip_overspeed results

Fields
Field Name Description
count - Int
list - [TripOverspeed!]!
next - ID
Example
{
  "count": 987,
  "list": [TripOverspeed],
  "next": "4"
}

TripPaged

Description

Paginated trip results

Fields
Field Name Description
count - Int
list - [Trip!]!
next - ID
Example
{
  "count": 123,
  "list": [Trip],
  "next": "4"
}

TripStatus

Description

Whether the trip is already closed or ongoing

Values
Enum Value Description

CLOSED

OPEN

PROVISIONALLY_CLOSED

Example
"CLOSED"

TripStop

Description

Trip stop

Fields
Field Name Description
created_at - DateTime Activity creation datetime
duration - Int Activity duration (seconds)
end_event - Idcoordinates End event coordinates
id - ID Trip id
imei - ID Device id
location - Coordinates Location
radius - Float Radius (meters)
start_event - Idcoordinates Start event coordinates
updated_at - DateTime Activity update datetime
Example
{
  "created_at": "2007-12-03T10:15:30Z",
  "duration": 123,
  "end_event": Idcoordinates,
  "id": "4",
  "imei": "4",
  "location": Coordinates,
  "radius": 123.45,
  "start_event": Idcoordinates,
  "updated_at": "2007-12-03T10:15:30Z"
}

TripStopPaged

Description

Paginated trip_stop results

Fields
Field Name Description
count - Int
list - [TripStop!]!
next - ID
Example
{
  "count": 987,
  "list": [TripStop],
  "next": "4"
}

TripSummary

Description

Aggregated trip statistics

Fields
Field Name Description
distance - Int Distance (m)
driving_duration - Int Driving duration (s)
eco_driving_score - Percent Eco driving score (0 Poor .. 100 Perfect)
fuel_efficiency - Float Fuel efficiency (l/100km)
idling_duration - Int Idling duration (s)
nb_overspeed - Int Overspeed count
overspeed_distance - Int Overspeed distance (m)
overspeed_duration - Int Overspeed duration (s)
overspeed_score - Percent Overspeed Score (0 Poor .. 100 Perfect)
safety_score - Percent Safety Score (0 Poor .. 100 Perfect)
Example
{
  "distance": 123,
  "driving_duration": 123,
  "eco_driving_score": Percent,
  "fuel_efficiency": 987.65,
  "idling_duration": 987,
  "nb_overspeed": 123,
  "overspeed_distance": 123,
  "overspeed_duration": 987,
  "overspeed_score": Percent,
  "safety_score": Percent
}

TyreType

Description

Tyre type

Values
Enum Value Description

ALL_SEASONS

OTHER

Unrecognized tyre type

SUMMER

WINTER

Example
"ALL_SEASONS"

TyreTypeArg

Description

Tyre type argument

Values
Enum Value Description

ALL_SEASONS

SUMMER

WINTER

Example
"ALL_SEASONS"

URL

Description

A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.

Example
"http://www.test.com/"

UUID

Description

A field whose value is a generic Universally Unique Identifier: https://en.wikipedia.org/wiki/Universally_unique_identifier.

Example
"8f413aac-34ba-46f0-b7d7-18001aca09b2"

Unit

Values
Enum Value Description

OTHER

Unknown unit (check unit_name)

NONE

Dimentionless value

PERCENT

Percentage

PER_MIN

Frequency

AMP

Electric intensity

GRAM_SECOND

Grams per second

KILOMETER

Distance

KM_H

Speed

KILOPASCAL

Pressure

LITTRE

Volume

LUX

Light intensity

MILLIAMP

Electric intensity

MILLIBAR

Pressure

MINUTE

Duration

OHM

Electric resistance

RPM

Revolutions per minute

SECOND

Duration

U_MIN

? per minute

VOLT

Electric potential

CELSIUS

Temperature
Example
"OTHER"

UnsignedInt

Description

Integers that will have a value of 0 or more.

Example
123

Upload

Description

Represents an uploaded file.

Example
Upload

Vehicle

Description

Vehicle Object

Fields
Field Name Description
id - ID! Identifier
alerts - VehicleAlertPaged
Arguments
battery_types - [VehicleAlertBatteryType!]

Filter battery alerts by type

dtc_classification - DtcClassification

Filter DTC alerts by classification

dtc_code - String

Filter DTC alerts by code

dtc_mode - DtcMode

Filter DTC alerts by mode

groups - [ID!]

Filter by groups

ids - [ID!]

Filter by ids

is_active - Boolean

Filter by activity

language - LangArg

Filter by language

maintenance_criticalities - [MaintenanceCriticalityArg!]

Filter maintenance alerts by criticality

maintenance_from_vehicle - Boolean

Filter maintenance alerts by source

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

sort - [VehicleAlertSort!]

Sort criteria

source - VehicleAlertSourceArg

Filter by source

status - VehicleAlertStatusArg

Filter by status

types - [VehicleAlertTypeArg!]

Filter by alert types

warning_light_code - String

Filter by warning light code

warning_light_level - AlertWarningLightLevelArg

Filter by warning light level

alerts_state - VehicleAlertsState
can_be_towed - Boolean can be used as trailer vehicle
can_tow - Boolean can be used as towing vehicle
current_device - Device Current Device
current_devices - DevicePaged Last trip
Arguments
ids - [ID]

Filter by ids

onboarded - Boolean

Onboarded

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

statuses - [DeviceStatus!]

device connection status

current_driver - Driver Current Driver
current_towing_session_as_towing_vehicle - TowingSession current towing session where this vehicle is the towing vehicle
current_towing_session_as_trailer_vehicle - TowingSession current towing session where this vehicle is the trailer vehicle
current_towing_vehicle - Vehicle current towing vehicle
current_trailer_vehicle - Vehicle current trailer vehicle
descriptions - DescriptionPaged AssetManager descriptions
Arguments
ids - [ID]

Filter by ids

labels - [String]

Description label

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

fuel_type - String Primary fuel type
fuel_type_secondary - String Secondary fuel type
groups - GroupPaged Groups
Arguments
ids - [ID]

Filter by ids

labels - [String]

Filter by labels

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

has_driver - Boolean Has a driver
hybrid - Boolean hybrid
kba - String KBA
ktype - String KType
label - String Label
last_trip - Trip Last trip
Arguments
closed - Boolean

Get closed trip

maintenance_schedules - MaintenanceSchedulePaged Maintenance schedules
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

system - String

Filter by system

template_ids - [ID]

Filter by template ids

type - MaintenanceScheduleRuleType

Filter by type

maintenance_templates - MaintenanceTemplatePaged Maintenance templates
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

system - String

Filter by system

maintenances_historical - MaintenanceHistoricalPaged Historical maintenances
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

system - String

Filter by system

template_ids - [ID]

Filter by template ids

maintenances_upcoming - MaintenanceUpcomingPaged Upcoming maintenances
Arguments
date_deadline_max - DateTime
date_deadline_min - DateTime
mileage_deadline_max - Int
mileage_deadline_min - Int
next_on_date - Boolean

If true, only return maintenances that are due at the earliest date

next_on_mileage - Boolean

If true, only return maintenances that are due at the lowest mileage

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

system - String
template_ids - [ID]
make - String Model make
model - String Model
model_id - ID Model ID
onboarded - Boolean onboarded
owner - Account Vehicle owner
plate - String Plate
tags - [String!] tags
towing_sessions_as_towing_vehicle - TowingSessionPaged List towing sessions where this vehicle is the towing vehicle
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

towing_sessions_as_trailer_vehicle - TowingSessionPaged List towing sessions where this vehicle is the trailer vehicle
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

trips - TripPaged Trips
Arguments
end_date - DateTime

Latest trip start

page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

start_date - DateTime

Earliest trip start

vehicle_type - VehicleTypeName vehicle type
vin - String VIN
vin_descriptions - DecodeVinResult VIN descriptions
year - String Model Year
authorized_drivers - vehicle_authorized_drivers_response

[beta]

Arguments
page_number - Int
page_size - Int
label - String
user_profile_id - String
user_contact_id - String
auxiliary_devices - vehicle_auxiliary_devices_response
Arguments
label - String
id_key - String
created_by_id - String
page_number - Int
page_size - Int
auxiliary_device - get_vehicle_auxiliary_device_response

[beta]

Arguments
aux_id - String!
refills - vehicles_refills_response

[alpha]

Arguments
page_number - Int
page_size - Int
start_time - DateTime
end_time - DateTime
Example
{
  "id": "4",
  "alerts": VehicleAlertPaged,
  "alerts_state": VehicleAlertsState,
  "can_be_towed": false,
  "can_tow": true,
  "current_device": Device,
  "current_devices": DevicePaged,
  "current_driver": Driver,
  "current_towing_session_as_towing_vehicle": TowingSession,
  "current_towing_session_as_trailer_vehicle": TowingSession,
  "current_towing_vehicle": Vehicle,
  "current_trailer_vehicle": Vehicle,
  "descriptions": DescriptionPaged,
  "fuel_type": "xyz789",
  "fuel_type_secondary": "xyz789",
  "groups": GroupPaged,
  "has_driver": true,
  "hybrid": true,
  "kba": "abc123",
  "ktype": "abc123",
  "label": "xyz789",
  "last_trip": Trip,
  "maintenance_schedules": MaintenanceSchedulePaged,
  "maintenance_templates": MaintenanceTemplatePaged,
  "maintenances_historical": MaintenanceHistoricalPaged,
  "maintenances_upcoming": MaintenanceUpcomingPaged,
  "make": "xyz789",
  "model": "abc123",
  "model_id": 4,
  "onboarded": true,
  "owner": Account,
  "plate": "abc123",
  "tags": ["abc123"],
  "towing_sessions_as_towing_vehicle": TowingSessionPaged,
  "towing_sessions_as_trailer_vehicle": TowingSessionPaged,
  "trips": TripPaged,
  "vehicle_type": "CAR",
  "vin": "xyz789",
  "vin_descriptions": DecodeVinResult,
  "year": "abc123",
  "authorized_drivers": vehicle_driver_paginated,
  "auxiliary_devices": auxiliary_device_paginated,
  "auxiliary_device": auxiliary_device_show,
  "refills": refill_paged
}

VehicleAlert

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "icon": "xyz789",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertAggregateDateArg

Values
Enum Value Description

CREATED_AT

LAST_RECEIVED

LAST_REPORTED

UPDATED_AT

Example
"CREATED_AT"

VehicleAlertBadInstallation

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBadInstallationPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
sporadic_unplug - Boolean Device gets unpluged sporadically
status - VehicleAlertStatus!
timestamp - DateTime
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBadInstallationPaged,
  "icon": "xyz789",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "sporadic_unplug": false,
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertBatteryDischarge

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBatteryDischargePaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - BatteryDischargeLevel
source - VehicleAlertSource!
status - VehicleAlertStatus!
timestamp - DateTime!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBatteryDischargePaged,
  "icon": "abc123",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "CRITICAL_DISCHARGE",
  "source": "OTHER",
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertBatteryExcessiveCrankValley

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBatteryExcessiveCrankValleyPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
number_of_valleys - Int!
source - VehicleAlertSource!
status - VehicleAlertStatus!
timestamp - DateTime!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBatteryExcessiveCrankValleyPaged,
  "icon": "abc123",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "number_of_valleys": 123,
  "source": "OTHER",
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertBatteryStateOfCharge

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBatteryStateOfChargePaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - BatteryChargeLevel State of Charge (enum)
ocv - Float Open-Circuit Voltage (millivolt)
source - VehicleAlertSource!
status - VehicleAlertStatus!
timestamp - DateTime!
type - VehicleAlertType!
updated_at - DateTime!
value - Percent State of Charge (percentage)
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBatteryStateOfChargePaged,
  "icon": "xyz789",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "CHARGED",
  "ocv": 987.65,
  "source": "OTHER",
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": Percent,
  "vehicle": Vehicle
}

VehicleAlertBatteryStateOfHealthLowVoltage

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
duration_in_milliseconds - Int!
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

first_occurrence_timestamp_start - DateTime
history - VehicleAlertHistoryBatteryStateOfHealthLowVoltagePaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_occurrence_timestamp_end - DateTime
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - StateOfHealthLowVoltageLevel
lowest_value - Float!
mean_value - Float
occurred - Boolean!
source - VehicleAlertSource!
status - VehicleAlertStatus!
timestamp - DateTime!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "duration_in_milliseconds": 987,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "first_occurrence_timestamp_start": "2007-12-03T10:15:30Z",
  "history": VehicleAlertHistoryBatteryStateOfHealthLowVoltagePaged,
  "icon": "abc123",
  "id": "4",
  "language": "OTHER",
  "last_occurrence_timestamp_end": "2007-12-03T10:15:30Z",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "ALERT",
  "lowest_value": 123.45,
  "mean_value": 123.45,
  "occurred": true,
  "source": "OTHER",
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertBatteryStateOfHealthUser

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

calculated_date - DateTime
classification - StateOfHealthUserClassification
created_at - DateTime!
description - String
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBatteryStateOfHealthUserPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
recommendation - String
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "calculated_date": "2007-12-03T10:15:30Z",
  "classification": "OTHER",
  "created_at": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBatteryStateOfHealthUserPaged,
  "icon": "abc123",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "recommendation": "abc123",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertBatteryType

Description

Battery type

Values
Enum Value Description

DISCHARGE

EXCESSIVE_CRANK_VALLEYS

STATE_OF_CHARGE

STATE_OF_HEALTH_LOW_VOLTAGE

STATE_OF_HEALTH_USER

VOLTAGE_HIGH_LEVEL_GAP

Example
"DISCHARGE"

VehicleAlertBatteryVoltageHighLevelGap

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
duration_between_plateaus - Int Duration between plateaus (ms)
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryBatteryVoltageHighLevelGapPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
status - VehicleAlertStatus!
timestamp - DateTime!
timestamp_end_first_plateau - DateTime
timestamp_end_second_plateau - DateTime
timestamp_start_first_plateau - DateTime
timestamp_start_second_plateau - DateTime
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
voltage_difference - Float
voltage_first_plateau - Float
voltage_second_plateau - Float
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "duration_between_plateaus": 123,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryBatteryVoltageHighLevelGapPaged,
  "icon": "abc123",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "status": "CLOSED",
  "timestamp": "2007-12-03T10:15:30Z",
  "timestamp_end_first_plateau": "2007-12-03T10:15:30Z",
  "timestamp_end_second_plateau": "2007-12-03T10:15:30Z",
  "timestamp_start_first_plateau": "2007-12-03T10:15:30Z",
  "timestamp_start_second_plateau": "2007-12-03T10:15:30Z",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle,
  "voltage_difference": 123.45,
  "voltage_first_plateau": 123.45,
  "voltage_second_plateau": 123.45
}

VehicleAlertCrash

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

confidence - Percent!
coordinates - Coordinates!
created_at - DateTime!
device - Device Null if no permission
end_time - DateTime!
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryCrashPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
severity - Percent!
severity_classification - VehicleAlertCrashSeverity!
source - VehicleAlertSource!
start_time - DateTime!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "confidence": Percent,
  "coordinates": Coordinates,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "end_time": "2007-12-03T10:15:30Z",
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryCrashPaged,
  "icon": "abc123",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "severity": Percent,
  "severity_classification": "OTHER",
  "source": "OTHER",
  "start_time": "2007-12-03T10:15:30Z",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertCrashSeverity

Values
Enum Value Description

OTHER

FATALITIES

Crash with fatalities

INJURIES

Crash with injuries

PROPERTY_DAMAGE

Property damage only

UNKNOWN

Unknown severity class
Example
"OTHER"

VehicleAlertDifferentVin

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

alternative_vin - String!
created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryDifferentVinPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
onboarding_vin - String!
recorded_at - DateTime!
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "alternative_vin": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryDifferentVinPaged,
  "icon": "xyz789",
  "id": "4",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "onboarding_vin": "abc123",
  "recorded_at": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertDtc

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
dtc - VehicleAlertDtcDtc
dtc_status - VehicleAlertDtcStatus
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

freeze_frames - DtcFreezeFrames
history - VehicleAlertHistoryDtcPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "dtc": VehicleAlertDtcDtc,
  "dtc_status": VehicleAlertDtcStatus,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "freeze_frames": DtcFreezeFrames,
  "history": VehicleAlertHistoryDtcPaged,
  "icon": "xyz789",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertDtcDtc

Fields
Field Name Description
cause - String
classification - DtcClassification
code - String
code_description - String
code_subdescription - String
effect - String
protocol - DtcProtocol
recommendation - String
sensor - String
sensor_description - String
source - DtcSource
source_description - String
source_id - String
source_name - String
warning - String
Example
{
  "cause": "xyz789",
  "classification": "ADVISORY",
  "code": "xyz789",
  "code_description": "xyz789",
  "code_subdescription": "xyz789",
  "effect": "xyz789",
  "protocol": "UNKNOWN",
  "recommendation": "xyz789",
  "sensor": "abc123",
  "sensor_description": "abc123",
  "source": "OTHER",
  "source_description": "xyz789",
  "source_id": "abc123",
  "source_name": "abc123",
  "warning": "xyz789"
}

VehicleAlertDtcStatus

Fields
Field Name Description
fmi - ID
fmi_description - String
is_active - Boolean
mode - DtcMode
mode_description - String
Example
{
  "fmi": 4,
  "fmi_description": "xyz789",
  "is_active": false,
  "mode": "ABSENT",
  "mode_description": "abc123"
}

VehicleAlertFeedback

Fields
Field Name Description
alert - VehicleAlert
created_at - DateTime!
description - String
id - ID!
language - Lang
status - VehicleAlertFeedbackStatus!
updated_at - DateTime!
Example
{
  "alert": VehicleAlert,
  "created_at": "2007-12-03T10:15:30Z",
  "description": "abc123",
  "id": "4",
  "language": "OTHER",
  "status": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertFeedbackPaged

Description

Paginated vehicle_alert_feedback results

Fields
Field Name Description
count - Int
list - [VehicleAlertFeedback!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertFeedback],
  "next": "4"
}

VehicleAlertFeedbackStatus

Description

vehicle alert feedback status

Values
Enum Value Description

OTHER

Unrecognized vehicle alert feedback status

CONFIRMED

INVALIDATED

NO

Example
"OTHER"

VehicleAlertFeedbackStatusArg

Description

vehicle alert feedback status argument

Values
Enum Value Description

CONFIRMED

INVALIDATED

NO

Example
"CONFIRMED"

VehicleAlertGeofencing

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

coordinates - Coordinates Use StartCoordinates
created_at - DateTime!
description - String
device - Device Null if no permission
end_coordinates - Coordinates
end_time - DateTime
event - GeofencingEvent
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

geofence_id - ID
history - VehicleAlertHistoryGeofencingPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
label - String
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
start_coordinates - Coordinates
start_time - DateTime
state - GeofencingState
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "coordinates": Coordinates,
  "created_at": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "device": Device,
  "end_coordinates": Coordinates,
  "end_time": "2007-12-03T10:15:30Z",
  "event": "OTHER",
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "geofence_id": "4",
  "history": VehicleAlertHistoryGeofencingPaged,
  "icon": "abc123",
  "id": "4",
  "label": "abc123",
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "start_coordinates": Coordinates,
  "start_time": "2007-12-03T10:15:30Z",
  "state": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertHistoryBadInstallation

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
sporadic_unplug - Boolean Device gets unpluged sporadically
timestamp - DateTime
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 123,
  "sporadic_unplug": false,
  "timestamp": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryBadInstallationPaged

Description

Paginated vehicle_alert_history_bad_installation results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBadInstallation!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryBadInstallation],
  "next": "4"
}

VehicleAlertHistoryBatteryDischarge

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - BatteryDischargeLevel
occurence - Int!
timestamp - DateTime!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "CRITICAL_DISCHARGE",
  "occurence": 123,
  "timestamp": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryBatteryDischargePaged

Description

Paginated vehicle_alert_history_battery_discharge results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryDischarge!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryBatteryDischarge],
  "next": "4"
}

VehicleAlertHistoryBatteryExcessiveCrankValley

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
number_of_valleys - Int!
occurence - Int!
timestamp - DateTime!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "number_of_valleys": 123,
  "occurence": 123,
  "timestamp": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryBatteryExcessiveCrankValleyPaged

Description

Paginated vehicle_alert_history_battery_excessive_crank_valley results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryExcessiveCrankValley!]!
next - ID
Example
{
  "count": 987,
  "list": [
    VehicleAlertHistoryBatteryExcessiveCrankValley
  ],
  "next": 4
}

VehicleAlertHistoryBatteryStateOfCharge

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - BatteryChargeLevel State of Charge (enum)
occurence - Int!
ocv - Float Open-Circuit Voltage (millivolt)
timestamp - DateTime!
updated_at - DateTime!
value - Percent State of Charge (percentage)
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "CHARGED",
  "occurence": 987,
  "ocv": 987.65,
  "timestamp": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "value": Percent
}

VehicleAlertHistoryBatteryStateOfChargePaged

Description

Paginated vehicle_alert_history_battery_state_of_charge results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryStateOfCharge!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertHistoryBatteryStateOfCharge],
  "next": 4
}

VehicleAlertHistoryBatteryStateOfHealthLowVoltage

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
duration_in_milliseconds - Int!
first_occurrence_timestamp_start - DateTime
id - ID
last_occurrence_timestamp_end - DateTime
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - StateOfHealthLowVoltageLevel
lowest_value - Float!
mean_value - Float
occurence - Int!
occurred - Boolean!
timestamp - DateTime!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "duration_in_milliseconds": 123,
  "first_occurrence_timestamp_start": "2007-12-03T10:15:30Z",
  "id": "4",
  "last_occurrence_timestamp_end": "2007-12-03T10:15:30Z",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "ALERT",
  "lowest_value": 123.45,
  "mean_value": 987.65,
  "occurence": 987,
  "occurred": true,
  "timestamp": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryBatteryStateOfHealthLowVoltagePaged

Description

Paginated vehicle_alert_history_battery_state_of_health_low_voltage results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryStateOfHealthLowVoltage!]!
next - ID
Example
{
  "count": 123,
  "list": [
    VehicleAlertHistoryBatteryStateOfHealthLowVoltage
  ],
  "next": "4"
}

VehicleAlertHistoryBatteryStateOfHealthUser

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

calculated_date - DateTime
classification - StateOfHealthUserClassification
created_at - DateTime!
description - String
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
recommendation - String
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "calculated_date": "2007-12-03T10:15:30Z",
  "classification": "OTHER",
  "created_at": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 123,
  "recommendation": "abc123",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryBatteryStateOfHealthUserPaged

Description

Paginated vehicle_alert_history_battery_state_of_health_user results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryStateOfHealthUser!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryBatteryStateOfHealthUser],
  "next": "4"
}

VehicleAlertHistoryBatteryVoltageHighLevelGap

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
duration_between_plateaus - Int Duration between plateaus (ms)
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
timestamp - DateTime!
timestamp_end_first_plateau - DateTime
timestamp_end_second_plateau - DateTime
timestamp_start_first_plateau - DateTime
timestamp_start_second_plateau - DateTime
updated_at - DateTime!
voltage_difference - Float
voltage_first_plateau - Float
voltage_second_plateau - Float
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "duration_between_plateaus": 123,
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 987,
  "timestamp": "2007-12-03T10:15:30Z",
  "timestamp_end_first_plateau": "2007-12-03T10:15:30Z",
  "timestamp_end_second_plateau": "2007-12-03T10:15:30Z",
  "timestamp_start_first_plateau": "2007-12-03T10:15:30Z",
  "timestamp_start_second_plateau": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "voltage_difference": 123.45,
  "voltage_first_plateau": 123.45,
  "voltage_second_plateau": 123.45
}

VehicleAlertHistoryBatteryVoltageHighLevelGapPaged

Description

Paginated vehicle_alert_history_battery_voltage_high_level_gap results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryBatteryVoltageHighLevelGap!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertHistoryBatteryVoltageHighLevelGap],
  "next": 4
}

VehicleAlertHistoryCrash

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

confidence - Percent!
coordinates - Coordinates!
created_at - DateTime!
end_time - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
severity - Percent!
severity_classification - VehicleAlertCrashSeverity!
start_time - DateTime!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "confidence": Percent,
  "coordinates": Coordinates,
  "created_at": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z",
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 987,
  "severity": Percent,
  "severity_classification": "OTHER",
  "start_time": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryCrashPaged

Description

Paginated vehicle_alert_history_crash results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryCrash!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertHistoryCrash],
  "next": 4
}

VehicleAlertHistoryDifferentVin

Description

VIN differs between onboarding and other sources

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

alternative_vin - String!
created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
onboarding_vin - String!
recorded_at - DateTime!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "alternative_vin": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 123,
  "onboarding_vin": "abc123",
  "recorded_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryDifferentVinPaged

Description

Paginated vehicle_alert_history_different_vin results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryDifferentVin!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryDifferentVin],
  "next": 4
}

VehicleAlertHistoryDtc

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
dtc - VehicleAlertDtcDtc
dtc_status - VehicleAlertDtcStatus
freeze_frames - DtcFreezeFrames
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "dtc": VehicleAlertDtcDtc,
  "dtc_status": VehicleAlertDtcStatus,
  "freeze_frames": DtcFreezeFrames,
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 123,
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryDtcPaged

Description

Paginated vehicle_alert_history_dtc results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryDtc!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryDtc],
  "next": 4
}

VehicleAlertHistoryGeofencing

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

coordinates - Coordinates Use StartCoordinates
created_at - DateTime!
description - String
end_coordinates - Coordinates
end_time - DateTime
event - GeofencingEvent
geofence_id - ID
id - ID
label - String
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
start_coordinates - Coordinates
start_time - DateTime
state - GeofencingState
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "coordinates": Coordinates,
  "created_at": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "end_coordinates": Coordinates,
  "end_time": "2007-12-03T10:15:30Z",
  "event": "OTHER",
  "geofence_id": 4,
  "id": 4,
  "label": "abc123",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 987,
  "start_coordinates": Coordinates,
  "start_time": "2007-12-03T10:15:30Z",
  "state": "OTHER",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryGeofencingPaged

Description

Paginated vehicle_alert_history_geofencing results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryGeofencing!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryGeofencing],
  "next": 4
}

VehicleAlertHistoryPlugUnplug

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
plug - VehicleAlertPlug
unplug - VehicleAlertUnplug
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 987,
  "plug": VehicleAlertPlug,
  "unplug": VehicleAlertUnplug,
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryPlugUnplugPaged

Description

Paginated vehicle_alert_history_plug_unplug results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryPlugUnplug!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryPlugUnplug],
  "next": 4
}

VehicleAlertHistoryUnknown

Description

Fallback for unexpected alert types

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

content - Json
created_at - DateTime!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
occurence - Int!
type_str - String
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "content": Json,
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "occurence": 123,
  "type_str": "abc123",
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryUnknownPaged

Description

Paginated vehicle_alert_history_unknown results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryUnknown!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertHistoryUnknown],
  "next": "4"
}

VehicleAlertHistoryUpcomingMaintenance

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

created_at - DateTime!
criticality - MaintenanceCriticality!
date_deadline - DateTime!
description - String!
distance_to_next - Int!
from_vehicle - Boolean!
id - ID
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
mileage_deadline - Int! Mileage deadline (km)
occurence - Int!
system - MaintenanceSystem!
time_to_next - Int!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "criticality": "OTHER",
  "date_deadline": "2007-12-03T10:15:30Z",
  "description": "abc123",
  "distance_to_next": 987,
  "from_vehicle": false,
  "id": "4",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "mileage_deadline": 987,
  "occurence": 123,
  "system": MaintenanceSystem,
  "time_to_next": 123,
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryUpcomingMaintenancePaged

Description

Paginated vehicle_alert_history_upcoming_maintenance results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryUpcomingMaintenance!]!
next - ID
Example
{
  "count": 987,
  "list": [VehicleAlertHistoryUpcomingMaintenance],
  "next": "4"
}

VehicleAlertHistoryWarningLight

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default CREATED_AT)

code - String
created_at - DateTime!
description - String
extra_information - String
id - ID
is_active - Boolean
last_received - DateTime!
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - AlertWarningLightLevel
name - String
occurence - Int!
updated_at - DateTime!
Example
{
  "aggregated_data": AggregatedData,
  "code": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "extra_information": "abc123",
  "id": "4",
  "is_active": false,
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "OTHER",
  "name": "xyz789",
  "occurence": 123,
  "updated_at": "2007-12-03T10:15:30Z"
}

VehicleAlertHistoryWarningLightPaged

Description

Paginated vehicle_alert_history_warning_light results

Fields
Field Name Description
count - Int
list - [VehicleAlertHistoryWarningLight!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlertHistoryWarningLight],
  "next": 4
}

VehicleAlertNotification

Fields
Field Name Description
alerts - [VehicleAlert!]
vehicle - Vehicle Vehicle
Example
{
  "alerts": [VehicleAlert],
  "vehicle": Vehicle
}

VehicleAlertPaged

Description

Paginated vehicle_alert results

Fields
Field Name Description
count - Int
list - [VehicleAlert!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleAlert],
  "next": "4"
}

VehicleAlertPlug

Fields
Field Name Description
coordinates - Coordinates
mileage - Int
potential - Float
Example
{
  "coordinates": Coordinates,
  "mileage": 987,
  "potential": 123.45
}

VehicleAlertPlugUnplug

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryPlugUnplugPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
plug - VehicleAlertPlug
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
unplug - VehicleAlertUnplug
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryPlugUnplugPaged,
  "icon": "abc123",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "plug": VehicleAlertPlug,
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "unplug": VehicleAlertUnplug,
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertSort

Description

vehicle_alert sorting

Fields
Input Field Description
by - VehicleAlertSortKey!
order - SortOrder!
Example
{"by": "CREATED_AT", "order": "A"}

VehicleAlertSortKey

Description

vehicle_alert sorting key

Values
Enum Value Description

CREATED_AT

ID

LAST_RECEIVED

UPDATED_AT

Example
"CREATED_AT"

VehicleAlertSource

Description

Alert source

Values
Enum Value Description

OTHER

Unrecognized alert source

DEVICE

Alerts created by the device

USER

Alerts created by the user
Example
"OTHER"

VehicleAlertSourceArg

Values
Enum Value Description

DEVICE

Alerts created by the device

USER

Alerts created by the user
Example
"DEVICE"

VehicleAlertStatus

Description

Alert status

Values
Enum Value Description

CLOSED

INFORMATION

ONGOING

OTHER

Unrecognized alert status
Example
"CLOSED"

VehicleAlertStatusArg

Values
Enum Value Description

CLOSED

INFORMATION

ONGOING

Example
"CLOSED"

VehicleAlertType

Description

Alert type

Values
Enum Value Description

BAD_INSTALLATION

BATTERY_MONITORING

CRASH

DIFFERENT_VIN

DTC

GEOFENCING

OTHER

Unrecognized alert type

PLUG_UNPLUG

UPCOMING_MAINTENANCE

WARNING_LIGHT

Example
"BAD_INSTALLATION"

VehicleAlertTypeArg

Description

Alert type argument

Values
Enum Value Description

BAD_INSTALLATION

BATTERY_MONITORING

CRASH

DIFFERENT_VIN

DTC

GEOFENCING

PLUG_UNPLUG

UPCOMING_MAINTENANCE

WARNING_LIGHT

Example
"BAD_INSTALLATION"

VehicleAlertUnknown

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

content - Json
created_at - DateTime!
device - Device Null if no permission
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryUnknownPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
type_str - String
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "content": Json,
  "created_at": "2007-12-03T10:15:30Z",
  "device": Device,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryUnknownPaged,
  "icon": "xyz789",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "type_str": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertUnplug

Fields
Field Name Description
coordinates - Coordinates
duration - Int
mileage - Int
potential - Float
Example
{
  "coordinates": Coordinates,
  "duration": 123,
  "mileage": 123,
  "potential": 987.65
}

VehicleAlertUpcomingMaintenance

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

created_at - DateTime!
criticality - MaintenanceCriticality!
date_deadline - DateTime!
description - String!
device - Device Null if no permission
distance_to_next - Int!
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

from_vehicle - Boolean!
history - VehicleAlertHistoryUpcomingMaintenancePaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
mileage_deadline - Int! Mileage deadline (km)
source - VehicleAlertSource!
status - VehicleAlertStatus!
system - MaintenanceSystem!
time_to_next - Int!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "created_at": "2007-12-03T10:15:30Z",
  "criticality": "OTHER",
  "date_deadline": "2007-12-03T10:15:30Z",
  "description": "xyz789",
  "device": Device,
  "distance_to_next": 987,
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "from_vehicle": true,
  "history": VehicleAlertHistoryUpcomingMaintenancePaged,
  "icon": "xyz789",
  "id": 4,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "mileage_deadline": 987,
  "source": "OTHER",
  "status": "CLOSED",
  "system": MaintenanceSystem,
  "time_to_next": 987,
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertWarningLight

Fields
Field Name Description
aggregated_data - AggregatedData
Arguments
date_source - VehicleAlertAggregateDateArg

Alert date used to resolve aggregated data (default LAST_RECEIVED)

code - String
created_at - DateTime!
description - String
device - Device Null if no permission
extra_information - String
feedback_status - VehicleAlertFeedbackStatus!
feedbacks - VehicleAlertFeedbackPaged Feedbacks for this alert
Arguments
language - LangArg
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

history - VehicleAlertHistoryWarningLightPaged
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

icon - String!
id - ID Alert id (null in subscriptions)
is_active - Boolean
language - Lang
last_received - DateTime! Last time the alert was received
last_reported - DateTime Last time the alert was notified (null if not yet notified or not configured for notification)
level - AlertWarningLightLevel
name - String
source - VehicleAlertSource!
status - VehicleAlertStatus!
type - VehicleAlertType!
updated_at - DateTime!
vehicle - Vehicle Null if no permission or no active device_vehicle_session
Example
{
  "aggregated_data": AggregatedData,
  "code": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "description": "abc123",
  "device": Device,
  "extra_information": "abc123",
  "feedback_status": "OTHER",
  "feedbacks": VehicleAlertFeedbackPaged,
  "history": VehicleAlertHistoryWarningLightPaged,
  "icon": "xyz789",
  "id": "4",
  "is_active": true,
  "language": "OTHER",
  "last_received": "2007-12-03T10:15:30Z",
  "last_reported": "2007-12-03T10:15:30Z",
  "level": "OTHER",
  "name": "xyz789",
  "source": "OTHER",
  "status": "CLOSED",
  "type": "BAD_INSTALLATION",
  "updated_at": "2007-12-03T10:15:30Z",
  "vehicle": Vehicle
}

VehicleAlertsState

Fields
Field Name Description
active_critical_dtc_alerts - Int!
active_dtc_alerts - Int!
active_information_dtc_alerts - Int!
active_warning_dtc_alerts - Int!
active_warning_lights_alerts - Int!
bad_installation_alerts - Int!
battery_alerts - Int!
contact_workshop - Boolean! True if MIL is true and/or a CRITICAL or a WARNING DTC is currently active
crash_alerts - Int!
intermittent_dtc_alerts - Int!
is_plugged - Boolean Whether device is currently plugged in (null: no plug/unplug alert was received yet)
last_battery_discharge_alert - DateTime
last_battery_state_of_charge_alert - DateTime
last_crash_alert - DateTime
last_excessive_crank_valleys_alert - DateTime
last_plug_unplug_alert - DateTime
last_voltage_high_level_gap_alert - DateTime
mil - Boolean True when MIL warning W0031 and/or W0006 is currently active
open_circuit_voltage - Float Most recent received ocv value
plug_unplug_alerts - Int!
severity_index - Float! Device severity index
state_of_health_low_voltage_level - StateOfHealthLowVoltageLevel Most recent received state of health low voltage battery alert level
total_alerts - Int!
upcoming_maintenance_date - DateTime Closest upcoming maintenance date (null: device never received upcoming maintenance alert)
upcoming_maintenance_mileage - Int Closest upcoming maintenance mileage (null: device never received upcoming maintenance alert)
upcoming_maintenances - Int!
Example
{
  "active_critical_dtc_alerts": 987,
  "active_dtc_alerts": 987,
  "active_information_dtc_alerts": 987,
  "active_warning_dtc_alerts": 123,
  "active_warning_lights_alerts": 123,
  "bad_installation_alerts": 123,
  "battery_alerts": 987,
  "contact_workshop": true,
  "crash_alerts": 987,
  "intermittent_dtc_alerts": 987,
  "is_plugged": true,
  "last_battery_discharge_alert": "2007-12-03T10:15:30Z",
  "last_battery_state_of_charge_alert": "2007-12-03T10:15:30Z",
  "last_crash_alert": "2007-12-03T10:15:30Z",
  "last_excessive_crank_valleys_alert": "2007-12-03T10:15:30Z",
  "last_plug_unplug_alert": "2007-12-03T10:15:30Z",
  "last_voltage_high_level_gap_alert": "2007-12-03T10:15:30Z",
  "mil": false,
  "open_circuit_voltage": 123.45,
  "plug_unplug_alerts": 987,
  "severity_index": 123.45,
  "state_of_health_low_voltage_level": "ALERT",
  "total_alerts": 987,
  "upcoming_maintenance_date": "2007-12-03T10:15:30Z",
  "upcoming_maintenance_mileage": 123,
  "upcoming_maintenances": 987
}

VehicleInfo

Description

vehicule info submodel

Fields
Field Name Description
make - String Vehicle make
model - String Vehicle model
Example
{
  "make": "abc123",
  "model": "abc123"
}

VehicleNotification

Description

Vehicle notification

Fields
Field Name Description
vehicle - Vehicle Vehicle
Possible Types
VehicleNotification Types

VehicleAlertNotification

Example
{"vehicle": Vehicle}

VehiclePaged

Description

Paginated vehicle results

Fields
Field Name Description
count - Int
list - [Vehicle!]!
next - ID
Example
{
  "count": 123,
  "list": [Vehicle],
  "next": "4"
}

VehicleService

Description

Workshop vehicle service

Fields
Field Name Description
id - ID Vehicle type ID
description - String Description
label - String Label
workshops - WorkshopPaged Workshops
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

Example
{
  "id": 4,
  "description": "xyz789",
  "label": "xyz789",
  "workshops": WorkshopPaged
}

VehicleServicePaged

Description

Paginated vehicle_service results

Fields
Field Name Description
count - Int
list - [VehicleService!]!
next - ID
Example
{
  "count": 123,
  "list": [VehicleService],
  "next": "4"
}

VehicleSort

Description

vehicle sorting

Fields
Input Field Description
by - VehicleSortKey!
order - SortOrder!
Example
{"by": "PLATE", "order": "A"}

VehicleSortKey

Description

vehicle sorting key

Values
Enum Value Description

PLATE

SEVERITY_INDEX

VIN

Example
"PLATE"

VehicleType

Description

Workshop vehicle type

Fields
Field Name Description
id - ID Vehicle type ID
description - String Description
label - String Label
workshops - WorkshopPaged Workshops
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

Example
{
  "id": 4,
  "description": "xyz789",
  "label": "abc123",
  "workshops": WorkshopPaged
}

VehicleTypeName

Values
Enum Value Description

CAR

Car

EQUIPMENT

Equipment

OTHER

Other

TRAILER

Trailer

TRUCK

Truck

UNPOWERED

Unpowered
Example
"CAR"

VehicleTypePaged

Description

Paginated vehicle_type results

Fields
Field Name Description
count - Int
list - [VehicleType!]!
next - ID
Example
{"count": 987, "list": [VehicleType], "next": 4}

VinExtraInfo

Description

Extra vehicle info from other providers

Fields
Field Name Description
fuel_types - [EnergyType] Supported fuel types
need_cable - Boolean Whether vehicle needs a special fiat cable
need_mux - Boolean Whether vehicle needs a hardware multiplexing cable
obd_port_positions - [Int] Position of OBD port
tank_sizes - [Int] Fuel tanks sizes (l)
Example
{
  "fuel_types": ["ADBLUE"],
  "need_cable": false,
  "need_mux": true,
  "obd_port_positions": [123],
  "tank_sizes": [987]
}

Void

Description

Represents empty values

Void_container

Fields
Field Name Description
Void - Void
Example
{"Void": null}

WarningIcon

Fields
Field Name Description
code - String! Warning icon code
created_at - DateTime!
icon - String! Warning icon image url
name - String! Warning icon description
updated_at - DateTime!
Example
{
  "code": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "icon": "abc123",
  "name": "abc123",
  "updated_at": "2007-12-03T10:15:30Z"
}

WarningIconPaged

Description

Paginated warning_icon results

Fields
Field Name Description
count - Int
list - [WarningIcon!]!
next - ID
Example
{"count": 123, "list": [WarningIcon], "next": 4}

Weather

Description

Weather

Fields
Field Name Description
description - String Description
temperature - Float Temperature
type - WeatherType! Weather type
Example
{
  "description": "abc123",
  "temperature": 123.45,
  "type": "THUNDERSTORM_LIGHT_RAIN"
}

WeatherCoordinates

Description

Weather with coordinates

Fields
Field Name Description
latitude - Float Weather latitude
longitude - Float Weather longitude
temperature - Float Temperature (celsius)
time - DateTime Weather date and time
weather - String Weather description (clear , rainy ...)
weather_id - Int! Weather id
Example
{
  "latitude": 987.65,
  "longitude": 123.45,
  "temperature": 123.45,
  "time": "2007-12-03T10:15:30Z",
  "weather": "abc123",
  "weather_id": 123
}

WeatherType

Values
Enum Value Description

THUNDERSTORM_LIGHT_RAIN

thunderstorm with light rain

THUNDERSTORM_RAIN

thunderstorm with rain

THUNDERSTORM_HEAVY_RAIN

thunderstorm with heavy rain

LIGHT_THUNDERSTORM

light thunderstorm

THUNDERSTORM

thunderstorm

HEAVY_THUNDERSTORM

heavy thunderstorm

RAGGED_THUNDERSTORM

ragged thunderstorm

THUNDERSTORM_LIGHT_DRIZZLE

thunderstorm with light drizzle

THUNDERSTORM_DRIZZLE

thunderstorm with drizzle

THUNDERSTORM_HEAVY_DRIZZLE

thunderstorm with heavy drizzle

LIGHT_INTENSITY_DRIZZLE

light intensity drizzle

DRIZZLE

drizzle

HEAVY_INTENSITY_DRIZZLE

heavy intensity drizzle

LIGHT_INTENSITY_DRIZZLE_RAIN

light intensity drizzle rain

DRIZZLE_RAIN

drizzle rain

HEAVY_INTENSITY_DRIZZLE_RAIN

heavy intensity drizzle rain

SHOWER_RAIN_DRIZZLE

shower rain and drizzle

HEAVY_SHOWER_RAIN_DRIZZLE

heavy shower rain and drizzle

SHOWER_DRIZZLE

shower drizzle

LIGHT_RAIN

light rain

MODERATE_RAIN

moderate rain

HEAVY_INTENSITY_RAIN

heavy intensity rain

VERY_HEAVY_RAIN

very heavy rain

EXTREME_RAIN

extreme rain

FREEZING_RAIN

freezing rain

LIGHT_INTENSITY_SHOWER_RAIN

light intensity shower rain

SHOWER_RAIN

shower rain

HEAVY_INTENSITY_SHOWER_RAIN

heavy intensity shower rain

RAGGED_SHOWER_RAIN

ragged shower rain

LIGHT_SNOW

light snow

SNOW

snow

HEAVY_SNOW

heavy snow

SLEET

sleet

LIGHT_SHOWER_SLEET

light shower sleet

SHOWER_SLEET

shower sleet

LIGHT_RAIN_SNOW

light rain and snow

RAIN_SNOW

rain and snow

LIGHT_SHOWER_SNOW

light shower snow

SHOWER_SNOW

shower snow

HEAVY_SHOWER_SNOW

heavy shower snow

MIST

mist

SMOKE

smoke

HAZE

haze

SAND_DUST_WHIRLS

sand/dust whirls

FOG

fog

SAND

sand

DUST

dust

VOLCANIC_ASH

volcanic ash

SQUALLS

squalls

TORNADO

tornado

CLEAR_SKY

clear sky

FEW_CLOUDS_11_25

few clouds: 11-25%

SCATTERED_CLOUDS_25_50

scattered clouds: 25-50%

BROKEN_CLOUDS_51_84

broken clouds: 51-84%

OVERCAST_CLOUDS_85_100

overcast clouds: 85-100%

OTHER

Example
"THUNDERSTORM_LIGHT_RAIN"

Weekday

Description

Day of the week

Values
Enum Value Description

FRIDAY

MONDAY

SATURDAY

SUNDAY

THURSDAY

TUESDAY

WEDNESDAY

Example
"FRIDAY"

Workday

Description

Worshop workday

Fields
Field Name Description
id - ID Workday ID
closing_hour_1 - String Closing Hour 1
closing_hour_2 - String Closing Hour 2
day - Weekday Day
opening_hour_1 - String Opening Hour 1
opening_hour_2 - String Opening Hour 2
workshop - Workshop Workshop id
Example
{
  "id": 4,
  "closing_hour_1": "abc123",
  "closing_hour_2": "xyz789",
  "day": "FRIDAY",
  "opening_hour_1": "abc123",
  "opening_hour_2": "abc123",
  "workshop": Workshop
}

WorkdayPaged

Description

Paginated workday results

Fields
Field Name Description
count - Int
list - [Workday!]!
next - ID
Example
{"count": 123, "list": [Workday], "next": 4}

Workshop

Description

Workshop

Fields
Field Name Description
id - ID Workshop id
address - String Workshop address
average_stars - Float Average stars of all ratings
bookings - BookingPaged Workshop bookings
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

brand - String Workshop brand
city - String Workshop city
code - String Workshop code
country - String Workshop country
driver_services - DriverServicePaged Workshop driver services
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

email - String Workshop email
fax - String Workshop fax
icon - String Workshop public url to icon
international_phone - String Workshop international phone number
language - Language Workshop Language
lat - Float Workshop latitude
lon - Float Workshop longitude
managers - WorkshopManagerPaged Workshop managers
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

name - String Workshop name
phone - String Workshop phone number
postal_code - String Workshop postal code
provider - String Workshop provider
provider_workshop_id - ID Workshop provider id
province - String Workshop province
quotations - QuotationPaged Workshop quotations
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

ratings - RatingPaged Workshop ratings
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

stars - [Int]

Filter by number of stars

time_zone - String Workshop Time zone
vehicle_services - VehicleServicePaged Workshop vehicle services
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

vehicle_types - VehicleTypePaged Workshop vehicle types
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

web - String Workshop web
workdays - WorkdayPaged Workshop workdays
Arguments
page_id - ID

Request page id (followup queries)

page_size - Int

Results per page (initial query)

Example
{
  "id": "4",
  "address": "abc123",
  "average_stars": 123.45,
  "bookings": BookingPaged,
  "brand": "abc123",
  "city": "abc123",
  "code": "abc123",
  "country": "abc123",
  "driver_services": DriverServicePaged,
  "email": "xyz789",
  "fax": "xyz789",
  "icon": "abc123",
  "international_phone": "abc123",
  "language": Language,
  "lat": 987.65,
  "lon": 123.45,
  "managers": WorkshopManagerPaged,
  "name": "abc123",
  "phone": "abc123",
  "postal_code": "abc123",
  "provider": "abc123",
  "provider_workshop_id": "4",
  "province": "abc123",
  "quotations": QuotationPaged,
  "ratings": RatingPaged,
  "time_zone": "abc123",
  "vehicle_services": VehicleServicePaged,
  "vehicle_types": VehicleTypePaged,
  "web": "xyz789",
  "workdays": WorkdayPaged
}

WorkshopContactMethod

Values
Enum Value Description

EMAIL

PHONECALL

SMS

Example
"EMAIL"

WorkshopManager

Fields
Field Name Description
account - Account
id - ID
role - String
Example
{
  "account": Account,
  "id": "4",
  "role": "abc123"
}

WorkshopManagerPaged

Description

Paginated workshop_manager results

Fields
Field Name Description
count - Int
list - [WorkshopManager!]!
next - ID
Example
{
  "count": 123,
  "list": [WorkshopManager],
  "next": "4"
}

WorkshopPaged

Description

Paginated workshop results

Fields
Field Name Description
count - Int
list - [Workshop!]!
next - ID
Example
{
  "count": 123,
  "list": [Workshop],
  "next": "4"
}

_DirectiveExtensions

Example
_DirectiveExtensions

action

Fields
Field Name Description
data - mutation_post_actions_data
Example
{"data": mutation_post_actions_data}

action_put_Input

Fields
Input Field Description
data - mutationInput_post_actions_input_data_Input
Example
{"data": mutationInput_post_actions_input_data_Input}

actions_const

Values
Enum Value Description

actions

Example
"actions"

add_driver_authorized_vehicles_response

Types
Union Types

Void_container

errors

Example
Void_container

add_vehicle_authorized_drivers_response

Types
Union Types

Void_container

errors

Example
Void_container

alert_create_Input

Fields
Input Field Description
data - alert_input_Input!
Example
{"data": alert_input_Input}

alert_input_Input

Fields
Input Field Description
type - alerts_const!
attributes - mutationInput_post_alerts_input_data_attributes_Input!
Example
{
  "type": "alerts",
  "attributes": mutationInput_post_alerts_input_data_attributes_Input
}

alert_input_with_id_Input

Fields
Input Field Description
type - alerts_const!
id - String!
attributes - mutationInput_put_alert_input_data_attributes_Input!
Example
{
  "type": "alerts",
  "id": "abc123",
  "attributes": mutationInput_put_alert_input_data_attributes_Input
}

alert_paginated

Fields
Field Name Description
data - [geofence_alert]!
meta - meta!
Example
{
  "data": [geofence_alert],
  "meta": meta
}

alert_show

Fields
Field Name Description
data - geofence_alert!
Example
{"data": geofence_alert}

alert_update_Input

Fields
Input Field Description
data - alert_input_with_id_Input!
Example
{"data": alert_input_with_id_Input}

alerts_const

Values
Enum Value Description

alerts

Example
"alerts"

am_auxiliary_device

Description

connected phones, captures ...

Fields
Field Name Description
type - auxiliary_devices_const!
id - ID!
attributes - query_driver_auxiliary_devices_oneOf_0_data_items_attributes!
Example
{
  "type": "auxiliary_devices",
  "id": "4",
  "attributes": query_driver_auxiliary_devices_oneOf_0_data_items_attributes
}

am_device_group

Fields
Field Name Description
type - device_groups_const!
id - ID!
attributes - am_device_group_attributes!
Example
{
  "type": "device_groups",
  "id": "4",
  "attributes": am_device_group_attributes
}

am_device_group_attributes

Fields
Field Name Description
device_id - ID!
created_at - DateTime!
updated_at - DateTime!
Example
{
  "device_id": 4,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

am_user_role

Fields
Field Name Description
type - user_roles_const!
id - ID!
attributes - am_user_role_attributes!
Example
{
  "type": "user_roles",
  "id": 4,
  "attributes": am_user_role_attributes
}

am_user_role_attributes

Fields
Field Name Description
user_id - ID!
role_label - String!
Example
{
  "user_id": "4",
  "role_label": "xyz789"
}

am_vehicle_driver

Fields
Field Name Description
type - drivers_const!
id - ID!
attributes - query_vehicle_authorized_drivers_oneOf_0_data_items_attributes!
Example
{
  "type": "drivers",
  "id": 4,
  "attributes": query_vehicle_authorized_drivers_oneOf_0_data_items_attributes
}

associated_device_Input

Fields
Input Field Description
type - devices_const!
id - ID!
Example
{"type": "devices", "id": 4}

associated_devices_Input

Fields
Input Field Description
data - [associated_device_Input]!
Example
{"data": [associated_device_Input]}

autocomplete_create_Input

Fields
Input Field Description
data - autocomplete_post_Input!
Example
{"data": autocomplete_post_Input}

autocomplete_get

Fields
Field Name Description
type - autocompletes_const!
id - ID!
attributes - query_autocompletes_oneOf_0_data_attributes!
links - links_for_resource
Example
{
  "type": "autocompletes",
  "id": "4",
  "attributes": query_autocompletes_oneOf_0_data_attributes,
  "links": links_for_resource
}

autocomplete_post_Input

Fields
Input Field Description
type - autocompletes_const!
attributes - queryInput_autocompletes_input_data_attributes_Input!
Example
{
  "type": "autocompletes",
  "attributes": queryInput_autocompletes_input_data_attributes_Input
}

autocomplete_show

Fields
Field Name Description
data - autocomplete_get!
Example
{"data": autocomplete_get}

autocompletes_const

Values
Enum Value Description

autocompletes

Example
"autocompletes"

autocompletes_response

Types
Union Types

autocomplete_show

errors

Example
autocomplete_show

auxiliary_device_create_Input

Fields
Input Field Description
data - auxiliary_device_input_Input!
Example
{"data": auxiliary_device_input_Input}

auxiliary_device_input_Input

Example
{
  "type": "auxiliary_devices",
  "attributes": mutationInput_post_driver_auxiliary_devices_input_data_attributes_Input
}

auxiliary_device_input_with_id_Input

Description

connected phones, captures ...

Example
{
  "type": "auxiliary_devices",
  "id": 4,
  "attributes": mutationInput_put_driver_auxiliary_device_input_data_attributes_Input
}

auxiliary_device_kind

Description

Auxiliary device kind

Values
Enum Value Description

phone

tag

sensor

nfc

rfid

Example
"phone"

auxiliary_device_paginated

Fields
Field Name Description
data - [am_auxiliary_device]!
meta - meta!
Example
{
  "data": [am_auxiliary_device],
  "meta": meta
}

auxiliary_device_sensor_function

Values
Enum Value Description

temperature

vibration

rotation

movement

open_close

hygrometry

Example
"temperature"

auxiliary_device_settings

Fields
Field Name Description
min_signal_power_connect - Int an integer between -127 and 127, if provided, min_signal_power_disconnect will be required
min_signal_power_disconnect - Int an integer between -127 and 127, if provided, min_signal_power_connect will be required
max_time_idling_disconnect - Int in seconds, an integer between 0 and 1800
Example
{
  "min_signal_power_connect": 987,
  "min_signal_power_disconnect": 123,
  "max_time_idling_disconnect": 123
}

auxiliary_device_settings_Input

Fields
Input Field Description
min_signal_power_connect - Int an integer between -127 and 127, if provided, min_signal_power_disconnect will be required
min_signal_power_disconnect - Int an integer between -127 and 127, if provided, min_signal_power_connect will be required
max_time_idling_disconnect - Int in seconds, an integer between 0 and 1800
Example
{
  "min_signal_power_connect": 987,
  "min_signal_power_disconnect": 123,
  "max_time_idling_disconnect": 123
}

auxiliary_device_show

Fields
Field Name Description
data - am_auxiliary_device!
Example
{"data": am_auxiliary_device}

auxiliary_device_update_Input

Fields
Input Field Description
data - auxiliary_device_input_with_id_Input!
Example
{"data": auxiliary_device_input_with_id_Input}

auxiliary_devices_const

Values
Enum Value Description

auxiliary_devices

Example
"auxiliary_devices"

circle

Fields
Field Name Description
center - point!
radius - Int! In meter
Example
{"center": point, "radius": 987}

circle_Input

Fields
Input Field Description
center - point_Input!
radius - Int! In meter
Example
{"center": point_Input, "radius": 987}

client_identification_v2

Example
{
  "type": "client_identifications",
  "id": "4",
  "attributes": onboarding_query_client_identifications_data_items_attributes
}

client_identification_v2_create_Input

Fields
Input Field Description
data - client_identification_v2_input_Input!
Example
{"data": client_identification_v2_input_Input}

client_identification_v2_input_Input

Example
{
  "type": "client_identifications",
  "attributes": mutationInput_post_client_identifications_input_data_attributes_Input
}

client_identification_v2_paginated

Fields
Field Name Description
data - [client_identification_v2]!
meta - meta!
Example
{
  "data": [client_identification_v2],
  "meta": meta
}

client_identification_v2_show

Fields
Field Name Description
data - client_identification_v2!
Example
{"data": client_identification_v2}

client_identifications_const

Values
Enum Value Description

client_identifications

Example
"client_identifications"

create_device_token_response

Types
Union Types

device_token_show

errors

Example
device_token_show

data_fusion_refill

Fields
Field Name Description
type - refills_const!
id - ID!
attributes - query_vehicles_refills_oneOf_0_data_items_attributes!
links - links_for_resource
relationships - relationships
Example
{
  "type": "refills",
  "id": 4,
  "attributes": query_vehicles_refills_oneOf_0_data_items_attributes,
  "links": links_for_resource,
  "relationships": relationships
}

delete_driver_authorized_vehicle_response

Types
Union Types

Void_container

errors

Example
Void_container

delete_driver_auxiliary_device_response

Types
Union Types

Void_container

errors

Example
Void_container

delete_vehicle_auxiliary_device_response

Types
Union Types

Void_container

errors

Example
Void_container

device_group_paginated

Fields
Field Name Description
data - [am_device_group]!
meta - meta
Example
{
  "data": [am_device_group],
  "meta": meta
}

device_groups_const

Values
Enum Value Description

device_groups

Example
"device_groups"

device_relationship_Input

Example
{
  "data": [
    mutationInput_post_geofences_relationships_devices_input_data_items_Input
  ]
}

device_reports_response

Types
Union Types

report_paginated

errors

Example
report_paginated

device_show

Fields
Field Name Description
data - geofence_device!
Example
{"data": geofence_device}

device_token

Fields
Field Name Description
type - device_tokens_const!
id - ID!
attributes - mutation_create_device_token_oneOf_0_data_attributes!
Example
{
  "type": "device_tokens",
  "id": "4",
  "attributes": mutation_create_device_token_oneOf_0_data_attributes
}

device_token_create_Input

Fields
Input Field Description
data - device_token_input_Input!
Example
{"data": device_token_input_Input}

device_token_input_Input

Fields
Input Field Description
type - device_tokens_const!
attributes - device_token_input_attributes_Input!
Example
{
  "type": "device_tokens",
  "attributes": device_token_input_attributes_Input
}

device_token_input_attributes_Input

Fields
Input Field Description
device_ids - [ID]! A list of device IDs (dongle IMEIs) that restrict the token's usage to specific devices. If provided, the token will only be valid for the specified devices. A maximum of 20 device IDs can be specified.
start_at - DateTime
end_at - DateTime
aux_id_key - String!
driver_id_key - String!
settings - auxiliary_device_settings_Input
Example
{
  "device_ids": [4],
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "aux_id_key": "abc123",
  "driver_id_key": "abc123",
  "settings": auxiliary_device_settings_Input
}

device_token_show

Fields
Field Name Description
data - device_token!
Example
{"data": device_token}

device_tokens_const

Values
Enum Value Description

device_tokens

Example
"device_tokens"

devices_const

Values
Enum Value Description

devices

Example
"devices"

doors_toggle_request

Fields
Field Name Description
type - toggles_const!
id - ID
attributes - query_doors_toggle_requests_data_items_attributes!
Example
{
  "type": "toggles",
  "id": 4,
  "attributes": query_doors_toggle_requests_data_items_attributes
}

doors_toggle_request_create_Input

Fields
Input Field Description
data - doors_toggle_request_input_Input!
Example
{"data": doors_toggle_request_input_Input}

doors_toggle_request_input_Input

Example
{
  "type": "toggles",
  "attributes": mutationInput_post_doors_toggle_requests_input_data_attributes_Input
}

doors_toggle_request_paginated

Fields
Field Name Description
data - [doors_toggle_request]!
meta - meta!
Example
{
  "data": [doors_toggle_request],
  "meta": meta
}

doors_toggle_request_show

Fields
Field Name Description
data - doors_toggle_request!
Example
{"data": doors_toggle_request}

driver_authorized_vehicle

Example
{
  "type": "driver_authorized_vehicles",
  "id": "4",
  "attributes": query_driver_authorized_vehicles_oneOf_0_data_items_attributes
}

driver_authorized_vehicle_create_Input

Fields
Input Field Description
data - driver_authorized_vehicle_input_Input!
Example
{"data": driver_authorized_vehicle_input_Input}

driver_authorized_vehicle_input_Input

Example
{
  "type": "driver_authorized_vehicles",
  "attributes": mutationInput_post_driver_authorized_vehicles_input_data_attributes_Input
}

driver_authorized_vehicle_input_with_id_Input

Example
{
  "type": "driver_authorized_vehicles",
  "id": 4,
  "attributes": mutationInput_put_driver_authorized_vehicle_input_data_attributes_Input
}

driver_authorized_vehicle_paginated

Fields
Field Name Description
data - [driver_authorized_vehicle]!
meta - meta!
Example
{
  "data": [driver_authorized_vehicle],
  "meta": meta
}

driver_authorized_vehicle_show

Fields
Field Name Description
data - driver_authorized_vehicle!
Example
{"data": driver_authorized_vehicle}

driver_authorized_vehicle_update_Input

Fields
Input Field Description
data - driver_authorized_vehicle_input_with_id_Input!
Example
{"data": driver_authorized_vehicle_input_with_id_Input}

driver_authorized_vehicles_const

Values
Enum Value Description

driver_authorized_vehicles

Example
"driver_authorized_vehicles"

driver_authorized_vehicles_response

Example
driver_authorized_vehicle_paginated

driver_auxiliary_devices_response

Example
auxiliary_device_paginated

drivers_const

Values
Enum Value Description

drivers

Example
"drivers"

drop_data_request_Input

Fields
Input Field Description
data - mutationInput_post_drop_data_requests_input_data_Input
Example
{
  "data": mutationInput_post_drop_data_requests_input_data_Input
}

drop_data_requests_const

Values
Enum Value Description

drop_data_requests

Example
"drop_data_requests"

engine_immobilizer_request

Fields
Field Name Description
type - immobilizers_const!
id - ID
attributes - query_engine_immobilizer_requests_data_items_attributes!
Example
{
  "type": "immobilizers",
  "id": "4",
  "attributes": query_engine_immobilizer_requests_data_items_attributes
}

engine_immobilizer_request_create_Input

Fields
Input Field Description
data - engine_immobilizer_request_input_Input!
Example
{"data": engine_immobilizer_request_input_Input}

engine_immobilizer_request_input_Input

Example
{
  "type": "immobilizers",
  "attributes": mutationInput_post_engine_immobilizer_requests_input_data_attributes_Input
}

engine_immobilizer_request_paginated

Fields
Field Name Description
data - [engine_immobilizer_request]!
meta - meta!
Example
{
  "data": [engine_immobilizer_request],
  "meta": meta
}

engine_immobilizer_request_show

Fields
Field Name Description
data - engine_immobilizer_request!
Example
{"data": engine_immobilizer_request}

error

Fields
Field Name Description
title - String!
detail - String
code - String
status - String!
resource_name - String
source - error_source
Example
{
  "title": "xyz789",
  "detail": "xyz789",
  "code": "abc123",
  "status": "xyz789",
  "resource_name": "xyz789",
  "source": error_source
}

error_source

Fields
Field Name Description
pointer - String
Example
{"pointer": "abc123"}

errors

Fields
Field Name Description
errors - [error]!
Example
{"errors": [error]}

fetch_user_alert_notification_encapsulated

Fields
Field Name Description
data - va_fetch_user_alert_notification
Example
{"data": va_fetch_user_alert_notification}

fetch_user_alert_notification_paginated

Fields
Field Name Description
data - [va_fetch_user_alert_notification]
meta - meta
Example
{
  "data": [va_fetch_user_alert_notification],
  "meta": meta
}

fleet_summaries_const

Values
Enum Value Description

fleet_summaries

Example
"fleet_summaries"

fleet_summary

Fields
Field Name Description
data - query_post_v1_fleet_summaries_oneOf_0_data
Example
{"data": query_post_v1_fleet_summaries_oneOf_0_data}

fleet_summary_Input

Fields
Input Field Description
data - query_post_v1_fleet_summaries_oneOf_0_data_Input
Example
{"data": query_post_v1_fleet_summaries_oneOf_0_data_Input}

geocode_create_Input

Fields
Input Field Description
data - geocode_post_Input!
Example
{"data": geocode_post_Input}

geocode_get

Fields
Field Name Description
type - geocodes_const!
id - ID!
attributes - query_geocodes_oneOf_0_data_attributes!
links - links_for_resource
Example
{
  "type": "geocodes",
  "id": 4,
  "attributes": query_geocodes_oneOf_0_data_attributes,
  "links": links_for_resource
}

geocode_post_Input

Fields
Input Field Description
type - geocodes_const!
attributes - queryInput_geocodes_input_data_attributes_Input!
Example
{
  "type": "geocodes",
  "attributes": queryInput_geocodes_input_data_attributes_Input
}

geocode_show

Fields
Field Name Description
data - geocode_get!
Example
{"data": geocode_get}

geocodes_const

Values
Enum Value Description

geocodes

Example
"geocodes"

geocodes_response

Types
Union Types

geocode_show

errors

Example
geocode_show

geofence_alert

Fields
Field Name Description
type - alerts_const!
id - ID!
attributes - geofence_query_alerts_data_items_attributes!
Example
{
  "type": "alerts",
  "id": 4,
  "attributes": geofence_query_alerts_data_items_attributes
}

geofence_create_Input

Fields
Input Field Description
data - geofence_input_Input!
Example
{"data": geofence_input_Input}

geofence_device

Fields
Field Name Description
type - devices_const!
id - ID!
attributes - query_device_data_attributes!
Example
{
  "type": "devices",
  "id": 4,
  "attributes": query_device_data_attributes
}

geofence_device_Input

Fields
Input Field Description
type - devices_const!
id - ID!
attributes - query_device_data_attributes_Input!
Example
{
  "type": "devices",
  "id": 4,
  "attributes": query_device_data_attributes_Input
}

geofence_device_paginated

Fields
Field Name Description
data - [geofence_device]!
meta - meta!
Example
{
  "data": [geofence_device],
  "meta": meta
}

geofence_event_type

Description

Event Type

Values
Enum Value Description

ENTRY

EXIT

CHRONO

Example
"ENTRY"

geofence_geofence

Fields
Field Name Description
type - geofences_const!
id - ID!
attributes - geofence_query_geofences_data_items_attributes!
schedules - schedule_paginated

[alpha]

Arguments
time_zone - timezone
outside_of_slots - Boolean
group_id - ID
page_number - Int
page_size - Int
user_alert_notifications - fetch_user_alert_notification_paginated

[alpha]

Arguments
event_type - geofence_event_type
user_uid - String
page_number - Int
page_size - Int
shapes - shape_paginated

[alpha]

Arguments
geometry_type - String
shape_center - String
group_id - ID
page_number - Int
page_size - Int
devices - geofence_device_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
Example
{
  "type": "geofences",
  "id": 4,
  "attributes": geofence_query_geofences_data_items_attributes,
  "schedules": schedule_paginated,
  "user_alert_notifications": fetch_user_alert_notification_paginated,
  "shapes": shape_paginated,
  "devices": geofence_device_paginated
}

geofence_input_Input

Fields
Input Field Description
type - geofences_const!
attributes - mutationInput_post_geofences_input_data_attributes_Input!
Example
{
  "type": "geofences",
  "attributes": mutationInput_post_geofences_input_data_attributes_Input
}

geofence_input_with_id_Input

Fields
Input Field Description
type - geofences_const!
id - String!
attributes - mutationInput_put_geofence_input_data_attributes_Input!
Example
{
  "type": "geofences",
  "id": "abc123",
  "attributes": mutationInput_put_geofence_input_data_attributes_Input
}

geofence_paginated

Fields
Field Name Description
data - [geofence_geofence]!
meta - meta!
Example
{
  "data": [geofence_geofence],
  "meta": meta
}

geofence_query_alerts_data_items_attributes

Fields
Field Name Description
imei - String!
geofence_id - ID!
group_id - ID
state - query_alerts_data_items_attributes_state!
event_type - query_alerts_data_items_attributes_event_type!
position - point!
started_at - DateTime
ended_at - DateTime
created_at - DateTime
updated_at - DateTime
Example
{
  "imei": "abc123",
  "geofence_id": "4",
  "group_id": 4,
  "state": "UNKNOWN",
  "event_type": "ENTRY",
  "position": point,
  "started_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

geofence_query_geofences_data_items_attributes

Fields
Field Name Description
label - String!
description - String!
active - Boolean!
group_id - ID
created_at - DateTime
updated_at - DateTime
Example
{
  "label": "abc123",
  "description": "xyz789",
  "active": true,
  "group_id": "4",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

geofence_query_schedules_data_items_attributes

Fields
Field Name Description
week_days - query_schedules_data_items_attributes_week_days!
geofence_id - ID!
group_id - ID
time_zone - timezone!
outside_of_slots - Boolean!
start_at - DateTime
end_at - DateTime
created_at - DateTime
updated_at - DateTime
Example
{
  "week_days": query_schedules_data_items_attributes_week_days,
  "geofence_id": 4,
  "group_id": 4,
  "time_zone": "Africa_Abidjan",
  "outside_of_slots": false,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

geofence_query_shapes_data_items_attributes

Fields
Field Name Description
geofence_id - ID!
group_id - ID
geometry_type - CIRCLE_const!
geometry_center - point
definition - circle!
created_at - DateTime
updated_at - DateTime
Example
{
  "geofence_id": "4",
  "group_id": 4,
  "geometry_type": "CIRCLE",
  "geometry_center": point,
  "definition": circle,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

geofence_query_user_data

Fields
Field Name Description
type - users_const!
id - ID!
attributes - geofence_query_user_data_attributes!
Example
{
  "type": "users",
  "id": 4,
  "attributes": geofence_query_user_data_attributes
}

geofence_query_user_data_attributes

Fields
Field Name Description
uid - ID!
full_name - String
role - query_user_data_attributes_role!
Example
{
  "uid": 4,
  "full_name": "abc123",
  "role": "user"
}

geofence_schedule

Fields
Field Name Description
type - schedules_const!
id - ID!
attributes - geofence_query_schedules_data_items_attributes!
Example
{
  "type": "schedules",
  "id": "4",
  "attributes": geofence_query_schedules_data_items_attributes
}

geofence_shape

Fields
Field Name Description
type - shapes_const!
id - ID!
attributes - geofence_query_shapes_data_items_attributes!
Example
{
  "type": "shapes",
  "id": 4,
  "attributes": geofence_query_shapes_data_items_attributes
}

geofence_show

Fields
Field Name Description
data - geofence_geofence!
Example
{"data": geofence_geofence}

geofence_update_Input

Fields
Input Field Description
data - geofence_input_with_id_Input!
Example
{"data": geofence_input_with_id_Input}

geofence_user

Fields
Field Name Description
data - geofence_query_user_data
Example
{"data": geofence_query_user_data}

geofences_const

Values
Enum Value Description

geofences

Example
"geofences"

geofencing_const

Values
Enum Value Description

geofencing

Example
"geofencing"

get_driver_authorized_vehicle_response

Example
driver_authorized_vehicle_show

get_driver_auxiliary_device_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

get_trip_response

Types
Union Types

journey_trip_encapsulated

errors

Example
journey_trip_encapsulated

get_vehicle_auxiliary_device_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

google__protobuf__Empty

Example
google__protobuf__Empty

group_relationship_Input

Example
{
  "data": [
    mutationInput_post_geofences_relationships_groups_input_data_items_Input
  ]
}

group_reports_response

Types
Union Types

report_paginated

errors

Example
report_paginated

groups_const

Values
Enum Value Description

groups

Example
"groups"

harshes_const

Values
Enum Value Description

harshes

Example
"harshes"

immobilizers_const

Values
Enum Value Description

immobilizers

Example
"immobilizers"

j2534__DataFilter

Fields
Field Name Description
mask - j2534__PassThruMsg
filter - j2534__PassThruMsg
filter_type - j2534__FilterType
Example
{
  "mask": j2534__PassThruMsg,
  "filter": j2534__PassThruMsg,
  "filter_type": "UNKNOWN_FILTER"
}

j2534__DataFilter_Input

Fields
Input Field Description
mask - j2534__PassThruMsg_Input
filter - j2534__PassThruMsg_Input
filter_type - j2534__FilterType
Example
{
  "mask": j2534__PassThruMsg_Input,
  "filter": j2534__PassThruMsg_Input,
  "filter_type": "UNKNOWN_FILTER"
}

j2534__FilterType

Values
Enum Value Description

UNKNOWN_FILTER

Protobuf wants something for 0

PASS_FILTER

BLOCK_FILTER

FLOW_CONTROL_FILTER

Example
"UNKNOWN_FILTER"

j2534__IoctlId

Description

IOCTL

Values
Enum Value Description

UNKNOWN_IOCTL

GET_CONFIG

SET_CONFIG

READ_VBATT

FIVE_BAUD_INIT

FAST_INIT

CLEAR_TX_BUFFER

CLEAR_RX_BUFFER

CLEAR_PERIODIC_MSGS

CLEAR_MSG_FILTERS

CLEAR_FUNCT_MSG_LOOKUP_TABLE

ADD_TO_FUNCT_MSG_LOOKUP_TABLE

DELETE_FROM_FUNCT_MSG_LOOKUP_TABLE

READ_PROG_VOLTAGE

GET_NDIS_ADAPTER_INFO

Reserved for SAE: 0x0f-0xfff;

SETUP_DOIP

Reserved for Tool manufacturer: 0x10000-0xfffffff;

DOIP_INFO

Example
"UNKNOWN_IOCTL"

j2534__IoctlParameter

Fields
Field Name Description
none - UnsignedInt
message - j2534__PassThruMsg
sconfig_list - j2534__SconfigList
sbyte_array - Byte
Example
{
  "none": 123,
  "message": j2534__PassThruMsg,
  "sconfig_list": j2534__SconfigList,
  "sbyte_array": [196, 189, 173, 171, 167, 163]
}

j2534__IoctlParameter_Input

Fields
Input Field Description
none - UnsignedInt
message - j2534__PassThruMsg_Input
sconfig_list - j2534__SconfigList_Input
sbyte_array - Byte
Example
{
  "none": 123,
  "message": j2534__PassThruMsg_Input,
  "sconfig_list": j2534__SconfigList_Input,
  "sbyte_array": [196, 189, 173, 171, 167, 163]
}

j2534__J2534Msg

Fields
Field Name Description
version - String
id - BigInt
timestamp - BigInt
request - j2534__J2534Request
response - j2534__J2534Response
Example
{
  "version": "xyz789",
  "id": {},
  "timestamp": {},
  "request": j2534__J2534Request,
  "response": j2534__J2534Response
}

j2534__J2534Msg_Input

Fields
Input Field Description
version - String
id - BigInt
timestamp - BigInt
request - j2534__J2534Request_Input
response - j2534__J2534Response_Input
Example
{
  "version": "xyz789",
  "id": {},
  "timestamp": {},
  "request": j2534__J2534Request_Input,
  "response": j2534__J2534Response_Input
}

j2534__J2534Request

Example
{
  "connect": j2534__PassThruConnectRequest,
  "disconnect": j2534__PassThruDisconnectRequest,
  "ioctl": j2534__PassThruIoctlRequest,
  "write_msgs": j2534__PassThruWriteMsgsRequest,
  "read_msgs": j2534__PassThruReadMsgsRequest,
  "start_periodic_msg": j2534__PassThruStartPeriodicMsgRequest,
  "stop_periodic_msg": j2534__PassThruStopPeriodicMsgRequest,
  "start_msg_filter": j2534__PassThruStartMsgFilterRequest,
  "stop_msg_filter": j2534__PassThruStopMsgFilterRequest,
  "read_version": j2534__PassThruReadVersionRequest,
  "get_last_error": j2534__PassThruGetLastErrorRequest,
  "set_programming_voltage": j2534__PassThruSetProgrammingVoltageRequest,
  "start_periodic_read_msg": j2534__PassThruStartPeriodicReadMsgRequest,
  "stop_periodic_read_msg": j2534__PassThruStopPeriodicReadMsgRequest
}

j2534__J2534Request_Input

Example
{
  "connect": j2534__PassThruConnectRequest_Input,
  "disconnect": j2534__PassThruDisconnectRequest_Input,
  "ioctl": j2534__PassThruIoctlRequest_Input,
  "write_msgs": j2534__PassThruWriteMsgsRequest_Input,
  "read_msgs": j2534__PassThruReadMsgsRequest_Input,
  "start_periodic_msg": j2534__PassThruStartPeriodicMsgRequest_Input,
  "stop_periodic_msg": j2534__PassThruStopPeriodicMsgRequest_Input,
  "start_msg_filter": j2534__PassThruStartMsgFilterRequest_Input,
  "stop_msg_filter": j2534__PassThruStopMsgFilterRequest_Input,
  "read_version": j2534__PassThruReadVersionRequest_Input,
  "get_last_error": j2534__PassThruGetLastErrorRequest_Input,
  "set_programming_voltage": j2534__PassThruSetProgrammingVoltageRequest_Input,
  "start_periodic_read_msg": j2534__PassThruStartPeriodicReadMsgRequest_Input,
  "stop_periodic_read_msg": j2534__PassThruStopPeriodicReadMsgRequest_Input
}

j2534__J2534Response

Example
{
  "unsupported": j2534__PassThruUnsupported,
  "connect": j2534__PassThruConnectResponse,
  "disconnect": j2534__PassThruDisconnectResponse,
  "ioctl": j2534__PassThruIoctlResponse,
  "write_msgs": j2534__PassThruWriteMsgsResponse,
  "read_msgs": j2534__PassThruReadMsgsResponse,
  "start_periodic_msg": j2534__PassThruStartPeriodicMsgResponse,
  "stop_periodic_msg": j2534__PassThruStopPeriodicMsgResponse,
  "start_msg_filter": j2534__PassThruStartMsgFilterResponse,
  "stop_msg_filter": j2534__PassThruStopMsgFilterResponse,
  "read_version": j2534__PassThruReadVersionResponse,
  "get_last_error": j2534__PassThruGetLastErrorResponse,
  "set_programming_voltage": j2534__PassThruSetProgrammingVoltageResponse,
  "start_periodic_read_msg": j2534__PassThruStartPeriodicReadMsgResponse,
  "stop_periodic_read_msg": j2534__PassThruStopPeriodicReadMsgResponse
}

j2534__J2534Response_Input

Example
{
  "unsupported": j2534__PassThruUnsupported_Input,
  "connect": j2534__PassThruConnectResponse_Input,
  "disconnect": j2534__PassThruDisconnectResponse_Input,
  "ioctl": j2534__PassThruIoctlResponse_Input,
  "write_msgs": j2534__PassThruWriteMsgsResponse_Input,
  "read_msgs": j2534__PassThruReadMsgsResponse_Input,
  "start_periodic_msg": j2534__PassThruStartPeriodicMsgResponse_Input,
  "stop_periodic_msg": j2534__PassThruStopPeriodicMsgResponse_Input,
  "start_msg_filter": j2534__PassThruStartMsgFilterResponse_Input,
  "stop_msg_filter": j2534__PassThruStopMsgFilterResponse_Input,
  "read_version": j2534__PassThruReadVersionResponse_Input,
  "get_last_error": j2534__PassThruGetLastErrorResponse_Input,
  "set_programming_voltage": j2534__PassThruSetProgrammingVoltageResponse_Input,
  "start_periodic_read_msg": j2534__PassThruStartPeriodicReadMsgResponse_Input,
  "stop_periodic_read_msg": j2534__PassThruStopPeriodicReadMsgResponse_Input
}

j2534__PassThruConnectRequest

Description

CONNECT

Fields
Field Name Description
protocol_id - j2534__Protocol
flags - UnsignedInt
channel_id - UnsignedInt
Example
{"protocol_id": "UNKNOWN_PROTOCOL", "flags": 123, "channel_id": 123}

j2534__PassThruConnectRequest_Input

Description

CONNECT

Fields
Input Field Description
protocol_id - j2534__Protocol
flags - UnsignedInt
channel_id - UnsignedInt
Example
{"protocol_id": "UNKNOWN_PROTOCOL", "flags": 123, "channel_id": 123}

j2534__PassThruConnectResponse

Fields
Field Name Description
status - j2534__Status
channel_id - UnsignedInt
Example
{"status": "NOERROR", "channel_id": 123}

j2534__PassThruConnectResponse_Input

Fields
Input Field Description
status - j2534__Status
channel_id - UnsignedInt
Example
{"status": "NOERROR", "channel_id": 123}

j2534__PassThruDisconnectRequest

Description

DISCONNECT

Fields
Field Name Description
channel_id - UnsignedInt
Example
{"channel_id": 123}

j2534__PassThruDisconnectRequest_Input

Description

DISCONNECT

Fields
Input Field Description
channel_id - UnsignedInt
Example
{"channel_id": 123}

j2534__PassThruDisconnectResponse

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruDisconnectResponse_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruGetLastErrorRequest

Example
j2534__PassThruGetLastErrorRequest

j2534__PassThruGetLastErrorRequest_Input

Example
j2534__PassThruGetLastErrorRequest_Input

j2534__PassThruGetLastErrorResponse

Fields
Field Name Description
status - j2534__Status
p_error_description - String
Example
{
  "status": "NOERROR",
  "p_error_description": "abc123"
}

j2534__PassThruGetLastErrorResponse_Input

Fields
Input Field Description
status - j2534__Status
p_error_description - String
Example
{
  "status": "NOERROR",
  "p_error_description": "abc123"
}

j2534__PassThruIoctlRequest

Description

message SconfigList

Fields
Field Name Description
channel_id - UnsignedInt
ioctl_id - j2534__IoctlId
p_input - j2534__IoctlParameter
Example
{
  "channel_id": 123,
  "ioctl_id": "UNKNOWN_IOCTL",
  "p_input": j2534__IoctlParameter
}

j2534__PassThruIoctlRequest_Input

Description

message SconfigList

Fields
Input Field Description
channel_id - UnsignedInt
ioctl_id - j2534__IoctlId
p_input - j2534__IoctlParameter_Input
Example
{
  "channel_id": 123,
  "ioctl_id": "UNKNOWN_IOCTL",
  "p_input": j2534__IoctlParameter_Input
}

j2534__PassThruIoctlResponse

Fields
Field Name Description
status - j2534__Status
p_output - j2534__IoctlParameter
Example
{"status": "NOERROR", "p_output": j2534__IoctlParameter}

j2534__PassThruIoctlResponse_Input

Fields
Input Field Description
status - j2534__Status
p_output - j2534__IoctlParameter_Input
Example
{
  "status": "NOERROR",
  "p_output": j2534__IoctlParameter_Input
}

j2534__PassThruMsg

Fields
Field Name Description
protocol_id - j2534__Protocol
rx_status - UnsignedInt
tx_flags - UnsignedInt The Tx flags used when transmitting messages.
data_size - UnsignedInt The size of the message data.
extra_data_index - UnsignedInt
data - Byte The message data.
flag_id - UnsignedInt
timestamp - BigInt
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "rx_status": 123,
  "tx_flags": 123,
  "data_size": 123,
  "extra_data_index": 123,
  "data": [196, 189, 173, 171, 167, 163],
  "flag_id": 123,
  "timestamp": {}
}

j2534__PassThruMsg_Input

Fields
Input Field Description
protocol_id - j2534__Protocol
rx_status - UnsignedInt
tx_flags - UnsignedInt The Tx flags used when transmitting messages.
data_size - UnsignedInt The size of the message data.
extra_data_index - UnsignedInt
data - Byte The message data.
flag_id - UnsignedInt
timestamp - BigInt
Example
{
  "protocol_id": "UNKNOWN_PROTOCOL",
  "rx_status": 123,
  "tx_flags": 123,
  "data_size": 123,
  "extra_data_index": 123,
  "data": [196, 189, 173, 171, 167, 163],
  "flag_id": 123,
  "timestamp": {}
}

j2534__PassThruReadMsgsRequest

Description

READ

Fields
Field Name Description
channel_id - UnsignedInt
timeout - UnsignedInt
p_num_msgs - UnsignedInt
Example
{"channel_id": 123, "timeout": 123, "p_num_msgs": 123}

j2534__PassThruReadMsgsRequest_Input

Description

READ

Fields
Input Field Description
channel_id - UnsignedInt
timeout - UnsignedInt
p_num_msgs - UnsignedInt
Example
{"channel_id": 123, "timeout": 123, "p_num_msgs": 123}

j2534__PassThruReadMsgsResponse

Fields
Field Name Description
status - j2534__Status
p_num_msgs - UnsignedInt
p_msg - [j2534__PassThruMsg]
Example
{
  "status": "NOERROR",
  "p_num_msgs": 123,
  "p_msg": [j2534__PassThruMsg]
}

j2534__PassThruReadMsgsResponse_Input

Fields
Input Field Description
status - j2534__Status
p_num_msgs - UnsignedInt
p_msg - [j2534__PassThruMsg_Input]
Example
{
  "status": "NOERROR",
  "p_num_msgs": 123,
  "p_msg": [j2534__PassThruMsg_Input]
}

j2534__PassThruReadVersionRequest

Example
j2534__PassThruReadVersionRequest

j2534__PassThruReadVersionRequest_Input

Example
j2534__PassThruReadVersionRequest_Input

j2534__PassThruReadVersionResponse

Fields
Field Name Description
status - j2534__Status
p_firmware_version - String
p_dll_version - String
p_api_version - String
Example
{
  "status": "NOERROR",
  "p_firmware_version": "abc123",
  "p_dll_version": "xyz789",
  "p_api_version": "abc123"
}

j2534__PassThruReadVersionResponse_Input

Fields
Input Field Description
status - j2534__Status
p_firmware_version - String
p_dll_version - String
p_api_version - String
Example
{
  "status": "NOERROR",
  "p_firmware_version": "xyz789",
  "p_dll_version": "abc123",
  "p_api_version": "abc123"
}

j2534__PassThruSetProgrammingVoltageRequest

Fields
Field Name Description
pin_number - UnsignedInt
voltage - UnsignedInt
Example
{"pin_number": 123, "voltage": 123}

j2534__PassThruSetProgrammingVoltageRequest_Input

Fields
Input Field Description
pin_number - UnsignedInt
voltage - UnsignedInt
Example
{"pin_number": 123, "voltage": 123}

j2534__PassThruSetProgrammingVoltageResponse

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruSetProgrammingVoltageResponse_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStartMsgFilterRequest

Fields
Field Name Description
channel_id - UnsignedInt
filter_type - j2534__FilterType
p_mask_msg - j2534__PassThruMsg
p_pattern_msg - j2534__PassThruMsg
p_flow_control_msg - j2534__PassThruMsg
p_msg_id - UnsignedInt
Example
{
  "channel_id": 123,
  "filter_type": "UNKNOWN_FILTER",
  "p_mask_msg": j2534__PassThruMsg,
  "p_pattern_msg": j2534__PassThruMsg,
  "p_flow_control_msg": j2534__PassThruMsg,
  "p_msg_id": 123
}

j2534__PassThruStartMsgFilterRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
filter_type - j2534__FilterType
p_mask_msg - j2534__PassThruMsg_Input
p_pattern_msg - j2534__PassThruMsg_Input
p_flow_control_msg - j2534__PassThruMsg_Input
p_msg_id - UnsignedInt
Example
{
  "channel_id": 123,
  "filter_type": "UNKNOWN_FILTER",
  "p_mask_msg": j2534__PassThruMsg_Input,
  "p_pattern_msg": j2534__PassThruMsg_Input,
  "p_flow_control_msg": j2534__PassThruMsg_Input,
  "p_msg_id": 123
}

j2534__PassThruStartMsgFilterResponse

Fields
Field Name Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStartMsgFilterResponse_Input

Fields
Input Field Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStartPeriodicMsgRequest

Fields
Field Name Description
channel_id - UnsignedInt
p_msg - j2534__PassThruMsg
time_interval - UnsignedInt
p_msg_id - UnsignedInt
Example
{
  "channel_id": 123,
  "p_msg": j2534__PassThruMsg,
  "time_interval": 123,
  "p_msg_id": 123
}

j2534__PassThruStartPeriodicMsgRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
p_msg - j2534__PassThruMsg_Input
time_interval - UnsignedInt
p_msg_id - UnsignedInt
Example
{
  "channel_id": 123,
  "p_msg": j2534__PassThruMsg_Input,
  "time_interval": 123,
  "p_msg_id": 123
}

j2534__PassThruStartPeriodicMsgResponse

Fields
Field Name Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStartPeriodicMsgResponse_Input

Fields
Input Field Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStartPeriodicReadMsgRequest

Fields
Field Name Description
channel_id - UnsignedInt
data_filter - [j2534__DataFilter]
time_interval - UnsignedInt
p_msg_id - UnsignedInt
flag_id - UnsignedInt
Example
{
  "channel_id": 123,
  "data_filter": [j2534__DataFilter],
  "time_interval": 123,
  "p_msg_id": 123,
  "flag_id": 123
}

j2534__PassThruStartPeriodicReadMsgRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
data_filter - [j2534__DataFilter_Input]
time_interval - UnsignedInt
p_msg_id - UnsignedInt
flag_id - UnsignedInt
Example
{
  "channel_id": 123,
  "data_filter": [j2534__DataFilter_Input],
  "time_interval": 123,
  "p_msg_id": 123,
  "flag_id": 123
}

j2534__PassThruStartPeriodicReadMsgResponse

Fields
Field Name Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStartPeriodicReadMsgResponse_Input

Fields
Input Field Description
status - j2534__Status
p_msg_id - UnsignedInt
Example
{"status": "NOERROR", "p_msg_id": 123}

j2534__PassThruStopMsgFilterRequest

Fields
Field Name Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopMsgFilterRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopMsgFilterResponse

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStopMsgFilterResponse_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStopPeriodicMsgRequest

Fields
Field Name Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopPeriodicMsgRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopPeriodicMsgResponse

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStopPeriodicMsgResponse_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStopPeriodicReadMsgRequest

Fields
Field Name Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopPeriodicReadMsgRequest_Input

Fields
Input Field Description
channel_id - UnsignedInt
msg_id - UnsignedInt
Example
{"channel_id": 123, "msg_id": 123}

j2534__PassThruStopPeriodicReadMsgResponse

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruStopPeriodicReadMsgResponse_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruUnsupported

Fields
Field Name Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruUnsupported_Input

Fields
Input Field Description
status - j2534__Status
Example
{"status": "NOERROR"}

j2534__PassThruWriteMsgsRequest

Description

WRITE

Fields
Field Name Description
channel_id - UnsignedInt
timeout - UnsignedInt
p_num_msgs - UnsignedInt
p_msg - [j2534__PassThruMsg]
Example
{
  "channel_id": 123,
  "timeout": 123,
  "p_num_msgs": 123,
  "p_msg": [j2534__PassThruMsg]
}

j2534__PassThruWriteMsgsRequest_Input

Description

WRITE

Fields
Input Field Description
channel_id - UnsignedInt
timeout - UnsignedInt
p_num_msgs - UnsignedInt
p_msg - [j2534__PassThruMsg_Input]
Example
{
  "channel_id": 123,
  "timeout": 123,
  "p_num_msgs": 123,
  "p_msg": [j2534__PassThruMsg_Input]
}

j2534__PassThruWriteMsgsResponse

Fields
Field Name Description
status - j2534__Status
p_num_msgs - UnsignedInt
Example
{"status": "NOERROR", "p_num_msgs": 123}

j2534__PassThruWriteMsgsResponse_Input

Fields
Input Field Description
status - j2534__Status
p_num_msgs - UnsignedInt
Example
{"status": "NOERROR", "p_num_msgs": 123}

j2534__Protocol

Values
Enum Value Description

UNKNOWN_PROTOCOL

J1850_VPM

J1850_PWM

ISO_9141

ISO_14230

CAN

ISO_15765

SCI_A_ENGINE

SCI_A_TRANS

Sci_B_ENGINE

Sci_B_TRANS

J1850_VPW_PS

Reserved for SAE use: 0x0b-0xffff For the following definitions see J2534-2 section 22.2 ProtocolID Values

J1850_PWM_PS

ISO_9141_PS

ISO_14230_S

CAN_PS

ISO_15765_PS

J2610_PS

SW_ISO_15765_PS

SW_CAN_PS

GM_UART_PS

UART_ECHO_BYTE_PS

HONDA_DIAGH_PS

J1939_PS

J1708_PS

TP2_0_PS

FT_CAN_PS

FT_ISO_15765_PS

ETHERNET_NDIS

Example
"UNKNOWN_PROTOCOL"

j2534__SConfigParameter

Values
Enum Value Description

UNKNOWN_SCONFIG_PARAMETER

DATA_RATE

LOOPBACK

Unused = 2;

NODE_ADDRESS

NETWORK_LINE

P1_MIN

P1_MAX

P2_MIN

P2_MAX

P3_MIN

P3_MAX

P4_MIN

P4_MAX

W0

W1

W2

W3

W4

W5

TIDLE

TINIL

TWUP

PARITY

BIT_SAMPLE_POINT

SYNC_JUMP_WIDTH

T1_MAX

Unused = 0x19;

T2_MAX

T3_MAX

T4_MAX

T5_MAX

ISO15765_BS

ISO15765_STMIN

BS_TX

Reserved for SAE: 0x20-0xffff See J2534-2 Section 22.5

STMIN_TX

DATTA_BITS

FIVE_BAUD_MOD

ISO15765_WFT_MAX

CAN_MIXED_FORMAT

J1962_PINS

SW_CAN_HS_DATA_RATE

Reserved: 0x8002-0x800f

SW_CAN_SPEED_CHANGE_ENABLE

SW_CAN_RES_SWITCH

ACTIVE_CHANNELS

Reserved: 0x8013-0x801f

SAMPLE_RATE

SAMPLES_PER_READING

READINGS_PER_MSG

AVERAGING_METHOD

SAMPLE_RESOLUTION

INPUT_RANGE_LOW

INPUT_RANGE_HIGH

ISO15765_PAD_VALUE

DURATION_BETWEEN_WRITE

Reserved for Tool manufacturer: 0x10000-0xffffffff

CLIENT_LOGICAL_ADDR

DOIP related

TLS

ROUTING_ACTIVATION_TYPE

ROUTING_OEM_PAYLOAD

SERVER_TARGET_ADDR

Example
"UNKNOWN_SCONFIG_PARAMETER"

j2534__Sconfig

Fields
Field Name Description
sconfig_parameter - j2534__SConfigParameter
value - UnsignedInt
Example
{"sconfig_parameter": "UNKNOWN_SCONFIG_PARAMETER", "value": 123}

j2534__SconfigList

Fields
Field Name Description
list - [j2534__Sconfig]
Example
{"list": [j2534__Sconfig]}

j2534__SconfigList_Input

Fields
Input Field Description
list - [j2534__Sconfig_Input]
Example
{"list": [j2534__Sconfig_Input]}

j2534__Sconfig_Input

Fields
Input Field Description
sconfig_parameter - j2534__SConfigParameter
value - UnsignedInt
Example
{"sconfig_parameter": "UNKNOWN_SCONFIG_PARAMETER", "value": 123}

j2534__Status

Values
Enum Value Description

NOERROR

NOT_SUPPORTED

INVALID_CHANNEL_ID

INVALID_PROTOCOL_ID

NULLPARAMETER

INVALID_IOCTL_VALUE

INVALID_FLAGS

FAILED

DEVICE_NOT_CONNECTED

TIMEOUT

INVALID_MSG

INVALID_TIME_INTERVAL

EXCEEDED_LIMIT

INVALID_MSG_ID

INVALID_ERROR_ID

INVALID_IOCTL_ID

BUFFER_EMPTY

COULD NOT READ ANY MESSAGES FROM THE VEHICLE NETWORK

BUFFER_FULL

BUFFER_OVERFLOW

RECEIVE BUFFER OVERFLOWED AND MESSAGES WERE LOST

PIN_INVALID

CHANNEL_IN_USE

MSG_PROTOCOL_ID

INVALID_FILTER_ID

Only old J2524-2004

NO_FLOW_CONTROL

Only old J2524-2004

NOT_UNIQUE

Only old J2524-2004

INVALID_BAUDRATE

Only old J2524-2004

INVALID_DEVICE_ID

Only old J2524-2004

ID_NOT_IN_USE

Munic specific

INVALID_ID

Munic specific

NO_ID_AVAILABLE

Munic specific

DEVICE_IN_USE

Munic specific

UNKNOWN_STATUS

Munic specific
Example
"NOERROR"

join__FieldSet

Example
join__FieldSet

join__Graph

Values
Enum Value Description

ASSET_MANAGER

DATA_FUSION_API

EKKO_BACKEND

GEOFENCES

JOURNEY

MAP_MATCHING_API_V2

MUNIC_CONNECT

ONBOARDING

REMOTE_DEVICE_COMMAND

REMOTE_DIAG_GRPC

REMOTE_DIAGNOSTIC

VEHICLE_ALERTS

Example
"ASSET_MANAGER"

journey_associated_device

Fields
Field Name Description
type - devices_const!
id - ID!
Example
{"type": "devices", "id": "4"}

journey_device_paginated

Fields
Field Name Description
data - [journey_associated_device]!
meta - meta!
Example
{
  "data": [journey_associated_device],
  "meta": meta
}

journey_query_device_trips_included_items

Fields
Field Name Description
id - ID!
type - metadata_const!
attributes - metadata_attributes
Example
{
  "id": "4",
  "type": "metadata",
  "attributes": metadata_attributes
}

journey_report

Fields
Field Name Description
type - reports_const!
id - ID!
attributes - report_attributes!
Example
{
  "type": "reports",
  "id": "4",
  "attributes": report_attributes
}

journey_summary

Fields
Field Name Description
data - query_device_summary_data!
Example
{"data": query_device_summary_data}

journey_trip

Fields
Field Name Description
type - trips_const!
id - ID!
attributes - trip_attributes!
relationships - query_get_trip_oneOf_0_data_relationships
cleaned_positions - map_matching_position_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
journey_harshes - journey_trip_harsh_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
Example
{
  "type": "trips",
  "id": "4",
  "attributes": trip_attributes,
  "relationships": query_get_trip_oneOf_0_data_relationships,
  "cleaned_positions": map_matching_position_paginated,
  "journey_harshes": journey_trip_harsh_paginated
}

journey_trip_encapsulated

Fields
Field Name Description
data - journey_trip!
included - [query_get_trip_oneOf_0_included_items]
Example
{
  "data": journey_trip,
  "included": [query_get_trip_oneOf_0_included_items]
}

journey_trip_harsh

Fields
Field Name Description
type - harshes_const!
id - ID!
attributes - journey_trip_harsh_attributes!
Example
{
  "type": "harshes",
  "id": 4,
  "attributes": journey_trip_harsh_attributes
}

journey_trip_harsh_attributes

Fields
Field Name Description
kind - query_trip_harshes_data_items_attributes_kind
mean_acceleration - Float
peak_acceleration - Float
start_speed - Float
end_speed - Float
start_latitude - Float
start_longitude - Float
start_time - DateTime
end_latitude - Float
end_longitude - Float
end_time - DateTime
duration_in_seconds - Int
duration - String
Example
{
  "kind": "left_cornering",
  "mean_acceleration": 987.65,
  "peak_acceleration": 987.65,
  "start_speed": 987.65,
  "end_speed": 123.45,
  "start_latitude": 987.65,
  "start_longitude": 987.65,
  "start_time": "2007-12-03T10:15:30Z",
  "end_latitude": 123.45,
  "end_longitude": 987.65,
  "end_time": "2007-12-03T10:15:30Z",
  "duration_in_seconds": 987,
  "duration": "xyz789"
}

journey_trip_harsh_paginated

Fields
Field Name Description
data - [journey_trip_harsh]!
meta - meta
Example
{
  "data": [journey_trip_harsh],
  "meta": meta
}

journey_trip_paginated

Fields
Field Name Description
data - [journey_trip]!
meta - meta!
included - [journey_query_device_trips_included_items]
Example
{
  "data": [journey_trip],
  "meta": meta,
  "included": [journey_query_device_trips_included_items]
}

journey_trip_tag_schedule

Fields
Field Name Description
type - trip_tag_schedules_const!
id - ID!
attributes - trip_tag_schedule_attributes!
devices - journey_device_paginated

[alpha]

Arguments
page_number - Int
page_size - Int
Example
{
  "type": "trip_tag_schedules",
  "id": 4,
  "attributes": trip_tag_schedule_attributes,
  "devices": journey_device_paginated
}

map_matching_position

Fields
Field Name Description
type - positions_const!
id - ID!
attributes - map_matching_position_attributes!
Example
{
  "type": "positions",
  "id": "4",
  "attributes": map_matching_position_attributes
}

map_matching_position_attributes

Fields
Field Name Description
lng - Float
lat - Float
alt - Float
speed - Int
max_speed - Int
duration - Float
time - DateTime
Example
{
  "lng": 987.65,
  "lat": 987.65,
  "alt": 987.65,
  "speed": 123,
  "max_speed": 987,
  "duration": 123.45,
  "time": "2007-12-03T10:15:30Z"
}

map_matching_position_paginated

Fields
Field Name Description
data - [map_matching_position]!
meta - meta
Example
{
  "data": [map_matching_position],
  "meta": meta
}

meta

Fields
Field Name Description
record_count - Int!
page_count - Int!
Example
{"record_count": 987, "page_count": 987}

meta_j2534__CmdType

Values
Enum Value Description

DEFAULT_CMD

PARAMETERIZING_CMD

PARAMETERIZED_CMD

PARAMETERIZED_CMDS

Example
"DEFAULT_CMD"

meta_j2534__MetaJ2534

Fields
Field Name Description
monitor - Boolean If true the response of this request will be decode and send to main api
type - meta_j2534__CmdType Define commande type
parameter_id - BigInt Define cmd ID in case on INIT_CMD id of the command, in case of PARAM_CMD the id of the dependence
byte_id - [UnsignedInt] in cases of INIT_CMD bytes to keep in response, in case of PARAM_CMD bytes to replace in request
start_offset - UnsignedInt
pattern_length - UnsignedInt
pattern_offset - UnsignedInt
j2534 - j2534__J2534Msg
Example
{
  "monitor": true,
  "type": "DEFAULT_CMD",
  "parameter_id": {},
  "byte_id": [123],
  "start_offset": 123,
  "pattern_length": 123,
  "pattern_offset": 123,
  "j2534": j2534__J2534Msg
}

meta_j2534__MetaJ2534_Input

Fields
Input Field Description
monitor - Boolean If true the response of this request will be decode and send to main api
type - meta_j2534__CmdType Define commande type
parameter_id - BigInt Define cmd ID in case on INIT_CMD id of the command, in case of PARAM_CMD the id of the dependence
byte_id - [UnsignedInt] in cases of INIT_CMD bytes to keep in response, in case of PARAM_CMD bytes to replace in request
start_offset - UnsignedInt
pattern_length - UnsignedInt
pattern_offset - UnsignedInt
j2534 - j2534__J2534Msg_Input
Example
{
  "monitor": true,
  "type": "DEFAULT_CMD",
  "parameter_id": {},
  "byte_id": [123],
  "start_offset": 123,
  "pattern_length": 123,
  "pattern_offset": 123,
  "j2534": j2534__J2534Msg_Input
}

meta_j2534__Task

Fields
Field Name Description
version - UnsignedInt
last_task - Boolean If true: finish the current Action
loop - Boolean If true start a loop with this task (all the meta_j2534)
loop_timeout_s - UnsignedInt Loop timeout , the loop stop after this duration
loop_count_max - UnsignedInt Loop Max count, the loop stop if the count is reached
loop_expected_period_us - UnsignedInt Loop expected period in micro second
meta_j2534_list - [meta_j2534__MetaJ2534] Meta j2534 array
Example
{
  "version": 123,
  "last_task": true,
  "loop": true,
  "loop_timeout_s": 123,
  "loop_count_max": 123,
  "loop_expected_period_us": 123,
  "meta_j2534_list": [meta_j2534__MetaJ2534]
}

meta_j2534__Task_Input

Fields
Input Field Description
version - UnsignedInt
last_task - Boolean If true: finish the current Action
loop - Boolean If true start a loop with this task (all the meta_j2534)
loop_timeout_s - UnsignedInt Loop timeout , the loop stop after this duration
loop_count_max - UnsignedInt Loop Max count, the loop stop if the count is reached
loop_expected_period_us - UnsignedInt Loop expected period in micro second
meta_j2534_list - [meta_j2534__MetaJ2534_Input] Meta j2534 array
Example
{
  "version": 123,
  "last_task": true,
  "loop": true,
  "loop_timeout_s": 123,
  "loop_count_max": 123,
  "loop_expected_period_us": 123,
  "meta_j2534_list": [meta_j2534__MetaJ2534_Input]
}

metadata_attributes

Fields
Field Name Description
key - String
value - String
devices_trip_id - String
Example
{
  "key": "xyz789",
  "value": "abc123",
  "devices_trip_id": "xyz789"
}

metadata_attributes_Input

Fields
Input Field Description
key - String
value - String
devices_trip_id - String
Example
{
  "key": "xyz789",
  "value": "abc123",
  "devices_trip_id": "abc123"
}

metadata_const

Values
Enum Value Description

metadata

Example
"metadata"

munic__remote_diagnostic__interactive__Action_Input

Fields
Input Field Description
id - String
Example
{"id": "xyz789"}

munic__remote_diagnostic__interactive__MetaTask

Fields
Field Name Description
action_id - String
tasks - [meta_j2534__Task] string session_id = 2;
Example
{
  "action_id": "abc123",
  "tasks": [meta_j2534__Task]
}

munic__remote_diagnostic__interactive__MetaTask_Input

Fields
Input Field Description
action_id - String
tasks - [meta_j2534__Task_Input] string session_id = 2;
Example
{
  "action_id": "abc123",
  "tasks": [meta_j2534__Task_Input]
}

munic__remote_diagnostic__interactive__Response

Fields
Field Name Description
j2534_msgs - [j2534__J2534Msg]
Example
{"j2534_msgs": [j2534__J2534Msg]}

mutationInput_add_driver_authorized_vehicles_input_data_items_Input

Fields
Input Field Description
type - vehicles_const!
id - ID!
Example
{"type": "vehicles", "id": 4}

mutationInput_add_vehicle_authorized_drivers_input_data_items_Input

Fields
Input Field Description
type - drivers_const!
id - ID!
Example
{"type": "drivers", "id": "4"}

mutationInput_post_actions_input_data_Input

Fields
Input Field Description
type - actions_const!
id - ID!
attributes - mutationInput_post_actions_input_data_attributes_Input!
Example
{
  "type": "actions",
  "id": "4",
  "attributes": mutationInput_post_actions_input_data_attributes_Input
}

mutationInput_post_actions_input_data_attributes_Input

Example
{
  "stack": mutationInput_post_actions_input_data_attributes_stack_Input,
  "j2534_tasks": mutationInput_post_actions_input_data_attributes_j2534_tasks_Input
}

mutationInput_post_actions_input_data_attributes_j2534_tasks_Input

Fields
Input Field Description
name - String
tasks - [Task_Input]
Example
{
  "name": "abc123",
  "tasks": [Task_Input]
}

mutationInput_post_actions_input_data_attributes_stack_Input

Fields
Input Field Description
Stack_Input - Stack_Input
EndOfProcess_Input - EndOfProcess_Input
Example
{
  "Stack_Input": Stack_Input,
  "EndOfProcess_Input": EndOfProcess_Input
}

mutationInput_post_actions_input_data_attributes_stack_oneOf_0_buses_items_Input

Fields
Input Field Description
bus_id - String!
pin_h - Int!
pin_l - Int!
baudrate - Int!
protocol - mutationInput_post_actions_input_data_attributes_stack_oneOf_0_buses_items_protocol!
Example
{
  "bus_id": "abc123",
  "pin_h": 123,
  "pin_l": 987,
  "baudrate": 123,
  "protocol": "isoTP"
}

mutationInput_post_actions_input_data_attributes_stack_oneOf_0_buses_items_protocol

Values
Enum Value Description

isoTP

rawCan

Example
"isoTP"

mutationInput_post_actions_input_data_attributes_stack_oneOf_0_commands_items_Input

Fields
Input Field Description
command_id - String!
ecu_id - String!
payload - [Int]!
Example
{
  "command_id": "abc123",
  "ecu_id": "abc123",
  "payload": [123]
}

mutationInput_post_actions_input_data_attributes_stack_oneOf_0_ecus_items_Input

Fields
Input Field Description
ecu_id - String!
bus_id - String!
reqAdr - Int!
respAdr - Int!
rawAddrMask - Int
extended - Int
Example
{
  "ecu_id": "abc123",
  "bus_id": "abc123",
  "reqAdr": 123,
  "respAdr": 123,
  "rawAddrMask": 123,
  "extended": 987
}

mutationInput_post_actions_input_data_attributes_stack_oneOf_0_operations_items_Input

Fields
Input Field Description
operation_id - String!
depends - [String]
Example
{
  "operation_id": "xyz789",
  "depends": ["xyz789"]
}

mutationInput_post_actions_input_data_attributes_stack_oneOf_1_status

Values
Enum Value Description

SUCCESS

ERROR

Example
"SUCCESS"

mutationInput_post_alerts_input_data_attributes_Input

Fields
Input Field Description
imei - String!
geofence_id - String!
state - mutationInput_post_alerts_input_data_attributes_state!
event_type - mutationInput_post_alerts_input_data_attributes_event_type!
position - point_Input!
started_at - DateTime
ended_at - DateTime
Example
{
  "imei": "abc123",
  "geofence_id": "xyz789",
  "state": "UNKNOWN",
  "event_type": "ENTRY",
  "position": point_Input,
  "started_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z"
}

mutationInput_post_alerts_input_data_attributes_event_type

Values
Enum Value Description

ENTRY

EXIT

CHRONO

Example
"ENTRY"

mutationInput_post_alerts_input_data_attributes_state

Values
Enum Value Description

UNKNOWN

PENDING

CONFIRMED

ABORTED

ENDED

Example
"UNKNOWN"

mutationInput_post_client_identifications_input_data_attributes_Input

Fields
Input Field Description
label - String!
client_reference_type - mutationInput_post_client_identifications_input_data_attributes_client_reference_type!
client_reference - ID!
number_of_onboardings - Int!
distributor_id - ID
default_user - ID
default_privacy_whitelisted_data - [mutationInput_post_client_identifications_input_data_attributes_default_privacy_whitelisted_data_items]!
Example
{
  "label": "xyz789",
  "client_reference_type": "group",
  "client_reference": 4,
  "number_of_onboardings": 123,
  "distributor_id": 4,
  "default_user": 4,
  "default_privacy_whitelisted_data": ["position"]
}

mutationInput_post_client_identifications_input_data_attributes_client_reference_type

Values
Enum Value Description

group

project

Example
"group"

mutationInput_post_client_identifications_input_data_attributes_default_privacy_whitelisted_data_items

Values
Enum Value Description

position

vehicle_identification

sim_identification

Example
"position"

mutationInput_post_doors_toggle_requests_input_data_attributes_Input

Fields
Input Field Description
imei - String!
account - String
action - mutationInput_post_doors_toggle_requests_input_data_attributes_action!
request_custom_id - String
process_kind - process_kind
Example
{
  "imei": "xyz789",
  "account": "xyz789",
  "action": "lock",
  "request_custom_id": "xyz789",
  "process_kind": "default_process"
}

mutationInput_post_doors_toggle_requests_input_data_attributes_action

Values
Enum Value Description

lock

unlock

Example
"lock"

mutationInput_post_driver_authorized_vehicles_input_data_attributes_Input

Fields
Input Field Description
vehicle_id - ID
driver_id - ID
start_at - DateTime
end_at - DateTime
Example
{
  "vehicle_id": "4",
  "driver_id": 4,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z"
}

mutationInput_post_driver_auxiliary_devices_input_data_attributes_Input

Fields
Input Field Description
id_key - String device identifier, mendatory phore rfid, nfc, Tag
label - String
tags - [String] Driver tags
kind - auxiliary_device_kind
sensor_functions - [auxiliary_device_sensor_function]
color - String
serial_number - String Device serial number
mac_address_hash - String required for sensors: the SHA-1 hash of the MAC address in uppercase, formatted as ^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$
settings - auxiliary_device_settings_Input
Example
{
  "id_key": "xyz789",
  "label": "abc123",
  "tags": ["xyz789"],
  "kind": "phone",
  "sensor_functions": ["temperature"],
  "color": "xyz789",
  "serial_number": "xyz789",
  "mac_address_hash": "xyz789",
  "settings": auxiliary_device_settings_Input
}

mutationInput_post_drop_data_requests_input_data_Input

Example
{
  "type": "drop_data_requests",
  "id": "xyz789",
  "attributes": mutationInput_post_drop_data_requests_input_data_attributes_Input
}

mutationInput_post_drop_data_requests_input_data_attributes_Input

Fields
Input Field Description
user_id - Int
status - mutationInput_post_drop_data_requests_input_data_attributes_status
imei - String!
Example
{
  "user_id": 987,
  "status": "created",
  "imei": "xyz789"
}

mutationInput_post_drop_data_requests_input_data_attributes_status

Values
Enum Value Description

created

ended

not_found

Example
"created"

mutationInput_post_engine_immobilizer_requests_input_data_attributes_Input

Fields
Input Field Description
imei - String!
account - String
action - mutationInput_post_engine_immobilizer_requests_input_data_attributes_action!
request_custom_id - String
process_kind - process_kind
Example
{
  "imei": "xyz789",
  "account": "abc123",
  "action": "enable_immobilizer",
  "request_custom_id": "abc123",
  "process_kind": "default_process"
}

mutationInput_post_engine_immobilizer_requests_input_data_attributes_action

Values
Enum Value Description

enable_immobilizer

disable_immobilizer

Example
"enable_immobilizer"

mutationInput_post_geofences_input_data_attributes_Input

Fields
Input Field Description
label - String!
description - String!
active - Boolean!
group_id - String
Example
{
  "label": "abc123",
  "description": "abc123",
  "active": true,
  "group_id": "xyz789"
}

mutationInput_post_geofences_relationships_devices_input_data_items_Input

Fields
Input Field Description
type - devices_const!
id - String!
Example
{"type": "devices", "id": "xyz789"}

mutationInput_post_geofences_relationships_groups_input_data_items_Input

Fields
Input Field Description
type - groups_const!
id - String!
Example
{"type": "groups", "id": "abc123"}

mutationInput_post_metadata_input_data_Input

Fields
Input Field Description
type - metadata_const!
attributes - metadata_attributes_Input!
Example
{
  "type": "metadata",
  "attributes": metadata_attributes_Input
}

mutationInput_post_schedules_input_data_attributes_Input

Fields
Input Field Description
week_days - mutationInput_post_schedules_input_data_attributes_week_days_Input!
geofence_id - String!
time_zone - timezone!
outside_of_slots - Boolean!
start_at - DateTime
end_at - DateTime
Example
{
  "week_days": mutationInput_post_schedules_input_data_attributes_week_days_Input,
  "geofence_id": "abc123",
  "time_zone": "Africa_Abidjan",
  "outside_of_slots": true,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z"
}

mutationInput_post_schedules_input_data_attributes_week_days_Input

Fields
Input Field Description
monday - [time_slot_Input]
tuesday - [time_slot_Input]
wednesday - [time_slot_Input]
thursday - [time_slot_Input]
friday - [time_slot_Input]
saturday - [time_slot_Input]
sunday - [time_slot_Input]
Example
{
  "monday": [time_slot_Input],
  "tuesday": [time_slot_Input],
  "wednesday": [time_slot_Input],
  "thursday": [time_slot_Input],
  "friday": [time_slot_Input],
  "saturday": [time_slot_Input],
  "sunday": [time_slot_Input]
}

mutationInput_post_shapes_input_data_attributes_Input

Fields
Input Field Description
geofence_id - String!
geometry_type - CIRCLE_const!
definition - circle_Input!
Example
{
  "geofence_id": "xyz789",
  "geometry_type": "CIRCLE",
  "definition": circle_Input
}

mutationInput_post_trip_tag_schedules_input_data_attributes_week_days_Input

Fields
Input Field Description
monday - [time_slot_Input]
tuesday - [time_slot_Input]
wednesday - [time_slot_Input]
thursday - [time_slot_Input]
friday - [time_slot_Input]
saturday - [time_slot_Input]
sunday - [time_slot_Input]
Example
{
  "monday": [time_slot_Input],
  "tuesday": [time_slot_Input],
  "wednesday": [time_slot_Input],
  "thursday": [time_slot_Input],
  "friday": [time_slot_Input],
  "saturday": [time_slot_Input],
  "sunday": [time_slot_Input]
}

mutationInput_post_trip_tag_schedules_input_data_relationships_Input

Fields
Input Field Description
devices - associated_devices_Input!
Example
{"devices": associated_devices_Input}

mutationInput_post_user_unlock_requests_input_data_attributes_Input

Fields
Input Field Description
identifier - user_unlock_request_identifier!
identifier_value - String!
Example
{
  "identifier": "email",
  "identifier_value": "xyz789"
}

mutationInput_post_user_unlocks_input_data_attributes_Input

Fields
Input Field Description
unlock_token - String!
Example
{"unlock_token": "abc123"}

mutationInput_post_v1_user_alert_notifications_input_data_Input

Example
{
  "type": "user_alert_notifications",
  "attributes": mutationInput_post_v1_user_alert_notifications_input_data_attributes_Input
}

mutationInput_post_v1_user_alert_notifications_input_data_attributes_Input

Fields
Input Field Description
uid - ID!
user_name - String!
type_of_alert - geofencing_const!
event_type - geofence_event_type!
geofence_id - ID!
should_verify_stay - Boolean
duration_in_seconds - Int duration in seconds
Example
{
  "uid": 4,
  "user_name": "xyz789",
  "type_of_alert": "geofencing",
  "event_type": "ENTRY",
  "geofence_id": 4,
  "should_verify_stay": true,
  "duration_in_seconds": 987
}

mutationInput_put_alert_input_data_attributes_Input

Fields
Input Field Description
imei - String!
geofence_id - String!
state - mutationInput_put_alert_input_data_attributes_state!
event_type - mutationInput_put_alert_input_data_attributes_event_type!
position - point_Input!
started_at - DateTime
ended_at - DateTime
Example
{
  "imei": "abc123",
  "geofence_id": "abc123",
  "state": "UNKNOWN",
  "event_type": "ENTRY",
  "position": point_Input,
  "started_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z"
}

mutationInput_put_alert_input_data_attributes_event_type

Values
Enum Value Description

ENTRY

EXIT

CHRONO

Example
"ENTRY"

mutationInput_put_alert_input_data_attributes_state

Values
Enum Value Description

UNKNOWN

PENDING

CONFIRMED

ABORTED

ENDED

Example
"UNKNOWN"

mutationInput_put_driver_authorized_vehicle_input_data_attributes_Input

Fields
Input Field Description
vehicle_id - ID
driver_id - ID
start_at - DateTime
end_at - DateTime
Example
{
  "vehicle_id": 4,
  "driver_id": "4",
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z"
}

mutationInput_put_driver_auxiliary_device_input_data_attributes_Input

Fields
Input Field Description
id_key - String custom identifier used as a reference
label - String
tags - [String] Driver tags
kind - auxiliary_device_kind
sensor_functions - [auxiliary_device_sensor_function]
color - String
serial_number - String Device serial number
settings - auxiliary_device_settings_Input
mac_address_hash - String required for sensors: the SHA-1 hash of the MAC address in uppercase, formatted as ^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$
action - renewToken_const
token_max_ttl - Int The number of seconds the token remains valid. The actual token TTL may be shorter than the requested TTL if the driver's authorization on one of the authorized vehicles is set to expire earlier. This ensures that the token does not outlast the driver's access permissions. This field should only be used when action = renewToken
token_targeted_vehicle_ids - [ID] A list of vehicle IDs that restrict the token's usage to a specific set of the driver authorized vehicles. If provided, the token will only be valid for the specified vehicles. This field should only be used when action = renewToken
token_targeted_device_ids - [ID] A list of device IDs (dongle IMEIs) that restrict the token's usage to specific devices that are onboarded on authorized vehicles. If provided, the token will only be valid for the specified devices. This field should only be used when action = renewToken.
Example
{
  "id_key": "abc123",
  "label": "xyz789",
  "tags": ["xyz789"],
  "kind": "phone",
  "sensor_functions": ["temperature"],
  "color": "xyz789",
  "serial_number": "abc123",
  "settings": auxiliary_device_settings_Input,
  "mac_address_hash": "abc123",
  "action": "renewToken",
  "token_max_ttl": 987,
  "token_targeted_vehicle_ids": ["4"],
  "token_targeted_device_ids": [4]
}

mutationInput_put_geofence_input_data_attributes_Input

Fields
Input Field Description
label - String!
description - String!
active - Boolean!
group_id - String
Example
{
  "label": "xyz789",
  "description": "xyz789",
  "active": true,
  "group_id": "xyz789"
}

mutationInput_put_schedule_input_data_attributes_Input

Fields
Input Field Description
week_days - mutationInput_put_schedule_input_data_attributes_week_days_Input!
geofence_id - String!
time_zone - timezone!
outside_of_slots - Boolean!
start_at - DateTime
end_at - DateTime
Example
{
  "week_days": mutationInput_put_schedule_input_data_attributes_week_days_Input,
  "geofence_id": "xyz789",
  "time_zone": "Africa_Abidjan",
  "outside_of_slots": true,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z"
}

mutationInput_put_schedule_input_data_attributes_week_days_Input

Fields
Input Field Description
monday - [time_slot_Input]
tuesday - [time_slot_Input]
wednesday - [time_slot_Input]
thursday - [time_slot_Input]
friday - [time_slot_Input]
saturday - [time_slot_Input]
sunday - [time_slot_Input]
Example
{
  "monday": [time_slot_Input],
  "tuesday": [time_slot_Input],
  "wednesday": [time_slot_Input],
  "thursday": [time_slot_Input],
  "friday": [time_slot_Input],
  "saturday": [time_slot_Input],
  "sunday": [time_slot_Input]
}

mutationInput_put_shape_input_data_attributes_Input

Fields
Input Field Description
geofence_id - String!
geometry_type - CIRCLE_const!
definition - circle_Input!
Example
{
  "geofence_id": "abc123",
  "geometry_type": "CIRCLE",
  "definition": circle_Input
}

mutationInput_put_v1_user_alert_notifications_by_id_input_data_Input

Example
{
  "type": "user_alert_notifications",
  "id": 4,
  "attributes": mutationInput_put_v1_user_alert_notifications_by_id_input_data_attributes_Input
}

mutationInput_put_v1_user_alert_notifications_by_id_input_data_attributes_Input

Fields
Input Field Description
event_type - geofence_event_type
geofence_id - ID!
should_verify_stay - Boolean
duration_in_seconds - Int duration in seconds
Example
{
  "event_type": "ENTRY",
  "geofence_id": "4",
  "should_verify_stay": false,
  "duration_in_seconds": 987
}

mutationInput_update_trip_tag_schedule_input_data_attributes_week_days_Input

Fields
Input Field Description
monday - [time_slot_Input]
tuesday - [time_slot_Input]
wednesday - [time_slot_Input]
thursday - [time_slot_Input]
friday - [time_slot_Input]
saturday - [time_slot_Input]
sunday - [time_slot_Input]
Example
{
  "monday": [time_slot_Input],
  "tuesday": [time_slot_Input],
  "wednesday": [time_slot_Input],
  "thursday": [time_slot_Input],
  "friday": [time_slot_Input],
  "saturday": [time_slot_Input],
  "sunday": [time_slot_Input]
}

mutation_create_device_token_oneOf_0_data_attributes

Fields
Field Name Description
device_ids - [ID]! A list of device IDs (dongle IMEIs) that restrict the token's usage to specific devices. If provided, the token will only be valid for the specified devices.
start_at - DateTime
end_at - DateTime
token - String
created_at - DateTime
updated_at - DateTime
Example
{
  "device_ids": [4],
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "token": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

mutation_post_actions_data

Fields
Field Name Description
type - actions_const!
id - ID!
attributes - mutation_post_actions_data_attributes!
Example
{
  "type": "actions",
  "id": "4",
  "attributes": mutation_post_actions_data_attributes
}

mutation_post_actions_data_attributes

Fields
Field Name Description
action_type - String!
status - String!
failure_reason - String
progress - Float
ecus - [Int]
pids - [Int]
Example
{
  "action_type": "xyz789",
  "status": "abc123",
  "failure_reason": "xyz789",
  "progress": 123.45,
  "ecus": [987],
  "pids": [987]
}

mutation_post_metadata_data

Fields
Field Name Description
id - ID!
type - metadata_const!
attributes - metadata_attributes!
Example
{
  "id": "4",
  "type": "metadata",
  "attributes": metadata_attributes
}

onboarding_query_client_identifications_data_items_attributes

Fields
Field Name Description
label - String
client_reference_type - query_client_identifications_data_items_attributes_client_reference_type!
client_reference - ID!
number_of_onboardings - Int!
number_of_started_onboardings - Int
code - String
distributor_id - ID
default_user - ID
default_privacy_whitelisted_data - [query_client_identifications_data_items_attributes_default_privacy_whitelisted_data_items]
Example
{
  "label": "xyz789",
  "client_reference_type": "group",
  "client_reference": 4,
  "number_of_onboardings": 123,
  "number_of_started_onboardings": 987,
  "code": "xyz789",
  "distributor_id": "4",
  "default_user": "4",
  "default_privacy_whitelisted_data": ["position"]
}

organization_attributes

Fields
Field Name Description
name - String
user_count - Int
verified - Boolean
Example
{
  "name": "abc123",
  "user_count": 123,
  "verified": true
}

organization_attributes_Input

Fields
Input Field Description
name - String
user_count - Int
verified - Boolean
Example
{
  "name": "xyz789",
  "user_count": 987,
  "verified": false
}

organization_encapsulated

Fields
Field Name Description
data - sso_organization!
Example
{"data": sso_organization}

organization_encapsulated_post_Input

Fields
Input Field Description
data - organization_post_Input!
Example
{"data": organization_post_Input}

organization_paginated

Fields
Field Name Description
data - [sso_organization]!
meta - meta
Example
{
  "data": [sso_organization],
  "meta": meta
}

organization_post_Input

Fields
Input Field Description
type - organizations_const!
id - ID
attributes - organization_attributes_Input!
Example
{
  "type": "organizations",
  "id": 4,
  "attributes": organization_attributes_Input
}

organization_response

Types
Union Types

organization_encapsulated

errors

Example
organization_encapsulated

organizations_const

Values
Enum Value Description

organizations

Example
"organizations"

point

Fields
Field Name Description
longitude - Float! In degree
latitude - Float! In degree
Example
{"longitude": 123.45, "latitude": 123.45}

point_Input

Fields
Input Field Description
longitude - Float! In degree
latitude - Float! In degree
Example
{"longitude": 987.65, "latitude": 987.65}

positions_const

Values
Enum Value Description

positions

Example
"positions"

post_driver_authorized_vehicles_response

Example
driver_authorized_vehicle_show

post_driver_auxiliary_devices_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

post_metadata_request_Input

Fields
Input Field Description
data - mutationInput_post_metadata_input_data_Input!
Example
{"data": mutationInput_post_metadata_input_data_Input}

post_metadata_response

Fields
Field Name Description
data - mutation_post_metadata_data!
Example
{"data": mutation_post_metadata_data}

post_organization_response

Types
Union Types

organization_encapsulated

errors

Example
organization_encapsulated

post_reports_response

Types
Union Types

report_encapsulated

errors

Example
report_encapsulated

post_trip_tag_schedules_response

Example
trip_tag_schedule_encapsulated

post_user_alert_notification_Input

Example
{
  "data": mutationInput_post_v1_user_alert_notifications_input_data_Input
}

post_user_unlock_requests_response

Types
Union Types

user_unlock_request_show

errors

Example
user_unlock_request_show

post_user_unlocks_response

Types
Union Types

user_unlock_show

errors

Example
user_unlock_show

post_v1_fleet_summaries_response

Types
Union Types

fleet_summary

errors

Example
fleet_summary

post_v1_user_alert_notifications_response

Example
fetch_user_alert_notification_encapsulated

post_vehicle_auxiliary_devices_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

postal_address

Fields
Field Name Description
country_code - String
country - String
state - String
county - String
city - String
postal_code - String
street - String
street_number - String
Example
{
  "country_code": "abc123",
  "country": "abc123",
  "state": "xyz789",
  "county": "abc123",
  "city": "xyz789",
  "postal_code": "abc123",
  "street": "xyz789",
  "street_number": "abc123"
}

process_kind

Values
Enum Value Description

default_process

sms

workflow

message

optimized

optimized_message

optimized_workflow

Example
"default_process"

process_status

Description

The status field is only applicable if process_kind is 'default', 'workflow', or 'optimized_workflow'. For other process kinds, the status value will be 'unknown'.

Values
Enum Value Description

unknown

created

pending

in_progress

acknowledged

completed

succeeded

failed

timed_out

Example
"unknown"

put_driver_authorized_vehicle_response

Example
driver_authorized_vehicle_show

put_driver_auxiliary_device_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

put_user_alert_notification_Input

Example
{
  "data": mutationInput_put_v1_user_alert_notifications_by_id_input_data_Input
}

put_v1_user_alert_notifications_by_id_response

Example
fetch_user_alert_notification_encapsulated

put_vehicle_auxiliary_device_response

Types
Union Types

auxiliary_device_show

errors

Example
auxiliary_device_show

queryInput_alerts_sort

Description

sort results by field

Values
Enum Value Description

id

imei

geofence_id

state

event_type

started_at

group_id

ended_at

created_at

updated_at

_id

_imei

_geofence_id

_state

_event_type

_started_at

_group_id

_ended_at

_created_at

_updated_at

Example
"id"

queryInput_autocompletes_input_data_attributes_Input

Fields
Input Field Description
place - String!
with_locations - Boolean
Example
{"place": "abc123", "with_locations": true}

queryInput_devices_alerts_sort

Description

sort results by field

Values
Enum Value Description

id

imei

geofence_id

state

event_type

started_at

group_id

ended_at

position

created_at

updated_at

_id

_imei

_geofence_id

_state

_event_type

_started_at

_group_id

_ended_at

_position

_created_at

_updated_at

Example
"id"

queryInput_devices_geofences_sort

Description

sort results by field

Values
Enum Value Description

id

label

description

active

group_id

created_at

updated_at

_id

_label

_description

_active

_group_id

_created_at

_updated_at

Example
"id"

queryInput_geocodes_input_data_attributes_Input

Fields
Input Field Description
addresses - [queryInput_geocodes_input_data_attributes_addresses_items_Input]!
Example
{
  "addresses": [
    queryInput_geocodes_input_data_attributes_addresses_items_Input
  ]
}

queryInput_geocodes_input_data_attributes_addresses_items_Input

Fields
Input Field Description
country_code - String
country - String
state - String
county - String
city - String
postal_code - String
road_number - String
street - String
street_number - String
district - String
Example
{
  "country_code": "abc123",
  "country": "abc123",
  "state": "xyz789",
  "county": "xyz789",
  "city": "xyz789",
  "postal_code": "abc123",
  "road_number": "xyz789",
  "street": "xyz789",
  "street_number": "xyz789",
  "district": "abc123"
}

queryInput_geofences_alerts_sort

Description

sort results by field

Values
Enum Value Description

id

imei

geofence_id

state

event_type

started_at

group_id

ended_at

created_at

updated_at

_id

_imei

_geofence_id

_state

_event_type

_started_at

_group_id

_ended_at

_created_at

_updated_at

Example
"id"

queryInput_geofences_devices_sort

Description

sort results by field

Values
Enum Value Description

id

imei

account

_id

_imei

_account

Example
"id"

queryInput_geofences_relationships_devices_sort

Description

sort results by field

Values
Enum Value Description

id

imei

account

_id

_imei

_account

Example
"id"

queryInput_geofences_schedules_sort

Description

sort results by field

Values
Enum Value Description

id

week_days

time_zone

outside_of_slots

start_at

end_at

geofence_id

group_id

created_at

updated_at

_id

_week_days

_time_zone

_outside_of_slots

_start_at

_end_at

_geofence_id

_group_id

_created_at

_updated_at

Example
"id"

queryInput_geofences_shapes_sort

Description

sort results by field

Values
Enum Value Description

id

imei

account

_id

_imei

_account

Example
"id"

queryInput_geofences_sort

Description

sort results by field

Values
Enum Value Description

id

label

description

active

group_id

created_at

updated_at

_id

_label

_description

_active

_group_id

_created_at

_updated_at

Example
"id"

queryInput_revcodes_input_data_attributes_Input

Fields
Input Field Description
locations - [queryInput_revcodes_input_data_attributes_locations_items_Input]!
Example
{
  "locations": [
    queryInput_revcodes_input_data_attributes_locations_items_Input
  ]
}

queryInput_revcodes_input_data_attributes_locations_items_Input

Fields
Input Field Description
lon - Float
lat - Float
Example
{"lon": 123.45, "lat": 987.65}

queryInput_schedules_sort

Description

sort results by field

Values
Enum Value Description

id

week_days

time_zone

outside_of_slots

start_at

end_at

geofence_id

group_id

created_at

updated_at

_id

_week_days

_time_zone

_outside_of_slots

_start_at

_end_at

_geofence_id

_group_id

_created_at

_updated_at

Example
"id"

queryInput_shapes_sort

Description

sort results by field

Values
Enum Value Description

id

imei

account

_id

_imei

_account

Example
"id"

queryInput_users_sort

Description

sort results by field

Values
Enum Value Description

id

full_name

uid

role

_id

_full_name

_uid

_role

Example
"id"

queryInput_vehicles_refills_fields_LEFT_SQUARE_BRACE_refills_RIGHT_SQUARE_BRACE__items

Values
Enum Value Description

product

quantity

amount_net

amount_gross

mileage

currency

event_time

Example
"product"

queryInput_vehicles_refills_sort_items

Values
Enum Value Description

id

product

quantity

amount_net

amount_gross

mileage

currency

event_time

_id

_product

_quantity

_amount_net

_amount_gross

_mileage

_currency

_event_time

Example
"id"

query_actions_requests_data

Fields
Field Name Description
type - requests_const!
id - ID!
attributes - query_actions_requests_data_attributes!
Example
{
  "type": "requests",
  "id": "4",
  "attributes": query_actions_requests_data_attributes
}

query_actions_requests_data_attributes

Fields
Field Name Description
action_id - Int
j2534_tasks - query_actions_requests_data_attributes_j2534_tasks
Example
{
  "action_id": 987,
  "j2534_tasks": query_actions_requests_data_attributes_j2534_tasks
}

query_actions_requests_data_attributes_j2534_tasks

Fields
Field Name Description
tasks - [Task]
Example
{"tasks": [Task]}

query_actions_responses_data

Fields
Field Name Description
type - responses_const!
id - ID!
attributes - query_actions_responses_data_attributes!
Example
{
  "type": "responses",
  "id": 4,
  "attributes": query_actions_responses_data_attributes
}

query_actions_responses_data_attributes

Fields
Field Name Description
action_id - Int
j2534 - [Task]
Example
{"action_id": 987, "j2534": [Task]}

query_alerts_data_items_attributes_event_type

Values
Enum Value Description

ENTRY

EXIT

CHRONO

Example
"ENTRY"

query_alerts_data_items_attributes_state

Values
Enum Value Description

UNKNOWN

PENDING

CONFIRMED

ABORTED

ENDED

Example
"UNKNOWN"

query_autocompletes_oneOf_0_data_attributes

Fields
Field Name Description
addresses - [query_autocompletes_oneOf_0_data_attributes_addresses_items]!
Example
{
  "addresses": [
    query_autocompletes_oneOf_0_data_attributes_addresses_items
  ]
}

query_autocompletes_oneOf_0_data_attributes_addresses_items

Fields
Field Name Description
country_code - String
country - String
state - String
county - String
district - String
city - String
postal_code - String
road_number - String
street - String
street_number - String
lon - Float
lat - Float
Example
{
  "country_code": "xyz789",
  "country": "abc123",
  "state": "abc123",
  "county": "xyz789",
  "district": "xyz789",
  "city": "abc123",
  "postal_code": "abc123",
  "road_number": "abc123",
  "street": "abc123",
  "street_number": "abc123",
  "lon": 123.45,
  "lat": 987.65
}

query_client_identifications_data_items_attributes_client_reference_type

Values
Enum Value Description

group

project

Example
"group"

query_client_identifications_data_items_attributes_default_privacy_whitelisted_data_items

Values
Enum Value Description

position

vehicle_identification

sim_identification

Example
"position"

query_device_data_attributes

Fields
Field Name Description
imei - String!
account - String!
Example
{
  "imei": "xyz789",
  "account": "abc123"
}

query_device_data_attributes_Input

Fields
Input Field Description
imei - String!
account - String!
Example
{
  "imei": "abc123",
  "account": "xyz789"
}

query_device_summary_data

Fields
Field Name Description
attributes - summary_attributes!
Example
{"attributes": summary_attributes}

query_doors_toggle_requests_data_items_attributes

Fields
Field Name Description
imei - String!
account - String
created_at - String
action - query_doors_toggle_requests_data_items_attributes_action!
request_custom_id - String
process_kind - process_kind
status - process_status
Example
{
  "imei": "xyz789",
  "account": "abc123",
  "created_at": "abc123",
  "action": "lock",
  "request_custom_id": "abc123",
  "process_kind": "default_process",
  "status": "unknown"
}

query_doors_toggle_requests_data_items_attributes_action

Values
Enum Value Description

lock

unlock

Example
"lock"

query_driver_authorized_vehicles_oneOf_0_data_items_attributes

Fields
Field Name Description
vehicle_id - ID!
driver_id - ID
active - Boolean
start_at - DateTime
end_at - DateTime
created_at - DateTime
updated_at - DateTime
Example
{
  "vehicle_id": 4,
  "driver_id": 4,
  "active": true,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

query_driver_auxiliary_devices_oneOf_0_data_items_attributes

Fields
Field Name Description
id_key - String custom identifier used as a reference
label - String!
tags - [String] Driver tags
kind - auxiliary_device_kind!
sensor_functions - [auxiliary_device_sensor_function]
color - String
serial_number - String Device serial number
mac_address_hash - String required for sensors: the SHA-1 hash of the MAC address in uppercase, formatted as ^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$
first_connection_at - DateTime
last_connection_at - DateTime
settings - auxiliary_device_settings
created_at - DateTime
updated_at - String Current paired device IMEI
bluetooth_token - String Token used for bluetooth pairing, only returned when renewToken action has been called
Example
{
  "id_key": "abc123",
  "label": "abc123",
  "tags": ["abc123"],
  "kind": "phone",
  "sensor_functions": ["temperature"],
  "color": "abc123",
  "serial_number": "xyz789",
  "mac_address_hash": "abc123",
  "first_connection_at": "2007-12-03T10:15:30Z",
  "last_connection_at": "2007-12-03T10:15:30Z",
  "settings": auxiliary_device_settings,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "xyz789",
  "bluetooth_token": "xyz789"
}

query_engine_immobilizer_requests_data_items_attributes

Fields
Field Name Description
imei - String!
account - String
created_at - String
action - query_engine_immobilizer_requests_data_items_attributes_action!
request_custom_id - String
process_kind - process_kind
status - process_status
Example
{
  "imei": "abc123",
  "account": "abc123",
  "created_at": "abc123",
  "action": "enable_immobilizer",
  "request_custom_id": "abc123",
  "process_kind": "default_process",
  "status": "unknown"
}

query_engine_immobilizer_requests_data_items_attributes_action

Values
Enum Value Description

enable_immobilizer

disable_immobilizer

Example
"enable_immobilizer"

query_geocodes_oneOf_0_data_attributes

Example
{
  "locations": [
    query_geocodes_oneOf_0_data_attributes_locations_items
  ],
  "addresses": [
    query_geocodes_oneOf_0_data_attributes_addresses_items
  ]
}

query_geocodes_oneOf_0_data_attributes_addresses_items

Fields
Field Name Description
country_code - String
country - String
state - String
county - String
city - String
postal_code - String
road_number - String
street - String
street_number - String
district - String
Example
{
  "country_code": "xyz789",
  "country": "xyz789",
  "state": "xyz789",
  "county": "xyz789",
  "city": "abc123",
  "postal_code": "abc123",
  "road_number": "abc123",
  "street": "abc123",
  "street_number": "xyz789",
  "district": "abc123"
}

query_geocodes_oneOf_0_data_attributes_locations_items

Fields
Field Name Description
lon - Float
lat - Float
Example
{"lon": 123.45, "lat": 123.45}

query_get_trip_oneOf_0_data_attributes_statistics

Fields
Field Name Description
distance_in_m - Int
max_speed - Float
average_speed - Float
tow_away - Boolean
driver_badge_id - String
overspeed_distance_in_m - Int
overspeed_duration_in_s - Int
driving_duration_in_s - Int
idling_duration_in_s - Int
daytime_duration_in_s - Int
nb_harsh_acceleration - Int
nb_harsh_braking - Int
nb_harsh_cornering - Int
nb_overspeed - Int
overconsumption_gap_percentage - Int
overemission_gap_percentage - Int
safety_score - Float
eco_driving_score - Float
overspeed_score - Float
fuel_efficiency_in_l_per_100_km - Float
fuel_estimation_in_ml - Int
co2_estimation_in_g - Int
start_weather_description - String
end_weather_description - String
start_weather_temperature - Float
end_weather_temperature - Float
start_weather_type_id - Int
end_weather_type_id - Int
end_mileage - Float
end_fuel_level_percent - Float
end_charge_level_percent - Float
electric_energy_consumption_in_kwh - Float
electric_energy_consumption_in_percent - Float
Example
{
  "distance_in_m": 987,
  "max_speed": 987.65,
  "average_speed": 987.65,
  "tow_away": true,
  "driver_badge_id": "xyz789",
  "overspeed_distance_in_m": 987,
  "overspeed_duration_in_s": 123,
  "driving_duration_in_s": 123,
  "idling_duration_in_s": 123,
  "daytime_duration_in_s": 123,
  "nb_harsh_acceleration": 987,
  "nb_harsh_braking": 123,
  "nb_harsh_cornering": 123,
  "nb_overspeed": 123,
  "overconsumption_gap_percentage": 987,
  "overemission_gap_percentage": 123,
  "safety_score": 123.45,
  "eco_driving_score": 123.45,
  "overspeed_score": 123.45,
  "fuel_efficiency_in_l_per_100_km": 987.65,
  "fuel_estimation_in_ml": 123,
  "co2_estimation_in_g": 987,
  "start_weather_description": "abc123",
  "end_weather_description": "xyz789",
  "start_weather_temperature": 987.65,
  "end_weather_temperature": 987.65,
  "start_weather_type_id": 987,
  "end_weather_type_id": 123,
  "end_mileage": 123.45,
  "end_fuel_level_percent": 987.65,
  "end_charge_level_percent": 123.45,
  "electric_energy_consumption_in_kwh": 987.65,
  "electric_energy_consumption_in_percent": 987.65
}

query_get_trip_oneOf_0_data_relationships

Fields
Field Name Description
metadata - query_get_trip_oneOf_0_data_relationships_metadata
Example
{
  "metadata": query_get_trip_oneOf_0_data_relationships_metadata
}

query_get_trip_oneOf_0_data_relationships_metadata

Example
{
  "data": [
    query_get_trip_oneOf_0_data_relationships_metadata_data_items
  ]
}

query_get_trip_oneOf_0_data_relationships_metadata_data_items

Fields
Field Name Description
id - ID
type - metadata_const
attributes - metadata_attributes
Example
{
  "id": 4,
  "type": "metadata",
  "attributes": metadata_attributes
}

query_get_trip_oneOf_0_included_items

Fields
Field Name Description
id - ID!
type - metadata_const!
attributes - metadata_attributes
Example
{
  "id": "4",
  "type": "metadata",
  "attributes": metadata_attributes
}

query_post_v1_fleet_summaries_oneOf_0_data

Fields
Field Name Description
type - fleet_summaries_const!
id - ID!
attributes - query_post_v1_fleet_summaries_oneOf_0_data_attributes!
Example
{
  "type": "fleet_summaries",
  "id": 4,
  "attributes": query_post_v1_fleet_summaries_oneOf_0_data_attributes
}

query_post_v1_fleet_summaries_oneOf_0_data_Input

Fields
Input Field Description
type - fleet_summaries_const!
id - ID!
attributes - query_post_v1_fleet_summaries_oneOf_0_data_attributes_Input!
Example
{
  "type": "fleet_summaries",
  "id": "4",
  "attributes": query_post_v1_fleet_summaries_oneOf_0_data_attributes_Input
}

query_post_v1_fleet_summaries_oneOf_0_data_attributes

Example
{
  "fleets": [
    va_query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items
  ]
}

query_post_v1_fleet_summaries_oneOf_0_data_attributes_Input

Example
{
  "fleets": [
    query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_Input
  ]
}

query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_Input

Fields
Input Field Description
from_date - DateTime
to_date - DateTime
group_id - ID!
stats - query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats_Input
Example
{
  "from_date": "2007-12-03T10:15:30Z",
  "to_date": "2007-12-03T10:15:30Z",
  "group_id": "4",
  "stats": query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats_Input
}

query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats

Fields
Field Name Description
discharge_alerts_count - Int!
soc_alerts_count - Int!
mil_alerts_count - Int!
unplug_alerts_count - Int!
devices_count - Int!
Example
{
  "discharge_alerts_count": 123,
  "soc_alerts_count": 123,
  "mil_alerts_count": 987,
  "unplug_alerts_count": 123,
  "devices_count": 987
}

query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats_Input

Fields
Input Field Description
discharge_alerts_count - Int!
soc_alerts_count - Int!
mil_alerts_count - Int!
unplug_alerts_count - Int!
devices_count - Int!
Example
{
  "discharge_alerts_count": 123,
  "soc_alerts_count": 987,
  "mil_alerts_count": 123,
  "unplug_alerts_count": 123,
  "devices_count": 987
}

query_request_setup_status_data_attributes

Fields
Field Name Description
cloud_connection - setup_status!
configuration - setup_status!
gnss - setup_status!
stable_power_supply - setup_status!
multistacks - setup_status!
multistacks_data - setup_status!
Example
{
  "cloud_connection": "UNKNOWN",
  "configuration": "UNKNOWN",
  "gnss": "UNKNOWN",
  "stable_power_supply": "UNKNOWN",
  "multistacks": "UNKNOWN",
  "multistacks_data": "UNKNOWN"
}

query_revcodes_oneOf_0_data_attributes

Fields
Field Name Description
addresses - [query_revcodes_oneOf_0_data_attributes_addresses_items]!
Example
{
  "addresses": [
    query_revcodes_oneOf_0_data_attributes_addresses_items
  ]
}

query_revcodes_oneOf_0_data_attributes_addresses_items

Fields
Field Name Description
country_code - String
country - String
state - String
county - String
city - String
postal_code - String
road_number - String
street - String
street_number - String
district - String
Example
{
  "country_code": "abc123",
  "country": "abc123",
  "state": "xyz789",
  "county": "abc123",
  "city": "abc123",
  "postal_code": "abc123",
  "road_number": "xyz789",
  "street": "abc123",
  "street_number": "abc123",
  "district": "xyz789"
}

query_schedules_data_items_attributes_week_days

Fields
Field Name Description
monday - [time_slot]
tuesday - [time_slot]
wednesday - [time_slot]
thursday - [time_slot]
friday - [time_slot]
saturday - [time_slot]
sunday - [time_slot]
Example
{
  "monday": [time_slot],
  "tuesday": [time_slot],
  "wednesday": [time_slot],
  "thursday": [time_slot],
  "friday": [time_slot],
  "saturday": [time_slot],
  "sunday": [time_slot]
}

query_sso_user_oneOf_0_data

Fields
Field Name Description
type - users_const!
id - ID
attributes - query_sso_user_oneOf_0_data_attributes!
Example
{
  "type": "users",
  "id": 4,
  "attributes": query_sso_user_oneOf_0_data_attributes
}

query_sso_user_oneOf_0_data_attributes

Fields
Field Name Description
full_name - String
email - String
locked - Boolean!
suspended - Boolean!
Example
{
  "full_name": "xyz789",
  "email": "xyz789",
  "locked": false,
  "suspended": true
}

query_trip_harshes_data_items_attributes_kind

Values
Enum Value Description

left_cornering

right_cornering

acceleration

braking

Example
"left_cornering"

query_trip_tag_schedules_data_items_attributes_week_days

Fields
Field Name Description
monday - [time_slot]
tuesday - [time_slot]
wednesday - [time_slot]
thursday - [time_slot]
friday - [time_slot]
saturday - [time_slot]
sunday - [time_slot]
Example
{
  "monday": [time_slot],
  "tuesday": [time_slot],
  "wednesday": [time_slot],
  "thursday": [time_slot],
  "friday": [time_slot],
  "saturday": [time_slot],
  "sunday": [time_slot]
}

query_user_data_Input

Fields
Input Field Description
type - users_const!
id - String
attributes - query_user_data_attributes_Input!
Example
{
  "type": "users",
  "id": "abc123",
  "attributes": query_user_data_attributes_Input
}

query_user_data_attributes_Input

Fields
Input Field Description
uid - String!
full_name - String
role - query_user_data_attributes_role!
Example
{
  "uid": "abc123",
  "full_name": "abc123",
  "role": "user"
}

query_user_data_attributes_role

Values
Enum Value Description

user

admin

Example
"user"

query_vehicle_authorized_drivers_oneOf_0_data_items_attributes

Fields
Field Name Description
id_key - String custom identifier used as a reference
label - String!
user_contact_id - UUID Driver contact associated Munic connect account
user_profile_id - UUID Driver associated Munic connect account
Example
{
  "id_key": "abc123",
  "label": "abc123",
  "user_contact_id": "8f413aac-34ba-46f0-b7d7-18001aca09b2",
  "user_profile_id": "8f413aac-34ba-46f0-b7d7-18001aca09b2"
}

query_vehicles_refills_oneOf_0_data_items_attributes

Fields
Field Name Description
product - String
quantity - Float
amount_net - Float
amount_gross - Float
mileage - Float
currency - String
event_time - String
Example
{
  "product": "xyz789",
  "quantity": 123.45,
  "amount_net": 987.65,
  "amount_gross": 123.45,
  "mileage": 123.45,
  "currency": "abc123",
  "event_time": "abc123"
}

query_vehicles_refills_oneOf_0_data_items_relationships_additionalProperties

Example
{
  "links": query_vehicles_refills_oneOf_0_data_items_relationships_additionalProperties_links
}

query_vehicles_refills_oneOf_0_data_items_relationships_additionalProperties_entry

Example
{
  "key": 4,
  "value": query_vehicles_refills_oneOf_0_data_items_relationships_additionalProperties
}

refill_paged

Fields
Field Name Description
data - [data_fusion_refill]!
meta - meta!
links - links_for_paginated
Example
{
  "data": [data_fusion_refill],
  "meta": meta,
  "links": links_for_paginated
}

refills_const

Values
Enum Value Description

refills

Example
"refills"

relationships

Example
{
  "additionalProperties": [
    query_vehicles_refills_oneOf_0_data_items_relationships_additionalProperties_entry
  ]
}

remove_driver_authorized_vehicles_response

Types
Union Types

Void_container

errors

Example
Void_container

remove_vehicle_authorized_drivers_response

Types
Union Types

Void_container

errors

Example
Void_container

renewToken_const

Values
Enum Value Description

renewToken

Example
"renewToken"

replace_driver_authorized_vehicles_response

Types
Union Types

Void_container

errors

Example
Void_container

replace_vehicle_authorized_drivers_response

Types
Union Types

Void_container

errors

Example
Void_container

report_attributes

Fields
Field Name Description
group_id - ID
imei - ID
label - String
start_time - DateTime!
end_time - DateTime!
timezone - timezone
kind - report_kind!
status - report_status!
url - URL
xlsx_url - URL
progress - NonNegativeInt
Example
{
  "group_id": "4",
  "imei": 4,
  "label": "xyz789",
  "start_time": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z",
  "timezone": "Africa_Abidjan",
  "kind": "trips",
  "status": "pending",
  "url": "http://www.test.com/",
  "xlsx_url": "http://www.test.com/",
  "progress": 123
}

report_attributes_post_Input

Fields
Input Field Description
group_id - ID
imei - ID
timezone - timezone
start_time - DateTime!
end_time - DateTime!
kind - report_kind!
Example
{
  "group_id": 4,
  "imei": 4,
  "timezone": "Africa_Abidjan",
  "start_time": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z",
  "kind": "trips"
}

report_encapsulated

Fields
Field Name Description
data - journey_report!
Example
{"data": journey_report}

report_encapsulated_post_Input

Fields
Input Field Description
data - report_post_Input!
Example
{"data": report_post_Input}

report_kind

Description

Report kind

Values
Enum Value Description

trips

statistics

mileages

Example
"trips"

report_paginated

Fields
Field Name Description
data - [journey_report]!
meta - meta!
Example
{
  "data": [journey_report],
  "meta": meta
}

report_post_Input

Fields
Input Field Description
type - reports_const!
attributes - report_attributes_post_Input!
Example
{
  "type": "reports",
  "attributes": report_attributes_post_Input
}

report_response

Types
Union Types

report_encapsulated

errors

Example
report_encapsulated

report_status

Description

Report status

Values
Enum Value Description

pending

exported

mailed

notmailed

Example
"pending"

reports_const

Values
Enum Value Description

reports

Example
"reports"

reports_response

Types
Union Types

report_paginated

errors

Example
report_paginated

request_setup_status

Fields
Field Name Description
type - setup_statuses_const!
id - ID!
attributes - query_request_setup_status_data_attributes!
Example
{
  "type": "setup_statuses",
  "id": "4",
  "attributes": query_request_setup_status_data_attributes
}

request_setup_status_show

Fields
Field Name Description
data - request_setup_status
Example
{"data": request_setup_status}

requests

Fields
Field Name Description
data - query_actions_requests_data
Example
{"data": query_actions_requests_data}

requests_const

Values
Enum Value Description

requests

Example
"requests"

responses

Fields
Field Name Description
data - query_actions_responses_data
Example
{"data": query_actions_responses_data}

responses_const

Values
Enum Value Description

responses

Example
"responses"

revcode_create_Input

Fields
Input Field Description
data - revcode_post_Input!
Example
{"data": revcode_post_Input}

revcode_get

Fields
Field Name Description
type - revcodes_const!
id - ID!
attributes - query_revcodes_oneOf_0_data_attributes!
links - links_for_resource
Example
{
  "type": "revcodes",
  "id": 4,
  "attributes": query_revcodes_oneOf_0_data_attributes,
  "links": links_for_resource
}

revcode_post_Input

Fields
Input Field Description
type - revcodes_const!
attributes - queryInput_revcodes_input_data_attributes_Input!
Example
{
  "type": "revcodes",
  "attributes": queryInput_revcodes_input_data_attributes_Input
}

revcode_show

Fields
Field Name Description
data - revcode_get!
Example
{"data": revcode_get}

revcodes_const

Values
Enum Value Description

revcodes

Example
"revcodes"

revcodes_response

Types
Union Types

revcode_show

errors

Example
revcode_show

schedule_create_Input

Fields
Input Field Description
data - schedule_input_Input!
Example
{"data": schedule_input_Input}

schedule_input_Input

Fields
Input Field Description
type - schedules_const!
attributes - mutationInput_post_schedules_input_data_attributes_Input!
Example
{
  "type": "schedules",
  "attributes": mutationInput_post_schedules_input_data_attributes_Input
}

schedule_input_with_id_Input

Fields
Input Field Description
type - schedules_const!
id - String!
attributes - mutationInput_put_schedule_input_data_attributes_Input!
Example
{
  "type": "schedules",
  "id": "abc123",
  "attributes": mutationInput_put_schedule_input_data_attributes_Input
}

schedule_paginated

Fields
Field Name Description
data - [geofence_schedule]!
meta - meta!
Example
{
  "data": [geofence_schedule],
  "meta": meta
}

schedule_show

Fields
Field Name Description
data - geofence_schedule!
Example
{"data": geofence_schedule}

schedule_update_Input

Fields
Input Field Description
data - schedule_input_with_id_Input!
Example
{"data": schedule_input_with_id_Input}

schedules_const

Values
Enum Value Description

schedules

Example
"schedules"

setup_status

Values
Enum Value Description

UNKNOWN

OK

KO

NOT_APPLICABLE

Example
"UNKNOWN"

setup_statuses_const

Values
Enum Value Description

setup_statuses

Example
"setup_statuses"

shape_create_Input

Fields
Input Field Description
data - shape_input_Input!
Example
{"data": shape_input_Input}

shape_input_Input

Fields
Input Field Description
type - shapes_const!
attributes - mutationInput_post_shapes_input_data_attributes_Input!
Example
{
  "type": "shapes",
  "attributes": mutationInput_post_shapes_input_data_attributes_Input
}

shape_input_with_id_Input

Fields
Input Field Description
type - shapes_const!
id - String!
attributes - mutationInput_put_shape_input_data_attributes_Input!
Example
{
  "type": "shapes",
  "id": "xyz789",
  "attributes": mutationInput_put_shape_input_data_attributes_Input
}

shape_paginated

Fields
Field Name Description
data - [geofence_shape]!
meta - meta!
Example
{
  "data": [geofence_shape],
  "meta": meta
}

shape_show

Fields
Field Name Description
data - geofence_shape!
Example
{"data": geofence_shape}

shape_update_Input

Fields
Input Field Description
data - shape_input_with_id_Input!
Example
{"data": shape_input_with_id_Input}

shapes_const

Values
Enum Value Description

shapes

Example
"shapes"

sso_organization

Fields
Field Name Description
type - organizations_const!
id - ID!
attributes - organization_attributes!
Example
{
  "type": "organizations",
  "id": 4,
  "attributes": organization_attributes
}

sso_user_response

Types
Union Types

user

errors

Example
user

summary_attributes

Fields
Field Name Description
distance_in_m - Int
driving_duration_in_s - Int
idling_duration_in_s - Int
daytime_duration_in_s - Int
safety_score - Float
eco_driving_score - Float
overspeed_score - Float
fuel_efficiency_in_l_per_100_km - Float
fuel_estimation_in_ml - Int
nb_device_active - Int
nb_journeys - Int
nb_driving_days - Int
co2_estimation_in_g - Int
electric_energy_consumption_in_kwh - Float
electric_energy_consumption_in_percent - Float
end_mileage - Float
end_mileage_date - DateTime
end_fuel_level_percent - Float
end_fuel_level_percent_date - DateTime
end_charge_level_percent - Float
end_charge_level_percent_date - DateTime
Example
{
  "distance_in_m": 987,
  "driving_duration_in_s": 123,
  "idling_duration_in_s": 987,
  "daytime_duration_in_s": 123,
  "safety_score": 987.65,
  "eco_driving_score": 987.65,
  "overspeed_score": 123.45,
  "fuel_efficiency_in_l_per_100_km": 123.45,
  "fuel_estimation_in_ml": 123,
  "nb_device_active": 123,
  "nb_journeys": 987,
  "nb_driving_days": 123,
  "co2_estimation_in_g": 123,
  "electric_energy_consumption_in_kwh": 123.45,
  "electric_energy_consumption_in_percent": 987.65,
  "end_mileage": 987.65,
  "end_mileage_date": "2007-12-03T10:15:30Z",
  "end_fuel_level_percent": 123.45,
  "end_fuel_level_percent_date": "2007-12-03T10:15:30Z",
  "end_charge_level_percent": 987.65,
  "end_charge_level_percent_date": "2007-12-03T10:15:30Z"
}

time_slot

Fields
Field Name Description
start - String! Day time in HH:MM format.
end - String! Day time in HH:MM format.
Example
{
  "start": "abc123",
  "end": "xyz789"
}

time_slot_Input

Fields
Input Field Description
start - String! Day time in HH:MM format.
end - String! Day time in HH:MM format.
Example
{
  "start": "abc123",
  "end": "abc123"
}

timezone

Description

Timezone in tz database format

Values
Enum Value Description

Africa_Abidjan

Africa_Accra

Africa_Addis_Ababa

Africa_Algiers

Africa_Asmara

Africa_Asmera

Africa_Bamako

Africa_Bangui

Africa_Banjul

Africa_Bissau

Africa_Blantyre

Africa_Brazzaville

Africa_Bujumbura

Africa_Cairo

Africa_Casablanca

Africa_Ceuta

Africa_Conakry

Africa_Dakar

Africa_Dar_es_Salaam

Africa_Djibouti

Africa_Douala

Africa_El_Aaiun

Africa_Freetown

Africa_Gaborone

Africa_Harare

Africa_Johannesburg

Africa_Juba

Africa_Kampala

Africa_Khartoum

Africa_Kigali

Africa_Kinshasa

Africa_Lagos

Africa_Libreville

Africa_Lome

Africa_Luanda

Africa_Lubumbashi

Africa_Lusaka

Africa_Malabo

Africa_Maputo

Africa_Maseru

Africa_Mbabane

Africa_Mogadishu

Africa_Monrovia

Africa_Nairobi

Africa_Ndjamena

Africa_Niamey

Africa_Nouakchott

Africa_Ouagadougou

Africa_Porto_Novo

Africa_Sao_Tome

Africa_Timbuktu

Africa_Tripoli

Africa_Tunis

Africa_Windhoek

America_Adak

America_Anchorage

America_Anguilla

America_Antigua

America_Araguaina

America_Argentina_Buenos_Aires

America_Argentina_Catamarca

America_Argentina_ComodRivadavia

America_Argentina_Cordoba

America_Argentina_Jujuy

America_Argentina_La_Rioja

America_Argentina_Mendoza

America_Argentina_Rio_Gallegos

America_Argentina_Salta

America_Argentina_San_Juan

America_Argentina_San_Luis

America_Argentina_Tucuman

America_Argentina_Ushuaia

America_Aruba

America_Asuncion

America_Atikokan

America_Atka

America_Bahia

America_Bahia_Banderas

America_Barbados

America_Belem

America_Belize

America_Blanc_Sablon

America_Boa_Vista

America_Bogota

America_Boise

America_Buenos_Aires

America_Cambridge_Bay

America_Campo_Grande

America_Cancun

America_Caracas

America_Catamarca

America_Cayenne

America_Cayman

America_Chicago

America_Chihuahua

America_Coral_Harbour

America_Cordoba

America_Costa_Rica

America_Creston

America_Cuiaba

America_Curacao

America_Danmarkshavn

America_Dawson

America_Dawson_Creek

America_Denver

America_Detroit

America_Dominica

America_Edmonton

America_Eirunepe

America_El_Salvador

America_Ensenada

America_Fort_Nelson

America_Fort_Wayne

America_Fortaleza

America_Glace_Bay

America_Godthab

America_Goose_Bay

America_Grand_Turk

America_Grenada

America_Guadeloupe

America_Guatemala

America_Guayaquil

America_Guyana

America_Halifax

America_Havana

America_Hermosillo

America_Indiana_Indianapolis

America_Indiana_Knox

America_Indiana_Marengo

America_Indiana_Petersburg

America_Indiana_Tell_City

America_Indiana_Vevay

America_Indiana_Vincennes

America_Indiana_Winamac

America_Indianapolis

America_Inuvik

America_Iqaluit

America_Jamaica

America_Jujuy

America_Juneau

America_Kentucky_Louisville

America_Kentucky_Monticello

America_Knox_IN

America_Kralendijk

America_La_Paz

America_Lima

America_Los_Angeles

America_Louisville

America_Lower_Princes

America_Maceio

America_Managua

America_Manaus

America_Marigot

America_Martinique

America_Matamoros

America_Mazatlan

America_Mendoza

America_Menominee

America_Merida

America_Metlakatla

America_Mexico_City

America_Miquelon

America_Moncton

America_Monterrey

America_Montevideo

America_Montreal

America_Montserrat

America_Nassau

America_New_York

America_Nipigon

America_Nome

America_Noronha

America_North_Dakota_Beulah

America_North_Dakota_Center

America_North_Dakota_New_Salem

America_Nuuk

America_Ojinaga

America_Panama

America_Pangnirtung

America_Paramaribo

America_Phoenix

America_Port_au_Prince

America_Port_of_Spain

America_Porto_Acre

America_Porto_Velho

America_Puerto_Rico

America_Punta_Arenas

America_Rainy_River

America_Rankin_Inlet

America_Recife

America_Regina

America_Resolute

America_Rio_Branco

America_Rosario

America_Santa_Isabel

America_Santarem

America_Santiago

America_Santo_Domingo

America_Sao_Paulo

America_Scoresbysund

America_Shiprock

America_Sitka

America_St_Barthelemy

America_St_Johns

America_St_Kitts

America_St_Lucia

America_St_Thomas

America_St_Vincent

America_Swift_Current

America_Tegucigalpa

America_Thule

America_Thunder_Bay

America_Tijuana

America_Toronto

America_Tortola

America_Vancouver

America_Virgin

America_Whitehorse

America_Winnipeg

America_Yakutat

America_Yellowknife

Antarctica_Casey

Antarctica_Davis

Antarctica_DumontDUrville

Antarctica_Macquarie

Antarctica_Mawson

Antarctica_McMurdo

Antarctica_Palmer

Antarctica_Rothera

Antarctica_South_Pole

Antarctica_Syowa

Antarctica_Troll

Antarctica_Vostok

Arctic_Longyearbyen

Asia_Aden

Asia_Almaty

Asia_Amman

Asia_Anadyr

Asia_Aqtau

Asia_Aqtobe

Asia_Ashgabat

Asia_Ashkhabad

Asia_Atyrau

Asia_Baghdad

Asia_Bahrain

Asia_Baku

Asia_Bangkok

Asia_Barnaul

Asia_Beirut

Asia_Bishkek

Asia_Brunei

Asia_Calcutta

Asia_Chita

Asia_Choibalsan

Asia_Chongqing

Asia_Chungking

Asia_Colombo

Asia_Dacca

Asia_Damascus

Asia_Dhaka

Asia_Dili

Asia_Dubai

Asia_Dushanbe

Asia_Famagusta

Asia_Gaza

Asia_Harbin

Asia_Hebron

Asia_Ho_Chi_Minh

Asia_Hong_Kong

Asia_Hovd

Asia_Irkutsk

Asia_Istanbul

Asia_Jakarta

Asia_Jayapura

Asia_Jerusalem

Asia_Kabul

Asia_Kamchatka

Asia_Karachi

Asia_Kashgar

Asia_Kathmandu

Asia_Katmandu

Asia_Khandyga

Asia_Kolkata

Asia_Krasnoyarsk

Asia_Kuala_Lumpur

Asia_Kuching

Asia_Kuwait

Asia_Macao

Asia_Macau

Asia_Magadan

Asia_Makassar

Asia_Manila

Asia_Muscat

Asia_Nicosia

Asia_Novokuznetsk

Asia_Novosibirsk

Asia_Omsk

Asia_Oral

Asia_Phnom_Penh

Asia_Pontianak

Asia_Pyongyang

Asia_Qatar

Asia_Qostanay

Asia_Qyzylorda

Asia_Rangoon

Asia_Riyadh

Asia_Saigon

Asia_Sakhalin

Asia_Samarkand

Asia_Seoul

Asia_Shanghai

Asia_Singapore

Asia_Srednekolymsk

Asia_Taipei

Asia_Tashkent

Asia_Tbilisi

Asia_Tehran

Asia_Tel_Aviv

Asia_Thimbu

Asia_Thimphu

Asia_Tokyo

Asia_Tomsk

Asia_Ujung_Pandang

Asia_Ulaanbaatar

Asia_Ulan_Bator

Asia_Urumqi

Asia_Ust_Nera

Asia_Vientiane

Asia_Vladivostok

Asia_Yakutsk

Asia_Yangon

Asia_Yekaterinburg

Asia_Yerevan

Atlantic_Azores

Atlantic_Bermuda

Atlantic_Canary

Atlantic_Cape_Verde

Atlantic_Faeroe

Atlantic_Faroe

Atlantic_Jan_Mayen

Atlantic_Madeira

Atlantic_Reykjavik

Atlantic_South_Georgia

Atlantic_St_Helena

Atlantic_Stanley

Australia_ACT

Australia_Adelaide

Australia_Brisbane

Australia_Broken_Hill

Australia_Canberra

Australia_Currie

Australia_Darwin

Australia_Eucla

Australia_Hobart

Australia_LHI

Australia_Lindeman

Australia_Lord_Howe

Australia_Melbourne

Australia_NSW

Australia_North

Australia_Perth

Australia_Queensland

Australia_South

Australia_Sydney

Australia_Tasmania

Australia_Victoria

Australia_West

Australia_Yancowinna

Brazil_Acre

Brazil_DeNoronha

Brazil_East

Brazil_West

CET

CST6CDT

Canada_Atlantic

Canada_Central

Canada_Eastern

Canada_Mountain

Canada_Newfoundland

Canada_Pacific

Canada_Saskatchewan

Canada_Yukon

Chile_Continental

Chile_EasterIsland

Cuba

EET

EST

EST5EDT

Egypt

Eire

Etc_GMT

Etc_GMT_PLUS_0

Etc_GMT_PLUS_1

Etc_GMT_PLUS_10

Etc_GMT_PLUS_11

Etc_GMT_PLUS_12

Etc_GMT_PLUS_2

Etc_GMT_PLUS_3

Etc_GMT_PLUS_4

Etc_GMT_PLUS_5

Etc_GMT_PLUS_6

Etc_GMT_PLUS_7

Etc_GMT_PLUS_8

Etc_GMT_PLUS_9

Etc_GMT_1

Etc_GMT_10

Etc_GMT_11

Etc_GMT_12

Etc_GMT_13

Etc_GMT_14

Etc_GMT_2

Etc_GMT_3

Etc_GMT_4

Etc_GMT_5

Etc_GMT_6

Etc_GMT_7

Etc_GMT_8

Etc_GMT_9

Etc_Greenwich

Etc_UCT

Etc_UTC

Etc_Universal

Etc_Zulu

Europe_Amsterdam

Europe_Andorra

Europe_Astrakhan

Europe_Athens

Europe_Belfast

Europe_Belgrade

Europe_Berlin

Europe_Bratislava

Europe_Brussels

Europe_Bucharest

Europe_Budapest

Europe_Busingen

Europe_Chisinau

Europe_Copenhagen

Europe_Dublin

Europe_Gibraltar

Europe_Guernsey

Europe_Helsinki

Europe_Isle_of_Man

Europe_Istanbul

Europe_Jersey

Europe_Kaliningrad

Europe_Kiev

Europe_Kirov

Europe_Lisbon

Europe_Ljubljana

Europe_London

Europe_Luxembourg

Europe_Madrid

Europe_Malta

Europe_Mariehamn

Europe_Minsk

Europe_Monaco

Europe_Moscow

Europe_Nicosia

Europe_Oslo

Europe_Paris

Europe_Podgorica

Europe_Prague

Europe_Riga

Europe_Rome

Europe_Samara

Europe_San_Marino

Europe_Sarajevo

Europe_Saratov

Europe_Simferopol

Europe_Skopje

Europe_Sofia

Europe_Stockholm

Europe_Tallinn

Europe_Tirane

Europe_Tiraspol

Europe_Ulyanovsk

Europe_Uzhgorod

Europe_Vaduz

Europe_Vatican

Europe_Vienna

Europe_Vilnius

Europe_Volgograd

Europe_Warsaw

Europe_Zagreb

Europe_Zaporozhye

Europe_Zurich

Factory

GB

GB_Eire

GMT

GMT_PLUS_0

Greenwich

HST

Hongkong

Iceland

Indian_Antananarivo

Indian_Chagos

Indian_Christmas

Indian_Cocos

Indian_Comoro

Indian_Kerguelen

Indian_Mahe

Indian_Maldives

Indian_Mauritius

Indian_Mayotte

Indian_Reunion

Iran

Israel

Jamaica

Japan

Kwajalein

Libya

MET

MST

MST7MDT

Mexico_BajaNorte

Mexico_BajaSur

Mexico_General

NZ

NZ_CHAT

Navajo

PRC

PST8PDT

Pacific_Apia

Pacific_Auckland

Pacific_Bougainville

Pacific_Chatham

Pacific_Chuuk

Pacific_Easter

Pacific_Efate

Pacific_Enderbury

Pacific_Fakaofo

Pacific_Fiji

Pacific_Funafuti

Pacific_Galapagos

Pacific_Gambier

Pacific_Guadalcanal

Pacific_Guam

Pacific_Honolulu

Pacific_Johnston

Pacific_Kanton

Pacific_Kiritimati

Pacific_Kosrae

Pacific_Kwajalein

Pacific_Majuro

Pacific_Marquesas

Pacific_Midway

Pacific_Nauru

Pacific_Niue

Pacific_Norfolk

Pacific_Noumea

Pacific_Pago_Pago

Pacific_Palau

Pacific_Pitcairn

Pacific_Pohnpei

Pacific_Ponape

Pacific_Port_Moresby

Pacific_Rarotonga

Pacific_Saipan

Pacific_Samoa

Pacific_Tahiti

Pacific_Tarawa

Pacific_Tongatapu

Pacific_Truk

Pacific_Wake

Pacific_Wallis

Pacific_Yap

Poland

Portugal

ROC

ROK

Singapore

Turkey

UCT

US_Alaska

US_Aleutian

US_Arizona

US_Central

US_East_Indiana

US_Eastern

US_Hawaii

US_Indiana_Starke

US_Michigan

US_Mountain

US_Pacific

US_Samoa

UTC

Universal

W_SU

WET

Zulu

Example
"Africa_Abidjan"

toggles_const

Values
Enum Value Description

toggles

Example
"toggles"

trip_attributes

Fields
Field Name Description
imei - ID!
start_latitude - Float
start_longitude - Float
end_latitude - Float
end_longitude - Float
driving_duration_in_seconds - Float
idling_duration_in_seconds - Float
max_idling_duration_in_seconds - Float
driving_percentage - Float
idling_percentage - Float
state - trip_state
start_time - DateTime!
end_time - DateTime!
duration_in_seconds - Int
start_postal_address - postal_address
end_postal_address - postal_address
statistics - query_get_trip_oneOf_0_data_attributes_statistics
Example
{
  "imei": "4",
  "start_latitude": 987.65,
  "start_longitude": 987.65,
  "end_latitude": 123.45,
  "end_longitude": 987.65,
  "driving_duration_in_seconds": 123.45,
  "idling_duration_in_seconds": 123.45,
  "max_idling_duration_in_seconds": 123.45,
  "driving_percentage": 987.65,
  "idling_percentage": 987.65,
  "state": "closed",
  "start_time": "2007-12-03T10:15:30Z",
  "end_time": "2007-12-03T10:15:30Z",
  "duration_in_seconds": 987,
  "start_postal_address": postal_address,
  "end_postal_address": postal_address,
  "statistics": query_get_trip_oneOf_0_data_attributes_statistics
}

trip_state

Values
Enum Value Description

closed

open

provisionally_closed

Example
"closed"

trip_tag

Values
Enum Value Description

user_private

Example
"user_private"

trip_tag_schedule_attributes

Fields
Field Name Description
week_days - query_trip_tag_schedules_data_items_attributes_week_days
name - String!
tags - [trip_tag]!
timezone - timezone
outside_of_slots - Boolean
start_at - DateTime
end_at - DateTime
active - Boolean
created_at - DateTime
updated_at - DateTime
Example
{
  "week_days": query_trip_tag_schedules_data_items_attributes_week_days,
  "name": "xyz789",
  "tags": ["user_private"],
  "timezone": "Africa_Abidjan",
  "outside_of_slots": true,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "active": false,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

trip_tag_schedule_attributes_post_Input

Fields
Input Field Description
week_days - mutationInput_post_trip_tag_schedules_input_data_attributes_week_days_Input
name - String!
tags - [trip_tag]!
timezone - timezone
outside_of_slots - Boolean
start_at - DateTime
end_at - DateTime
active - Boolean
Example
{
  "week_days": mutationInput_post_trip_tag_schedules_input_data_attributes_week_days_Input,
  "name": "abc123",
  "tags": ["user_private"],
  "timezone": "Africa_Abidjan",
  "outside_of_slots": true,
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "active": true
}

trip_tag_schedule_encapsulated

Fields
Field Name Description
data - journey_trip_tag_schedule!
Example
{"data": journey_trip_tag_schedule}

trip_tag_schedule_encapsulated_post_Input

Fields
Input Field Description
data - trip_tag_schedule_post_Input!
Example
{"data": trip_tag_schedule_post_Input}

trip_tag_schedule_encapsulated_put_Input

Fields
Input Field Description
data - trip_tag_schedule_put_Input!
Example
{"data": trip_tag_schedule_put_Input}

trip_tag_schedule_paginated

Fields
Field Name Description
data - [journey_trip_tag_schedule]!
meta - meta!
Example
{
  "data": [journey_trip_tag_schedule],
  "meta": meta
}

trip_tag_schedule_post_Input

Example
{
  "type": "trip_tag_schedules",
  "attributes": trip_tag_schedule_attributes_post_Input,
  "relationships": mutationInput_post_trip_tag_schedules_input_data_relationships_Input
}

trip_tag_schedule_put_Input

Fields
Input Field Description
type - trip_tag_schedules_const!
id - ID
attributes - trip_tag_schedule_put_attributes_Input!
Example
{
  "type": "trip_tag_schedules",
  "id": 4,
  "attributes": trip_tag_schedule_put_attributes_Input
}

trip_tag_schedule_put_attributes_Input

Fields
Input Field Description
outside_of_slots - Boolean
active - Boolean
timezone - timezone
start_at - DateTime
end_at - DateTime
week_days - mutationInput_update_trip_tag_schedule_input_data_attributes_week_days_Input
Example
{
  "outside_of_slots": true,
  "active": true,
  "timezone": "Africa_Abidjan",
  "start_at": "2007-12-03T10:15:30Z",
  "end_at": "2007-12-03T10:15:30Z",
  "week_days": mutationInput_update_trip_tag_schedule_input_data_attributes_week_days_Input
}

trip_tag_schedules_const

Values
Enum Value Description

trip_tag_schedules

Example
"trip_tag_schedules"

trips_const

Values
Enum Value Description

trips

Example
"trips"

user

Fields
Field Name Description
data - query_sso_user_oneOf_0_data!
Example
{"data": query_sso_user_oneOf_0_data}

user_Input

Fields
Input Field Description
data - query_user_data_Input
Example
{"data": query_user_data_Input}

user_alert_notifications_const

Values
Enum Value Description

user_alert_notifications

Example
"user_alert_notifications"

user_role_paginated

Fields
Field Name Description
data - [am_user_role]!
meta - meta
Example
{
  "data": [am_user_role],
  "meta": meta
}

user_roles_const

Values
Enum Value Description

user_roles

Example
"user_roles"

user_unlock_create_Input

Fields
Input Field Description
data - user_unlock_input_Input!
Example
{"data": user_unlock_input_Input}

user_unlock_input_Input

Fields
Input Field Description
type - user_unlocks_const!
id - ID
attributes - mutationInput_post_user_unlocks_input_data_attributes_Input!
Example
{
  "type": "user_unlocks",
  "id": "4",
  "attributes": mutationInput_post_user_unlocks_input_data_attributes_Input
}

user_unlock_request

Fields
Field Name Description
type - user_unlocks_const!
id - ID!
Example
{"type": "user_unlocks", "id": 4}

user_unlock_request_create_Input

Fields
Input Field Description
data - user_unlock_request_input_Input!
Example
{"data": user_unlock_request_input_Input}

user_unlock_request_identifier

Description

email or phone

Values
Enum Value Description

email

phone

Example
"email"

user_unlock_request_input_Input

Example
{
  "type": "user_unlock_requests",
  "id": 4,
  "attributes": mutationInput_post_user_unlock_requests_input_data_attributes_Input
}

user_unlock_request_show

Fields
Field Name Description
data - user_unlock_request!
Example
{"data": user_unlock_request}

user_unlock_requests_const

Values
Enum Value Description

user_unlock_requests

Example
"user_unlock_requests"

user_unlock_show

Fields
Field Name Description
data - String
Example
{"data": "abc123"}

user_unlocks_const

Values
Enum Value Description

user_unlocks

Example
"user_unlocks"

users_const

Values
Enum Value Description

users

Example
"users"

va_fetch_user_alert_notification

Example
{
  "type": "user_alert_notifications",
  "id": 4,
  "attributes": va_query_v1_user_alert_notifications_data_items_attributes
}

va_query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items

Fields
Field Name Description
from_date - DateTime
to_date - DateTime
group_id - ID!
stats - query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats!
Example
{
  "from_date": "2007-12-03T10:15:30Z",
  "to_date": "2007-12-03T10:15:30Z",
  "group_id": 4,
  "stats": query_post_v1_fleet_summaries_oneOf_0_data_attributes_fleets_items_stats
}

va_query_v1_user_alert_notifications_data_items_attributes

Fields
Field Name Description
uid - ID!
type_of_alert - geofencing_const!
geofencing - va_query_v1_user_alert_notifications_data_items_attributes_geofencing
Example
{
  "uid": 4,
  "type_of_alert": "geofencing",
  "geofencing": va_query_v1_user_alert_notifications_data_items_attributes_geofencing
}

va_query_v1_user_alert_notifications_data_items_attributes_geofencing

Fields
Field Name Description
event_type - geofence_event_type
geofence_id - ID!
should_verify_stay - Boolean
duration_in_seconds - Int duration in seconds
Example
{
  "event_type": "ENTRY",
  "geofence_id": "4",
  "should_verify_stay": true,
  "duration_in_seconds": 987
}

vehicle_authorized_drivers_response

Types
Union Types

vehicle_driver_paginated

errors

Example
vehicle_driver_paginated

vehicle_auxiliary_devices_response

Example
auxiliary_device_paginated

vehicle_driver_paginated

Fields
Field Name Description
data - [am_vehicle_driver]!
meta - meta!
Example
{
  "data": [am_vehicle_driver],
  "meta": meta
}

vehicle_driver_relationship_Input

Example
{
  "data": [
    mutationInput_add_vehicle_authorized_drivers_input_data_items_Input
  ]
}

vehicle_relationship_Input

Example
{
  "data": [
    mutationInput_add_driver_authorized_vehicles_input_data_items_Input
  ]
}

vehicles_const

Values
Enum Value Description

vehicles

Example
"vehicles"

vehicles_refills_response

Types
Union Types

refill_paged

errors

Example
refill_paged