getJobs¶
Deprecated
This endpoint will stop working on 1 August 2027. Migrate to
GET /v1/jobs in the new API; the
migration guide has the recommended
order of work and the important model differences.
Legacy getJobsWithUnassignedActivities/{text}/{resourceId}/{maxResults} returned jobs with unassigned activities for a given resource's supplier, filtered by free text against job ref / site name / postcode. The new endpoint exposes a searchTerm query param but does not filter by "has-unassigned-activities" or by resource - check results client-side.
Open GET /v1/jobs in the new API →
View legacy reference
/rest/workflow/job/getJobsWithUnassignedActivities/{text}/{resourceId}/{maxResults}
GET
Gets Jobs with unassigned activities by text with is used to match job ref, site name and postcode. Returned jobs are limited to the resoruce's supplier. Set maxResults to limit the number of returned jobs.
available response representations:
- 200 - JSON
{ "jobs":[ { "ref":"J00293X", "clientRef": "00123", "site": { "name":"FLAT 9 ACTON COURT", "address1": "9 ACTON COURT", "address2": "", "address3": "EXETER", "address4": "Devon", "postcode": "DN32 7ES" }, "activities":[
{"id": "1234", "name": "Carpet change", "duration": "120"},
{"id": "2352", "name": "Floor clean", "duration": "30"}, ]
}, { "ref": "J00349A", "clientRef": "00128", "site": { "name": "AINSLIE STREET", "address1": "23 AINSLIE STREET", "address2": "", "address3": "GRIMSBY", "address4": "", "postcode": "DN12 8XA" }, "activities":[ { "id": "9442", "name": "Boiler service", "duration": "240"} ] } ]}See the Workflow API matrix for the full list of endpoints in this category.