Revvo · Arazzo Workflow

Onboard a vehicle and its tire sensors

Version 1.0.0

Authenticate, create a vehicle, register its gateway and sensors, then verify.

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyFleet ManagementTransportationTire ManagementTPMSTelematicsIoTLogisticsAPIArazzoWorkflows

Provider

revvo

Workflows

onboardVehicle
Create a vehicle in a fleet and attach its tire-monitoring hardware.
4 steps inputs: apiKey, assetId, fleetId, gatewayInstallLocation, gatewayMacAddress, template, vin
1
authenticate
authToken
2
createVehicle
vehicle
3
registerDevices
registerDevicesForVehicle
4
verifyVehicle
getVehicle

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Onboard a vehicle and its tire sensors
  version: 1.0.0
  summary: Authenticate, create a vehicle, register its gateway and sensors, then verify.
sourceDescriptions:
- name: revvo
  url: ../openapi/revvo-api-openapi-original.yml
  type: openapi
workflows:
- workflowId: onboardVehicle
  summary: Create a vehicle in a fleet and attach its tire-monitoring hardware.
  inputs:
    type: object
    properties:
      apiKey: { type: string }
      fleetId: { type: string }
      vin: { type: string }
      assetId: { type: string }
      template: { type: string }
      gatewayMacAddress: { type: string }
      gatewayInstallLocation: { type: string }
  steps:
  - stepId: authenticate
    operationId: authToken
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      token: $response.body
  - stepId: createVehicle
    operationId: vehicle
    parameters:
    - name: fleetId
      in: path
      value: $inputs.fleetId
    requestBody:
      contentType: application/json
      payload:
        vin: $inputs.vin
        assetId: $inputs.assetId
        template: $inputs.template
    successCriteria:
    - condition: $statusCode == 201
  - stepId: registerDevices
    operationId: registerDevicesForVehicle
    parameters:
    - name: fleetId
      in: path
      value: $inputs.fleetId
    requestBody:
      contentType: application/json
      payload:
        assetId: $inputs.assetId
        gatewayMacAddress: $inputs.gatewayMacAddress
        gatewayInstallLocation: $inputs.gatewayInstallLocation
    successCriteria:
    - condition: $statusCode == 200
  - stepId: verifyVehicle
    operationId: getVehicle
    parameters:
    - name: fleetId
      in: path
      value: $inputs.fleetId
    - name: vin
      in: path
      value: $inputs.vin
    successCriteria:
    - condition: $statusCode == 200