Remote

Send a remote action to a vehicle.

Create a new asynchrone vehicle remote action and request it.

post/fleets/{fid}/vehicles/{vid}/callbacks/{cbid}/remotes

Request

Path parameters

fidstring required

Resource is related to this fleet ID only.

vidstring required

Resource is related to this Vehicle ID only.

cbidstring required

The remote callback ID.

Request body

labelstring

Example request

{
  "preconditioning": {
    "airConditioning": {
      "programs": [
        {
          "start": "PT14H30M"
        }
      ]
    }
  },
  "charging": {
    "schedule": {
      "programs": [
        {
          "start": "PT14H30M",
          "enabled": true,
          "end": "PT14H30M"
        }
      ]
    },
    "immediate": true,
    "preferences": {
      "level": "Level1",
      "type": "Partial"
    }
  },
  "stolen": {
    "stolen": true,
    "trackingPeriod": {
      "running": 30,
      "shutdown": 120
    }
  },
  "wakeUp": {
    "action": "WakeUp"
  },
  "navigation": {
    "positions": [
      {
        "type": "Point",
        "coordinates": [
          5.970338,
          -62.536239
        ]
      }
    ]
  }
}

Response

Remote action creation success response (accepted).

remoteActionIdstring

The uniq remote action ID returned when the remote action was posted and accepted.

type'ThermalPreconditioning' | 'ElectricBatteryChargingRequest' | 'Horn' | 'Doors' | 'Lights' | 'Immobilization' | 'Stolen' | 'WakeUp' | 'Navigation'

Example response

{
  "_links": {
    "fleet": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "callback": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "remote": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    }
  },
  "type": "Doors"
}

Changes

No recorded changes to this operation across all 1 revision of this API.