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": "5f475f66-661e-40c9-ac0e-6edcf0116a7e"
},
"allocatedTo": {
"id": "879ec9f1-203c-44a0-a8cb-3ea1c44b15bf",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "6a49bd68-0327-4b88-84d8-6bcb1062ec5c",
"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",
"assetName": "sample string 3",
"isOverdue": false,
"completedDateByUser": "2026-09-05T18:54:45.9230702Z",
"completedDate": "2026-09-05T18:54:45.9230702+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 5",
"jobRecurrenceId": "ce8e8c0f-191e-4a2e-bda8-8431841d1ec1",
"monitoringRegimeId": "sample string 6",
"currentRamsStateId": "c96b6cff-c05a-474d-90b0-64823e18b24a",
"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": "8e9181fe-369b-4fa4-8639-df1aa2934eab",
"name": "sample string 8",
"jobTypeId": "bb70440b-9a6d-43fe-9c2e-07c3a21d13c8",
"tenantNumericCode": 10,
"numericCode": 11,
"externalReference": "sample string 12",
"timeInMinutes": 13,
"jobReferenceCode": "10-11",
"scheduledDate": "2026-09-05T18:54:45.9230702Z",
"updatedDate": "2026-09-05T18:54:45.9230702Z",
"createdDate": "2026-09-05T18:54:45.9230702Z",
"scheduledDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"updatedDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"createdDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"parentJobId": "ebaee295-d44e-4c2e-b646-8a91115aca31",
"jobCategoryId": "7477d169-ff41-48fa-8def-544c89e771eb"
},
{
"state": {
"name": "sample string 1",
"id": "5f475f66-661e-40c9-ac0e-6edcf0116a7e"
},
"allocatedTo": {
"id": "879ec9f1-203c-44a0-a8cb-3ea1c44b15bf",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"userTypeName": "sample string 5"
},
"clientName": "sample string 1",
"siteAddress": {
"id": "6a49bd68-0327-4b88-84d8-6bcb1062ec5c",
"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",
"assetName": "sample string 3",
"isOverdue": false,
"completedDateByUser": "2026-09-05T18:54:45.9230702Z",
"completedDate": "2026-09-05T18:54:45.9230702+00:00",
"isRecurrence": true,
"recurrenceTypeName": "sample string 5",
"jobRecurrenceId": "ce8e8c0f-191e-4a2e-bda8-8431841d1ec1",
"monitoringRegimeId": "sample string 6",
"currentRamsStateId": "c96b6cff-c05a-474d-90b0-64823e18b24a",
"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": "8e9181fe-369b-4fa4-8639-df1aa2934eab",
"name": "sample string 8",
"jobTypeId": "bb70440b-9a6d-43fe-9c2e-07c3a21d13c8",
"tenantNumericCode": 10,
"numericCode": 11,
"externalReference": "sample string 12",
"timeInMinutes": 13,
"jobReferenceCode": "10-11",
"scheduledDate": "2026-09-05T18:54:45.9230702Z",
"updatedDate": "2026-09-05T18:54:45.9230702Z",
"createdDate": "2026-09-05T18:54:45.9230702Z",
"scheduledDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"updatedDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"createdDateAndTimeOffset": "2026-09-05T18:54:45.9230702+00:00",
"parentJobId": "ebaee295-d44e-4c2e-b646-8a91115aca31",
"jobCategoryId": "7477d169-ff41-48fa-8def-544c89e771eb"
}
]
}
text/html
Sample:
{"jobsCount":1,"jobPageItems":[{"state":{"name":"sample string 1","id":"5f475f66-661e-40c9-ac0e-6edcf0116a7e"},"allocatedTo":{"id":"879ec9f1-203c-44a0-a8cb-3ea1c44b15bf","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"6a49bd68-0327-4b88-84d8-6bcb1062ec5c","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","assetName":"sample string 3","isOverdue":false,"completedDateByUser":"2026-09-05T18:54:45.9230702Z","completedDate":"2026-09-05T18:54:45.9230702+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 5","jobRecurrenceId":"ce8e8c0f-191e-4a2e-bda8-8431841d1ec1","monitoringRegimeId":"sample string 6","currentRamsStateId":"c96b6cff-c05a-474d-90b0-64823e18b24a","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":"8e9181fe-369b-4fa4-8639-df1aa2934eab","name":"sample string 8","jobTypeId":"bb70440b-9a6d-43fe-9c2e-07c3a21d13c8","tenantNumericCode":10,"numericCode":11,"externalReference":"sample string 12","timeInMinutes":13,"jobReferenceCode":"10-11","scheduledDate":"2026-09-05T18:54:45.9230702Z","updatedDate":"2026-09-05T18:54:45.9230702Z","createdDate":"2026-09-05T18:54:45.9230702Z","scheduledDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","updatedDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","createdDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","parentJobId":"ebaee295-d44e-4c2e-b646-8a91115aca31","jobCategoryId":"7477d169-ff41-48fa-8def-544c89e771eb"},{"state":{"name":"sample string 1","id":"5f475f66-661e-40c9-ac0e-6edcf0116a7e"},"allocatedTo":{"id":"879ec9f1-203c-44a0-a8cb-3ea1c44b15bf","firstName":"sample string 2","lastName":"sample string 3","email":"sample string 4","userTypeName":"sample string 5"},"clientName":"sample string 1","siteAddress":{"id":"6a49bd68-0327-4b88-84d8-6bcb1062ec5c","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","assetName":"sample string 3","isOverdue":false,"completedDateByUser":"2026-09-05T18:54:45.9230702Z","completedDate":"2026-09-05T18:54:45.9230702+00:00","isRecurrence":true,"recurrenceTypeName":"sample string 5","jobRecurrenceId":"ce8e8c0f-191e-4a2e-bda8-8431841d1ec1","monitoringRegimeId":"sample string 6","currentRamsStateId":"c96b6cff-c05a-474d-90b0-64823e18b24a","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":"8e9181fe-369b-4fa4-8639-df1aa2934eab","name":"sample string 8","jobTypeId":"bb70440b-9a6d-43fe-9c2e-07c3a21d13c8","tenantNumericCode":10,"numericCode":11,"externalReference":"sample string 12","timeInMinutes":13,"jobReferenceCode":"10-11","scheduledDate":"2026-09-05T18:54:45.9230702Z","updatedDate":"2026-09-05T18:54:45.9230702Z","createdDate":"2026-09-05T18:54:45.9230702Z","scheduledDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","updatedDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","createdDateAndTimeOffset":"2026-09-05T18:54:45.9230702+00:00","parentJobId":"ebaee295-d44e-4c2e-b646-8a91115aca31","jobCategoryId":"7477d169-ff41-48fa-8def-544c89e771eb"}]}