GET api/monitoringvisits/whatsdue/generatedjobs/search?skip={skip}&take={take}&includeSuspended={includeSuspended}&dateFrom={dateFrom}&dateTo={dateTo}&searchString={searchString}
Searches for jobs which have been generated from recurrences.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| skip |
Skip over this numnber of elements in the search results (e.g. 10 will discard the first 10 search results). |
integer |
Required |
| take |
Return this number of elements in the search results (e.g. 50 will return 50 results). |
integer |
Required |
| includeSuspended |
Set to true if we want to include jobs generated from recurrences which are currently suspended. |
boolean |
Required |
| dateFrom |
Search for generated jobs which are scheduled on or after this DateTime. |
date |
Required |
| dateTo |
Search for generated jobs which are scheduled on or before this DateTime. |
date |
Required |
| searchString |
Search for generated jobs containing this string in the searchString. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
An array of jobs and the total count.
API.Domain.ViewModels.Job.JobPage| Name | Description | Type | Additional information |
|---|---|---|---|
| JobsCount | integer |
None. |
|
| JobPageItems | Collection of API.Domain.ViewModels.Job.JobListItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"jobsCount": 1,
"jobPageItems": [
{
"state": {
"name": "sample string 1",
"id": "57b35172-a81d-47b4-b42c-c8b378e3bc99"
},
"allocatedTo": {
"id": "c5badccc-ad0f-49fd-94f4-7d53f66df8d6",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "81efa3c5-373b-4806-9f3b-592e007c2e49",
"address1": "sample string 1",
"address2": "sample string 2",
"address3": "sample string 3",
"address4": "sample string 4",
"city": "sample string 5",
"county": "sample string 6",
"country": "sample string 7",
"zip": "sample string 8"
},
"jobType": {
"name": "sample string 1",
"version": 2,
"state": "new"
},
"siteName": "sample string 2",
"isOverdue": false,
"completedDateByUser": "2026-01-09T19:23:00.7990205Z",
"completedDate": "2026-01-09T19:23:00.7990205+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 4",
"jobRecurrenceId": "d0782879-b0ca-4a11-8264-26c26e660b7a",
"monitoringRegimeId": "sample string 5",
"customFields": {
"rtcNumber": "sample string 1",
"operator": "sample string 2",
"dayType": "sample string 3",
"shift": "sample string 4",
"stopId": "sample string 5",
"direction": "sample string 6",
"timeFrom": "sample string 7",
"timeTo": "sample string 8",
"serviceRestrictions": "sample string 9"
},
"id": "d7387f98-3279-4b2c-8ef2-e946db776696",
"name": "sample string 7",
"jobTypeId": "7e628595-aa25-412e-a3a3-047ec81abe63",
"tenantNumericCode": 9,
"numericCode": 10,
"externalReference": "sample string 11",
"timeInMinutes": 12,
"jobReferenceCode": "9-10",
"scheduledDate": "2026-01-09T19:23:00.7990205Z",
"updatedDate": "2026-01-09T19:23:00.7990205Z",
"createdDate": "2026-01-09T19:23:00.7990205Z",
"scheduledDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"updatedDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"createdDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"parentJobId": "a697175a-ee29-448d-8df8-0154c674dda0",
"jobCategoryId": "43de1f30-2ed6-4227-8e55-b2d2eabf5735"
},
{
"state": {
"name": "sample string 1",
"id": "57b35172-a81d-47b4-b42c-c8b378e3bc99"
},
"allocatedTo": {
"id": "c5badccc-ad0f-49fd-94f4-7d53f66df8d6",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "81efa3c5-373b-4806-9f3b-592e007c2e49",
"address1": "sample string 1",
"address2": "sample string 2",
"address3": "sample string 3",
"address4": "sample string 4",
"city": "sample string 5",
"county": "sample string 6",
"country": "sample string 7",
"zip": "sample string 8"
},
"jobType": {
"name": "sample string 1",
"version": 2,
"state": "new"
},
"siteName": "sample string 2",
"isOverdue": false,
"completedDateByUser": "2026-01-09T19:23:00.7990205Z",
"completedDate": "2026-01-09T19:23:00.7990205+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 4",
"jobRecurrenceId": "d0782879-b0ca-4a11-8264-26c26e660b7a",
"monitoringRegimeId": "sample string 5",
"customFields": {
"rtcNumber": "sample string 1",
"operator": "sample string 2",
"dayType": "sample string 3",
"shift": "sample string 4",
"stopId": "sample string 5",
"direction": "sample string 6",
"timeFrom": "sample string 7",
"timeTo": "sample string 8",
"serviceRestrictions": "sample string 9"
},
"id": "d7387f98-3279-4b2c-8ef2-e946db776696",
"name": "sample string 7",
"jobTypeId": "7e628595-aa25-412e-a3a3-047ec81abe63",
"tenantNumericCode": 9,
"numericCode": 10,
"externalReference": "sample string 11",
"timeInMinutes": 12,
"jobReferenceCode": "9-10",
"scheduledDate": "2026-01-09T19:23:00.7990205Z",
"updatedDate": "2026-01-09T19:23:00.7990205Z",
"createdDate": "2026-01-09T19:23:00.7990205Z",
"scheduledDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"updatedDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"createdDateAndTimeOffset": "2026-01-09T19:23:00.7990205+00:00",
"parentJobId": "a697175a-ee29-448d-8df8-0154c674dda0",
"jobCategoryId": "43de1f30-2ed6-4227-8e55-b2d2eabf5735"
}
]
}
text/html
Sample:
{"jobsCount":1,"jobPageItems":[{"state":{"name":"sample string 1","id":"57b35172-a81d-47b4-b42c-c8b378e3bc99"},"allocatedTo":{"id":"c5badccc-ad0f-49fd-94f4-7d53f66df8d6","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"81efa3c5-373b-4806-9f3b-592e007c2e49","address1":"sample string 1","address2":"sample string 2","address3":"sample string 3","address4":"sample string 4","city":"sample string 5","county":"sample string 6","country":"sample string 7","zip":"sample string 8"},"jobType":{"name":"sample string 1","version":2,"state":"new"},"siteName":"sample string 2","isOverdue":false,"completedDateByUser":"2026-01-09T19:23:00.7990205Z","completedDate":"2026-01-09T19:23:00.7990205+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 4","jobRecurrenceId":"d0782879-b0ca-4a11-8264-26c26e660b7a","monitoringRegimeId":"sample string 5","customFields":{"rtcNumber":"sample string 1","operator":"sample string 2","dayType":"sample string 3","shift":"sample string 4","stopId":"sample string 5","direction":"sample string 6","timeFrom":"sample string 7","timeTo":"sample string 8","serviceRestrictions":"sample string 9"},"id":"d7387f98-3279-4b2c-8ef2-e946db776696","name":"sample string 7","jobTypeId":"7e628595-aa25-412e-a3a3-047ec81abe63","tenantNumericCode":9,"numericCode":10,"externalReference":"sample string 11","timeInMinutes":12,"jobReferenceCode":"9-10","scheduledDate":"2026-01-09T19:23:00.7990205Z","updatedDate":"2026-01-09T19:23:00.7990205Z","createdDate":"2026-01-09T19:23:00.7990205Z","scheduledDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","updatedDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","createdDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","parentJobId":"a697175a-ee29-448d-8df8-0154c674dda0","jobCategoryId":"43de1f30-2ed6-4227-8e55-b2d2eabf5735"},{"state":{"name":"sample string 1","id":"57b35172-a81d-47b4-b42c-c8b378e3bc99"},"allocatedTo":{"id":"c5badccc-ad0f-49fd-94f4-7d53f66df8d6","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"81efa3c5-373b-4806-9f3b-592e007c2e49","address1":"sample string 1","address2":"sample string 2","address3":"sample string 3","address4":"sample string 4","city":"sample string 5","county":"sample string 6","country":"sample string 7","zip":"sample string 8"},"jobType":{"name":"sample string 1","version":2,"state":"new"},"siteName":"sample string 2","isOverdue":false,"completedDateByUser":"2026-01-09T19:23:00.7990205Z","completedDate":"2026-01-09T19:23:00.7990205+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 4","jobRecurrenceId":"d0782879-b0ca-4a11-8264-26c26e660b7a","monitoringRegimeId":"sample string 5","customFields":{"rtcNumber":"sample string 1","operator":"sample string 2","dayType":"sample string 3","shift":"sample string 4","stopId":"sample string 5","direction":"sample string 6","timeFrom":"sample string 7","timeTo":"sample string 8","serviceRestrictions":"sample string 9"},"id":"d7387f98-3279-4b2c-8ef2-e946db776696","name":"sample string 7","jobTypeId":"7e628595-aa25-412e-a3a3-047ec81abe63","tenantNumericCode":9,"numericCode":10,"externalReference":"sample string 11","timeInMinutes":12,"jobReferenceCode":"9-10","scheduledDate":"2026-01-09T19:23:00.7990205Z","updatedDate":"2026-01-09T19:23:00.7990205Z","createdDate":"2026-01-09T19:23:00.7990205Z","scheduledDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","updatedDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","createdDateAndTimeOffset":"2026-01-09T19:23:00.7990205+00:00","parentJobId":"a697175a-ee29-448d-8df8-0154c674dda0","jobCategoryId":"43de1f30-2ed6-4227-8e55-b2d2eabf5735"}]}