Whip Around

App · 32 actions

Read vehicle inspections and defects, and manage assets, drivers, work orders and fuel.

Actions

ActionWhat it does
Create assetAdd a vehicle or piece of equipment, with every inspection form unless forms are chosen.
Create defectReport a defect on an asset by hand.
Create driverAdd a driver who can sign in to the Whip Around app.
Create fuel transactionRecord a fuel purchase for an asset.
Create fuel vendorAdd a fuel vendor.
Delete assetDelete a vehicle or piece of equipment.
Delete driverDelete a driver.
Delete fuel vendorDelete a fuel vendor.
Get assetGet one vehicle or piece of equipment.
Get driverGet one driver with their contact details, license and team.
Get inspectionGet one inspection with its answers, defects, signatures and PDF link.
Get partGet one part with its stock, storage location and vendors.
Get work orderGet one work order with its items, costs and attachments.
List asset mileage historyList an asset's odometer readings and where each came from.
List assetsList the business's vehicles and equipment with their odometer, engine hours and service state.
List defectsList defects found in inspections or reported by hand, filtered by asset, driver, team or time.
List driver wellness reportsList the fitness-for-duty reports drivers submitted.
List driversList the business's drivers, filtered by username or employee number.
List fuel transactionsList fuel purchases, newest or oldest first, for one asset or all.
List fuel vendorsList the fuel vendors fuel purchases can name.
List inspectionsList completed inspections, filtered by asset, time or a keyword.
List partsList the parts in inventory, with stock for each team, searched by name or part number.
List servicesList scheduled services, filtered by whether they're due.
List teamsList the business's teams.
List usersList the business's dashboard users: admins, managers and mechanics.
List work ordersList maintenance work orders, filtered by due date.
Mark asset in servicePut an asset back in service.
Mark asset out of serviceTake an asset out of service, so drivers know not to use it.
Update assetChange an asset's details.
Update asset mileageRecord an asset's odometer reading.
Update defectMove a defect to In progress or Corrected, with the mechanic's declaration.
Update driverChange a driver's details.

Create asset

Add a vehicle or piece of equipment, with every inspection form unless forms are chosen.

Inputs

NamenametextRequired
The asset's name.
Subscriptionsubscription_typetextRequired
The Whip Around plan the asset is billed on.One of: INSPECT, INSPECT_LITE (Inspect Lite), MAINTAIN, MAINTAIN_LITE (Maintain Lite), LITE, STANDARD, PRO, PRO_LITE (Pro Lite), FIXED_UNLIMITED (Fixed unlimited), PREMIUM.
Makemaketext
The manufacturer.
Modelmodeltext
The model.
Yearyeartext
The model year.
License platelicense_platetext
The license plate, up to 20 characters.
VINvintext
The vehicle identification number, up to 17 characters.
Colorcolortext
The asset's color.
Notesbiotext
Notes about the asset.
Teamteamnumber
The team the asset belongs to. The business's default team when empty.
Formsform_idslist
The inspection forms to give the asset. Every form when empty.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "id": 1
    }
  }
}

Create defect

Report a defect on an asset by hand.

Inputs

Assetasset_idnumberRequired
The asset with the defect.
DefectnametextRequired
What the defect is.
CommentcommenttextRequired
A comment describing it.
DatedatedateRequired
The day the defect was found. Today or earlier.
Driverdriver_idnumber
The driver who found it.
Severityseverity_idnumber
How severe it is: 1 or 2.From 1 to 2.
Priority IDpriority_idnumber
The ID of its priority in Whip Around.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "id": 1
    }
  }
}

Create driver

Add a driver who can sign in to the Whip Around app.

Inputs

First namefirst_nametextRequired
The driver's first name.
Last namelast_nametextRequired
The driver's last name.
Mobile phonephone_numbertextRequired
The driver's mobile phone number.
Emailemailtext
The driver's email address.
Usernameusernametext
The name the driver signs in to the app with.
Employee numberemployee_numbertext
The driver's employee number.
Teamteamnumber
The team the driver belongs to.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "id": 1
    }
  }
}

Create fuel transaction

Record a fuel purchase for an asset. Needs an integration API key.

Inputs

