POST api/monitoringvisits/hypotheticalnextdate
Gets the hypothetical next date for a job recurrence which has not already been created.
Request Information
URI Parameters
None.
Body Parameters
The recurrence details.
API.Infrastructure.Dto.JobRecurrence.JobRecurrenceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| JobTypeId | globally unique identifier |
Required |
|
| Name | string |
Required |
|
| UserId | globally unique identifier |
None. |
|
| CreateDaysBefore | integer |
None. |
|
| SiteId | globally unique identifier |
Required |
|
| ContactId | globally unique identifier |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| StartDate | date |
Required |
|
| EndDate | date |
None. |
|
| Limit | integer |
None. |
|
| ExternalReference | string |
None. |
|
| Pattern | API.Domain.JobRecurrence.RecurrencePattern |
Required |
|
| Notes | string |
None. |
|
| JobRecurrenceTypeId | globally unique identifier |
None. |
|
| LastCompletedDate | date |
None. |
|
| Chained | boolean |
None. |
|
| Systems | Collection of API.Infrastructure.Dto.JobRecurrence.JobRecurrenceSystemDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"jobTypeId": "34260e09-82bd-47b7-9a68-3dc40ffbe1ae",
"name": "sample string 2",
"userId": "f20bdedc-6ed8-4a19-92cb-d3729393a0e2",
"createDaysBefore": 3,
"siteId": "32a072fc-4737-43cb-905f-d86b9db74589",
"contactId": "ee2b9881-2fc6-46fb-8e70-a2a6100cbd2f",
"assetId": "c7a60a84-d2b2-4120-947d-bfa76f8676fa",
"startDate": "2026-07-25T23:24:41.7332598Z",
"endDate": "2026-07-25T23:24:41.7332598Z",
"limit": 1,
"externalReference": "sample string 6",
"pattern": {
"checked": "daily",
"underoption": "dailyCycle",
"daily": {
"cycle": 1,
"type": "daily"
},
"weekly": {
"cycle": 1,
"weekdays": [
1,
2
],
"type": "weekly"
},
"monthly": {
"dayOfMonth": 1,
"cycle": 2,
"numberOfWeekdayInMonth": 3,
"weekday": "sunday",
"type": "monthly"
},
"yearly": {
"month": 1,
"day": 2,
"numberOfWeekdayInMonth": 3,
"weekday": "sunday",
"type": "yearly"
}
},
"notes": "sample string 7",
"jobRecurrenceTypeId": "23f4d3a0-337e-4d21-999d-6293a5b42f45",
"lastCompletedDate": "2026-07-25T23:24:41.7332598+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "15aa9d11-3ed4-4578-b1e4-dc6f0785637c"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "15aa9d11-3ed4-4578-b1e4-dc6f0785637c"
}
]
}
text/html
Sample:
{"jobTypeId":"34260e09-82bd-47b7-9a68-3dc40ffbe1ae","name":"sample string 2","userId":"f20bdedc-6ed8-4a19-92cb-d3729393a0e2","createDaysBefore":3,"siteId":"32a072fc-4737-43cb-905f-d86b9db74589","contactId":"ee2b9881-2fc6-46fb-8e70-a2a6100cbd2f","assetId":"c7a60a84-d2b2-4120-947d-bfa76f8676fa","startDate":"2026-07-25T23:24:41.7332598Z","endDate":"2026-07-25T23:24:41.7332598Z","limit":1,"externalReference":"sample string 6","pattern":{"checked":"daily","underoption":"dailyCycle","daily":{"cycle":1,"type":"daily"},"weekly":{"cycle":1,"weekdays":[1,2],"type":"weekly"},"monthly":{"dayOfMonth":1,"cycle":2,"numberOfWeekdayInMonth":3,"weekday":"sunday","type":"monthly"},"yearly":{"month":1,"day":2,"numberOfWeekdayInMonth":3,"weekday":"sunday","type":"yearly"}},"notes":"sample string 7","jobRecurrenceTypeId":"23f4d3a0-337e-4d21-999d-6293a5b42f45","lastCompletedDate":"2026-07-25T23:24:41.7332598+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"15aa9d11-3ed4-4578-b1e4-dc6f0785637c"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"15aa9d11-3ed4-4578-b1e4-dc6f0785637c"}]}
Response Information
Resource Description
What the next recurrence date should be based on the recurrence details.
API.Domain.ViewModels.JobRecurrence.JobRecurrencePossibleNextDate| Name | Description | Type | Additional information |
|---|---|---|---|
| NextDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"nextDate": "2026-07-25T23:24:41.7332598Z"
}
text/html
Sample:
{"nextDate":"2026-07-25T23:24:41.7332598Z"}