Get Resource Location
Overview
Gets the current GPS location of a resource
Category: Scheduling
Use this action to get the last known GPS location of a resource. Relies on the resource tracking API: the resource must have location sharing enabled. Returns latitude, longitude, and the timestamp of the last location update.
Request
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
resourceId |
string | Yes | The ID of the resource to get the current location for | 0014ccb7-73ad-40e1-9282-2c492a0f313a |
Response
This action’s output is available as $getResourceLocation in JSONata expressions. See Response format for the standard result.data / result.errors structure and error handling patterns.
| Field | Type | Description |
|---|---|---|
result.data.latitude |
number | Latitude coordinate |
result.data.longitude |
number | Longitude coordinate |
result.data.timestamp |
string | ISO 8601 timestamp of the last location update |
result.data.accuracy |
number | Location accuracy in meters |
Example output:
{
"latitude": -33.8688,
"longitude": 151.2093,
"timestamp": "2026-01-15T09:30:00.000Z",
"accuracy": 10
}
Feedback
Was this page helpful?