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": "9eba17fb-80d5-4472-a2d2-d51a63b0b44c"
},
"allocatedTo": {
"id": "e553d54e-ca36-4380-8012-b012303b6aa7",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "45472dd1-3fb6-4b82-9f40-8f27781ee150",
"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",
"assetId": "1ea0f200-96a8-439d-8263-69764172e16a",
"assetName": "sample string 3",
"isOverdue": false,
"completedDateByUser": "2026-10-22T02:48:08.1613173Z",
"completedDate": "2026-10-22T02:48:08.1613173+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 5",
"jobRecurrenceId": "bcd6d143-9219-4965-b0e8-e3c0f4264e4a",
"monitoringRegimeId": "sample string 6",
"currentRamsStateId": "6bc7db4f-2b08-40e3-b0c8-50c0f1b8e78e",
"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": "4991545c-2af9-4a9c-bfb4-fcfdabb8a2e7",
"name": "sample string 8",
"jobTypeId": "e63be1cf-ced7-4bbf-85b9-abc039530e57",
"tenantNumericCode": 10,
"numericCode": 11,
"externalReference": "sample string 12",
"timeInMinutes": 13,
"jobReferenceCode": "10-11",
"scheduledDate": "2026-10-22T02:48:08.1613173Z",
"updatedDate": "2026-10-22T02:48:08.1613173Z",
"createdDate": "2026-10-22T02:48:08.1613173Z",
"scheduledDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"updatedDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"createdDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"parentJobId": "76e03e68-15a2-45b7-90aa-20c2b0c43352",
"jobCategoryId": "4ef3a48d-e41b-465a-8a10-13e22d205b01"
},
{
"state": {
"name": "sample string 1",
"id": "9eba17fb-80d5-4472-a2d2-d51a63b0b44c"
},
"allocatedTo": {
"id": "e553d54e-ca36-4380-8012-b012303b6aa7",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "45472dd1-3fb6-4b82-9f40-8f27781ee150",
"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",
"assetId": "1ea0f200-96a8-439d-8263-69764172e16a",
"assetName": "sample string 3",
"isOverdue": false,
"completedDateByUser": "2026-10-22T02:48:08.1613173Z",
"completedDate": "2026-10-22T02:48:08.1613173+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 5",
"jobRecurrenceId": "bcd6d143-9219-4965-b0e8-e3c0f4264e4a",
"monitoringRegimeId": "sample string 6",
"currentRamsStateId": "6bc7db4f-2b08-40e3-b0c8-50c0f1b8e78e",
"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": "4991545c-2af9-4a9c-bfb4-fcfdabb8a2e7",
"name": "sample string 8",
"jobTypeId": "e63be1cf-ced7-4bbf-85b9-abc039530e57",
"tenantNumericCode": 10,
"numericCode": 11,
"externalReference": "sample string 12",
"timeInMinutes": 13,
"jobReferenceCode": "10-11",
"scheduledDate": "2026-10-22T02:48:08.1613173Z",
"updatedDate": "2026-10-22T02:48:08.1613173Z",
"createdDate": "2026-10-22T02:48:08.1613173Z",
"scheduledDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"updatedDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"createdDateAndTimeOffset": "2026-10-22T02:48:08.1613173+00:00",
"parentJobId": "76e03e68-15a2-45b7-90aa-20c2b0c43352",
"jobCategoryId": "4ef3a48d-e41b-465a-8a10-13e22d205b01"
}
]
}
text/html
Sample:
{"jobsCount":1,"jobPageItems":[{"state":{"name":"sample string 1","id":"9eba17fb-80d5-4472-a2d2-d51a63b0b44c"},"allocatedTo":{"id":"e553d54e-ca36-4380-8012-b012303b6aa7","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"45472dd1-3fb6-4b82-9f40-8f27781ee150","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","assetId":"1ea0f200-96a8-439d-8263-69764172e16a","assetName":"sample string 3","isOverdue":false,"completedDateByUser":"2026-10-22T02:48:08.1613173Z","completedDate":"2026-10-22T02:48:08.1613173+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 5","jobRecurrenceId":"bcd6d143-9219-4965-b0e8-e3c0f4264e4a","monitoringRegimeId":"sample string 6","currentRamsStateId":"6bc7db4f-2b08-40e3-b0c8-50c0f1b8e78e","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":"4991545c-2af9-4a9c-bfb4-fcfdabb8a2e7","name":"sample string 8","jobTypeId":"e63be1cf-ced7-4bbf-85b9-abc039530e57","tenantNumericCode":10,"numericCode":11,"externalReference":"sample string 12","timeInMinutes":13,"jobReferenceCode":"10-11","scheduledDate":"2026-10-22T02:48:08.1613173Z","updatedDate":"2026-10-22T02:48:08.1613173Z","createdDate":"2026-10-22T02:48:08.1613173Z","scheduledDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","updatedDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","createdDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","parentJobId":"76e03e68-15a2-45b7-90aa-20c2b0c43352","jobCategoryId":"4ef3a48d-e41b-465a-8a10-13e22d205b01"},{"state":{"name":"sample string 1","id":"9eba17fb-80d5-4472-a2d2-d51a63b0b44c"},"allocatedTo":{"id":"e553d54e-ca36-4380-8012-b012303b6aa7","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"45472dd1-3fb6-4b82-9f40-8f27781ee150","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","assetId":"1ea0f200-96a8-439d-8263-69764172e16a","assetName":"sample string 3","isOverdue":false,"completedDateByUser":"2026-10-22T02:48:08.1613173Z","completedDate":"2026-10-22T02:48:08.1613173+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 5","jobRecurrenceId":"bcd6d143-9219-4965-b0e8-e3c0f4264e4a","monitoringRegimeId":"sample string 6","currentRamsStateId":"6bc7db4f-2b08-40e3-b0c8-50c0f1b8e78e","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":"4991545c-2af9-4a9c-bfb4-fcfdabb8a2e7","name":"sample string 8","jobTypeId":"e63be1cf-ced7-4bbf-85b9-abc039530e57","tenantNumericCode":10,"numericCode":11,"externalReference":"sample string 12","timeInMinutes":13,"jobReferenceCode":"10-11","scheduledDate":"2026-10-22T02:48:08.1613173Z","updatedDate":"2026-10-22T02:48:08.1613173Z","createdDate":"2026-10-22T02:48:08.1613173Z","scheduledDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","updatedDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","createdDateAndTimeOffset":"2026-10-22T02:48:08.1613173+00:00","parentJobId":"76e03e68-15a2-45b7-90aa-20c2b0c43352","jobCategoryId":"4ef3a48d-e41b-465a-8a10-13e22d205b01"}]}