Assetasset_idnumberRequired
The asset that was fueled.
CostcostnumberRequired
The total cost.At least 0.
CurrencycurrencytextRequired
The currency code, such as USD.
Fuel typefuel_typetextRequired
The kind of fuel.One of: diesel, gasoline, ethanol, regular unleaded 5.7, regular unleaded 7.7, regular unleaded 10, super unleaded, super unleaded 5.7, super unleaded 7.7, super unleaded 10, and 4 more.
Volumevolumenumber
How much fuel.At least 0.
Volume unitvolume_unittextRequired
The unit of the volume.One of: gal (Gallons), l (Liters).
Odometerodometernumber
The odometer reading at the fill-up.At least 0.
Odometer unitodometer_unittextRequired
The unit of the odometer reading.One of: mi (Miles), km (Kilometers).
Purchased attransaction_datedate and time
When the purchase was made. Now, when left empty.
Driverdriver_idnumber
The driver who bought the fuel.
Fuel vendorfuel_vendor_idnumber
The fuel vendor.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "id": 1
    }
  }
}

Create fuel vendor

Add a fuel vendor.

Inputs

NamenametextRequired
The vendor's name.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "id": 1
    }
  }
}

Delete asset

Delete a vehicle or piece of equipment.

Inputs

Assetasset_idnumberRequired
The asset to delete.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Delete driver

Delete a driver.

Inputs

Driverdriver_idnumberRequired
The driver's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Delete fuel vendor

Delete a fuel vendor.

Inputs

Fuel vendorfuel_vendor_idnumberRequired
The fuel vendor's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Get asset

Get one vehicle or piece of equipment.

Inputs

Assetasset_idnumberRequired
The asset (vehicle or equipment).

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "asset_subtype": "example",
      "asset_type": "example",
      "bio": "example",
      "colour": "example",
      "custom_fields": [
        {}
      ],
      "engine_hours": "example",
      "id": 1,
      "is_out_of_service": true,
      "last_service_date": "example",
      "licence_plate": "example",
      "make": "example",
      "model": "example",
      "name": "example",
      "odometer": "example",
      "odometer_updated_at": "example",
      "photo_url": "example",
      "vin": "example",
      "year": "example"
    }
  }
}

Get driver

Get one driver with their contact details, license and team.

Inputs

Driverdriver_idnumberRequired
The driver's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "bio": "example",
      "date_of_birth": "example",
      "division": "example",
      "email": "example",
      "employee_number": "example",
      "first_name": "example",
      "health": "example",
      "home_phone": "example",
      "hourly_rate": "example",
      "id": 1,
      "is_admin": true,
      "last_name": "example",
      "licence": "example",
      "licence_class_name": "example",
      "licence_number": "example",
      "mobile_phone": "example",
      "on_hold": true,
      "position": "example",
      "team_name": "example",
      "username": "example",
      "work_phone": "example"
    }
  }
}

Get inspection

Get one inspection with its answers, defects, signatures and PDF link.

Inputs

Inspectioninspection_idnumberRequired
The inspection's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "asset_id": 1,
      "asset_name": "example",
      "asset_vin": "example",
      "cards": [
        {}
      ],
      "completion": "example",
      "created_at": "example",
      "defects": [
        {}
      ],
      "driver_first_name": "example",
      "driver_id": 1,
      "driver_last_name": "example",
      "driver_signature_on_last_inspection": "example",
      "driver_username": "example",
      "end_latitude": "example",
      "end_longitude": "example",
      "form_id": 1,
      "form_name": "example",
      "id": 1,
      "inspection_duration_sec": 1,
      "inspection_ended_on_device": "example",
      "passed": true,
      "pdf_url": "example",
      "signature_photo_urls": [
        {}
      ],
      "start_latitude": "example",
      "start_longitude": "example",
      "team_id": 1,
      "team_name": "example"
    }
  }
}

Get part

Get one part with its stock, storage location and vendors.

Inputs

Partpart_idnumberRequired
The part's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "added_by": {},
      "categories": [
        {}
      ],
      "custom_fields": [
        {}
      ],
      "description": "example",
      "id": 1,
      "manufacturer": {},
      "measurement_unit": {},
      "name": "example",
      "part_image_url": "example",
      "part_number": "example",
      "status": {},
      "stock_on_hand": 1,
      "teams": [
        {}
      ],
      "upc": "example"
    }
  }
}

Get work order

Get one work order with its items, costs and attachments.

Inputs

Work orderwork_order_idnumberRequired
The work order's ID.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": {
      "asset_id": 1,
      "asset_name": "example",
      "assignee": "example",
      "attachments": [
        {}
      ],
      "booking_date": "example",
      "completed_by_name": "example",
      "completion_date": "example",
      "completion_engine_hours": "example",
      "completion_odometer": "example",
      "cost": {},
      "createdBy": {},
      "created_at": "example",
      "id": 1,
      "items": [
        {}
      ],
      "number": "example",
      "scheduled_date": "example",
      "status": {}
    }
  }
}

