Get Jobs for Resource

Overview

Retrieves jobs allocated to a resource

Category: Related Data

Use this action to get jobs allocated to a resource. Optionally filter by date range or job status.

Request

Parameter Type Required Description Example
resourceId string Yes The ID of the resource to get jobs for 0014ccb7-73ad-40e1-9282-2c492a0f313a
startDate string No Filter jobs starting on or after this date (ISO 8601) 2026-01-15T00:00:00.000Z
endDate string No Filter jobs ending on or before this date (ISO 8601) 2026-01-31T23:59:59.000Z
statuses array of string No Filter by job statuses ["Dispatched","En Route","On Site"]

Response

This action’s output is available as $getJobsForResource in JSONata expressions. See Response format for the standard result.data / result.errors structure and error handling patterns.

Field Type Description
result.data.Jobs array of object Jobs for the resource

Example output:

{
  "Jobs": [
    {
      "UID": "00148d32-10ef-4264-adfe-0ff3ece68d92",
      "Name": "JOB-001",
      "JobStatus": "Dispatched",
      "Start": "2026-01-15T09:00:00.000Z",
      "End": "2026-01-15T11:00:00.000Z"
    }
  ]
}