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": "cab18e9d-cb65-4bc4-88f3-53ec385ead92",
"name": "sample string 2",
"userId": "df69f195-7368-4ee2-ae0f-d91a4a94f087",
"createDaysBefore": 3,
"siteId": "93a94f04-3f7b-4b53-9d8d-56b915d85f77",
"contactId": "8883e4f3-0caf-420e-817e-b5318aa7ca3a",
"assetId": "6bb32af9-7d1a-4a3b-ac46-45f95a12965b",
"startDate": "2026-01-09T19:23:04.2752407Z",
"endDate": "2026-01-09T19:23:04.2752407Z",
"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": "ea375871-7f46-4e9b-802d-9a09cd411b5b",
"lastCompletedDate": "2026-01-09T19:23:04.2908227+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1e7713c1-576c-4dfe-b3e1-c96e5efa02f7"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1e7713c1-576c-4dfe-b3e1-c96e5efa02f7"
}
]
}
text/html
Sample:
{"jobTypeId":"cab18e9d-cb65-4bc4-88f3-53ec385ead92","name":"sample string 2","userId":"df69f195-7368-4ee2-ae0f-d91a4a94f087","createDaysBefore":3,"siteId":"93a94f04-3f7b-4b53-9d8d-56b915d85f77","contactId":"8883e4f3-0caf-420e-817e-b5318aa7ca3a","assetId":"6bb32af9-7d1a-4a3b-ac46-45f95a12965b","startDate":"2026-01-09T19:23:04.2752407Z","endDate":"2026-01-09T19:23:04.2752407Z","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":"ea375871-7f46-4e9b-802d-9a09cd411b5b","lastCompletedDate":"2026-01-09T19:23:04.2908227+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1e7713c1-576c-4dfe-b3e1-c96e5efa02f7"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1e7713c1-576c-4dfe-b3e1-c96e5efa02f7"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.