List asset mileage history

List an asset's odometer readings and where each came from.

Inputs

Assetasset_idnumberRequired
The asset (vehicle or equipment).
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_name": "example",
        "created_at": "example",
        "driver_name": "example",
        "form_name": "example",
        "inspected_at": "example",
        "inspection_id": 1,
        "source_type": "example",
        "team": {},
        "unit": "example",
        "value": 1
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List assets

List the business's vehicles and equipment with their odometer, engine hours and service state.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_subtype": "example",
        "asset_type": "example",
        "bio": "example",
        "colour": "example",
        "custom_fields": [
          {}
        ],
        "engine_hours": "example",
        "id": 1,
        "is_out_of_service": true,
        "last_service_date": "example",
        "licence_plate": "example",
        "make": "example",
        "model": "example",
        "name": "example",
        "odometer": "example",
        "odometer_updated_at": "example",
        "photo_url": "example",
        "vin": "example",
        "year": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List defects

List defects found in inspections or reported by hand, filtered by asset, driver, team or time.

Inputs

Assetasset_idnumber
Only records for this asset.
Driverdriver_idnumber
Only defects reported by this driver.
Teamteamnumber
Only defects in this team.
Fromdatetime_fromdate and time
Only defects found at or after this time.
Todatetime_todate and time
Only defects found before this time.
Limitlimitnumber
How many defects to return, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_id": 1,
        "assignee": "example",
        "card_id": "example",
        "comments": [
          {}
        ],
        "corrected_by": {},
        "created_at": "example",
        "custom_fields": [
          {}
        ],
        "driver_id": 1,
        "id": 1,
        "inspection_id": "example",
        "mechanic_declaration": "example",
        "mechanic_name": "example",
        "name": "example",
        "status": "example",
        "team_id": "example",
        "updated_at": "example",
        "work_order": {}
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List driver wellness reports

List the fitness-for-duty reports drivers submitted.

Inputs

Fromdatetime_fromdate and time
Only reports submitted at or after this time.
Todatetime_todate and time
Only reports submitted before this time.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {}
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List drivers

List the business's drivers, filtered by username or employee number.

Inputs

Usernameusernametext
Only drivers whose username contains this.
Employee numberemployee_numbertext
Only drivers whose employee number contains this.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "bio": "example",
        "date_of_birth": "example",
        "division": "example",
        "email": "example",
        "employee_number": "example",
        "first_name": "example",
        "health": "example",
        "home_phone": "example",
        "hourly_rate": "example",
        "id": 1,
        "is_admin": true,
        "last_name": "example",
        "licence": "example",
        "licence_class_name": "example",
        "licence_number": "example",
        "mobile_phone": "example",
        "on_hold": true,
        "position": "example",
        "team_name": "example",
        "username": "example",
        "work_phone": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List fuel transactions

List fuel purchases, newest or oldest first, for one asset or all.

Inputs

Assetasset_idnumber
Only records for this asset.
Orderorder_directiontext
The order to return them in, by when they were recorded.One of: desc (Newest first), asc (Oldest first).
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_id": 1,
        "cost": 1,
        "created_at": "example",
        "currency": "example",
        "driver_id": 1,
        "fuel_type": "example",
        "fuel_vendor_id": 1,
        "id": 1,
        "odometer": 1,
        "odometer_unit": "example",
        "source": "example",
        "updated_at": "example",
        "volume": 1,
        "volume_unit": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List fuel vendors

List the fuel vendors fuel purchases can name.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List inspections

List completed inspections, filtered by asset, time or a keyword.

Inputs

Assetasset_idnumber
Only records for this asset.
Fromdatetime_fromdate and time
Only inspections at or after this time.
Todatetime_todate and time
Only inspections before this time.
Keywordkeywordtext
Only inspections matching this word.
Limitlimitnumber
How many inspections to return, up to 1,000.From 1 to 1000.
Cursorcursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_id": 1,
        "completion": "example",
        "created_at": "example",
        "driver_id": 1,
        "driver_name": "example",
        "end_latitude": "example",
        "end_longitude": "example",
        "form_id": 1,
        "form_name": "example",
        "id": 1,
        "inspection_duration_sec": 1,
        "inspection_ended_on_device": "example",
        "passed": true,
        "pdf_url": "example",
        "start_latitude": "example",
        "start_longitude": "example",
        "team_id": 1
      }
    ],
    "meta": {
      "next_cursor": "example",
      "previous_cursor": "example",
      "result_count": 1
    }
  }
}

