PUT api/monitoringvisits/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
API.Infrastructure.Dto.JobRecurrence.JobRecurrenceDtoName | Description | Type | Additional information |
---|---|---|---|
JobTypeId | globally unique identifier |
Required |
|
Name | string |
Required |
|
UserId | globally unique identifier |
None. |
|
CreateDaysBefore | integer |
Required |
|
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": "a78bc94c-17d5-4aa2-9a0b-d0b9ae1920c0", "name": "sample string 2", "userId": "337a6277-f493-428d-a3a6-152c000c3d85", "createDaysBefore": 3, "siteId": "86f40c68-80d3-4b16-94ef-712848ea1498", "contactId": "56f5804f-f7fa-46f3-a449-580f41d495fc", "assetId": "8c88d34f-c0c1-4618-b947-d43994fde6c5", "startDate": "2025-06-21T15:04:07.193425Z", "endDate": "2025-06-21T15:04:07.193425Z", "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": "077af89f-9fa5-4986-ba04-4a72b1717c44", "lastCompletedDate": "2025-06-21T15:04:07.193425+00:00", "chained": true, "systems": [ { "systemId": "sample string 1", "systemName": "sample string 2", "jobRecurrenceId": "93ea1cee-4016-4dbd-8584-e53a6b174ffd" }, { "systemId": "sample string 1", "systemName": "sample string 2", "jobRecurrenceId": "93ea1cee-4016-4dbd-8584-e53a6b174ffd" } ] }
text/html
Sample:
{"jobTypeId":"a78bc94c-17d5-4aa2-9a0b-d0b9ae1920c0","name":"sample string 2","userId":"337a6277-f493-428d-a3a6-152c000c3d85","createDaysBefore":3,"siteId":"86f40c68-80d3-4b16-94ef-712848ea1498","contactId":"56f5804f-f7fa-46f3-a449-580f41d495fc","assetId":"8c88d34f-c0c1-4618-b947-d43994fde6c5","startDate":"2025-06-21T15:04:07.193425Z","endDate":"2025-06-21T15:04:07.193425Z","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":"077af89f-9fa5-4986-ba04-4a72b1717c44","lastCompletedDate":"2025-06-21T15:04:07.193425+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"93ea1cee-4016-4dbd-8584-e53a6b174ffd"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"93ea1cee-4016-4dbd-8584-e53a6b174ffd"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.