PUT api/monitoringvisits/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "1e5f5132-f322-4093-af57-dbce8cfd6d81",
"name": "sample string 2",
"userId": "2d8cffa1-5512-4ce3-9263-bbce7a2f5493",
"createDaysBefore": 3,
"siteId": "214d9941-0423-4f56-af88-d7349235725e",
"contactId": "8a6d3368-53a9-4e49-9a74-7a8d43972043",
"assetId": "334f6d52-dd7b-4d3a-ab5f-85e026d4a618",
"startDate": "2026-02-27T04:03:05.3821842Z",
"endDate": "2026-02-27T04:03:05.3821842Z",
"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": "088168cd-2468-4d4b-b77e-44491948814f",
"lastCompletedDate": "2026-02-27T04:03:05.3821842+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1654334c-ca15-4f93-b67e-6aafa1f8e712"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1654334c-ca15-4f93-b67e-6aafa1f8e712"
}
]
}
text/html
Sample:
{"jobTypeId":"1e5f5132-f322-4093-af57-dbce8cfd6d81","name":"sample string 2","userId":"2d8cffa1-5512-4ce3-9263-bbce7a2f5493","createDaysBefore":3,"siteId":"214d9941-0423-4f56-af88-d7349235725e","contactId":"8a6d3368-53a9-4e49-9a74-7a8d43972043","assetId":"334f6d52-dd7b-4d3a-ab5f-85e026d4a618","startDate":"2026-02-27T04:03:05.3821842Z","endDate":"2026-02-27T04:03:05.3821842Z","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":"088168cd-2468-4d4b-b77e-44491948814f","lastCompletedDate":"2026-02-27T04:03:05.3821842+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1654334c-ca15-4f93-b67e-6aafa1f8e712"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1654334c-ca15-4f93-b67e-6aafa1f8e712"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.