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": "21bdaca5-776c-44dd-b0fd-772f3316fe41",
"name": "sample string 2",
"userId": "69eb2e91-4ec0-4ba2-b83a-1ab7faad1364",
"createDaysBefore": 3,
"siteId": "fa961ee5-5696-47fb-ae90-29719e776ced",
"contactId": "c52803bb-8e8b-4e65-8fd2-f2f4ee2404f0",
"assetId": "8f211f3e-f59e-4851-ab16-1ba42999b1f1",
"startDate": "2026-07-25T23:24:16.7598817Z",
"endDate": "2026-07-25T23:24:16.7598817Z",
"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": "1d8d4d94-d72f-4a95-bd45-a19e84f83974",
"lastCompletedDate": "2026-07-25T23:24:16.7598817+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "2458d595-a8ff-4293-811d-56c0608230d7"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "2458d595-a8ff-4293-811d-56c0608230d7"
}
]
}
text/html
Sample:
{"jobTypeId":"21bdaca5-776c-44dd-b0fd-772f3316fe41","name":"sample string 2","userId":"69eb2e91-4ec0-4ba2-b83a-1ab7faad1364","createDaysBefore":3,"siteId":"fa961ee5-5696-47fb-ae90-29719e776ced","contactId":"c52803bb-8e8b-4e65-8fd2-f2f4ee2404f0","assetId":"8f211f3e-f59e-4851-ab16-1ba42999b1f1","startDate":"2026-07-25T23:24:16.7598817Z","endDate":"2026-07-25T23:24:16.7598817Z","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":"1d8d4d94-d72f-4a95-bd45-a19e84f83974","lastCompletedDate":"2026-07-25T23:24:16.7598817+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"2458d595-a8ff-4293-811d-56c0608230d7"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"2458d595-a8ff-4293-811d-56c0608230d7"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.