List parts

List the parts in inventory, with stock for each team, searched by name or part number.

Inputs

Searchsearchtext
Only parts whose name or part number contains this.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "added_by": {},
        "categories": [
          {}
        ],
        "custom_fields": [
          {}
        ],
        "description": "example",
        "id": 1,
        "manufacturer": {},
        "measurement_unit": {},
        "name": "example",
        "part_image_url": "example",
        "part_number": "example",
        "status": {},
        "stock_on_hand": 1,
        "teams": [
          {}
        ],
        "upc": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List services

List scheduled services, filtered by whether they're due.

Inputs

Statusstatustext
Only services in this state.One of: overdue, due_soon (Due soon), pending, completed.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_name": "example",
        "completed": {},
        "id": 1,
        "number": "example",
        "schedule": {},
        "service_program_number": "example",
        "status": "example",
        "team": {},
        "title": "example",
        "work_order_item_names": [
          {}
        ]
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List teams

List the business's teams.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List users

List the business's dashboard users: admins, managers and mechanics.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "email": "example",
        "first_name": "example",
        "id": 1,
        "last_name": "example",
        "phone_number": "example",
        "user_role": "example"
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

List work orders

List maintenance work orders, filtered by due date.

Inputs

Due fromdue_date_fromdate and time
Only work orders due at or after this time.
Due todue_date_todate and time
Only work orders due at or before this time.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records a page holds, up to 1,000.From 1 to 1000.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {
    "data": [
      {
        "asset_id": 1,
        "asset_name": "example",
        "assignee": "example",
        "booking_date": "example",
        "completion_date": "example",
        "completion_engine_hours": "example",
        "completion_odometer": "example",
        "created_at": "example",
        "id": 1,
        "items": [
          {}
        ],
        "number": "example",
        "scheduled_date": "example",
        "status": {}
      }
    ],
    "pagination": {
      "current_page": 1,
      "result_count": 1,
      "total_count": 1
    }
  }
}

Mark asset in service

Put an asset back in service.

Inputs

Assetasset_idnumberRequired
The asset (vehicle or equipment).
Reasonreasontext
Why, up to 255 characters.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Mark asset out of service

Take an asset out of service, so drivers know not to use it.

Inputs

Assetasset_idnumberRequired
The asset (vehicle or equipment).
Reasonreasontext
Why, up to 255 characters.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Update asset

Change an asset's details. Fields left empty keep their value.

Inputs

Assetasset_idnumberRequired
The asset to change.
Namenametext
The asset's name.
Makemaketext
The manufacturer.
Modelmodeltext
The model.
Yearyearnumber
The model year.From 1900 to 2100.
VINvintext
The vehicle identification number.
License platelicense_platetext
The license plate.
Colorcolortext
The asset's color.
Tire sizetire_sizetext
The tire size.
Estimated costestimated_costnumber
What the asset is worth.At least 0.
Teamteamnumber
The team to move the asset to.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Update asset mileage

Record an asset's odometer reading. Needs an integration API key.

Inputs

AssetassettextRequired
The asset's ID or VIN.
ReadingvaluenumberRequired
The odometer reading.From 0 to 1000000000.
UnitunittextRequired
The unit of the reading.One of: mi (Miles), km (Kilometers).
Overrideoverridetrue/false
Replace the current reading even when the new one is lower.Default: false.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Update defect

Move a defect to In progress or Corrected, with the mechanic's declaration.

Inputs

Defectdefect_idnumberRequired
The defect's ID.
Statusstatustext
The defect's new status.One of: NEW, IN_PROGRESS (In progress), CORRECTED.
Mechanic declarationmechanic_declarationtext
What the mechanic did to correct it.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

Update driver

Change a driver's details. Fields left empty keep their value.

Inputs

Driverdriver_idnumberRequired
The driver's ID.
First namefirst_nametext
The driver's first name.
Last namelast_nametext
The driver's last name.
Mobile phonephone_numbertext
The driver's mobile phone number.
Emailemailtext
The driver's email address.
Usernameusernametext
The name the driver signs in to the app with.
Employee numberemployee_numbertext
The driver's employee number.
Teamteamnumber
The team the driver belongs to.

Outputs

dataobject
The response from Whip Around.
Example output
{
  "data": {}
}

On this page