POST api/monitoringvisits
Request Information
URI Parameters
None.
Body Parameters
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": "e80c7f87-f461-4bc7-996c-a0b376a26d6a",
"name": "sample string 2",
"userId": "bffb9165-54c4-47cd-b286-767e2739118d",
"createDaysBefore": 3,
"siteId": "be08c7f9-cfb1-4b72-b47c-48d4027e68df",
"contactId": "4b434698-61cf-4134-a444-9cc99e47fd86",
"assetId": "0e599113-dab4-4161-ab91-a16494dc63b4",
"startDate": "2026-10-24T01:45:41.9965218Z",
"endDate": "2026-10-24T01:45:41.9965218Z",
"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": "b3af9f3e-795c-4b60-ab2f-a114100ff39f",
"lastCompletedDate": "2026-10-24T01:45:41.9965218+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "9ccf64a7-bc6e-46bb-983a-578eb41f5324"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "9ccf64a7-bc6e-46bb-983a-578eb41f5324"
}
]
}
text/html
Sample:
{"jobTypeId":"e80c7f87-f461-4bc7-996c-a0b376a26d6a","name":"sample string 2","userId":"bffb9165-54c4-47cd-b286-767e2739118d","createDaysBefore":3,"siteId":"be08c7f9-cfb1-4b72-b47c-48d4027e68df","contactId":"4b434698-61cf-4134-a444-9cc99e47fd86","assetId":"0e599113-dab4-4161-ab91-a16494dc63b4","startDate":"2026-10-24T01:45:41.9965218Z","endDate":"2026-10-24T01:45:41.9965218Z","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":"b3af9f3e-795c-4b60-ab2f-a114100ff39f","lastCompletedDate":"2026-10-24T01:45:41.9965218+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"9ccf64a7-bc6e-46bb-983a-578eb41f5324"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"9ccf64a7-bc6e-46bb-983a-578eb41f5324"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.