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": "bfae71b9-20cc-46e5-af8b-4fe6f393f9e6",
"name": "sample string 2",
"userId": "9bc39176-c509-41b0-b917-4ff29932e3f5",
"createDaysBefore": 3,
"siteId": "e37c0efa-08a7-468c-b92f-a8c5594ff5eb",
"contactId": "73d6c12c-74e9-41d9-b216-c23c935f3530",
"assetId": "1f996373-e4bd-4578-a0c9-375d30620372",
"startDate": "2026-06-02T00:35:07.5299163Z",
"endDate": "2026-06-02T00:35:07.5299163Z",
"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": "49522968-b820-435e-8298-b8d8e945e6e7",
"lastCompletedDate": "2026-06-02T00:35:07.5299163+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "a5688d66-8603-45fe-b6cf-d1f814294e74"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "a5688d66-8603-45fe-b6cf-d1f814294e74"
}
]
}
text/html
Sample:
{"jobTypeId":"bfae71b9-20cc-46e5-af8b-4fe6f393f9e6","name":"sample string 2","userId":"9bc39176-c509-41b0-b917-4ff29932e3f5","createDaysBefore":3,"siteId":"e37c0efa-08a7-468c-b92f-a8c5594ff5eb","contactId":"73d6c12c-74e9-41d9-b216-c23c935f3530","assetId":"1f996373-e4bd-4578-a0c9-375d30620372","startDate":"2026-06-02T00:35:07.5299163Z","endDate":"2026-06-02T00:35:07.5299163Z","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":"49522968-b820-435e-8298-b8d8e945e6e7","lastCompletedDate":"2026-06-02T00:35:07.5299163+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"a5688d66-8603-45fe-b6cf-d1f814294e74"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"a5688d66-8603-45fe-b6cf-d1f814294e74"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.