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": "7e6345c0-1b20-4beb-941d-8c3bac9f4360",
"name": "sample string 2",
"userId": "a9902520-e2cc-4a96-82ea-f2c539937524",
"createDaysBefore": 3,
"siteId": "30cef67d-307a-47db-9d67-0f53242f75fa",
"contactId": "e94ec349-c38d-4b04-90ee-781ef2b48eb5",
"assetId": "070ef9c4-03ce-4264-8249-27234c549e09",
"startDate": "2026-06-02T00:34:39.4050725Z",
"endDate": "2026-06-02T00:34:39.4050725Z",
"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": "a0d4748f-278b-45bf-9b0c-60e7dea290da",
"lastCompletedDate": "2026-06-02T00:34:39.4050725+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1de93146-2252-4d3f-964f-c920de245683"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1de93146-2252-4d3f-964f-c920de245683"
}
]
}
text/html
Sample:
{"jobTypeId":"7e6345c0-1b20-4beb-941d-8c3bac9f4360","name":"sample string 2","userId":"a9902520-e2cc-4a96-82ea-f2c539937524","createDaysBefore":3,"siteId":"30cef67d-307a-47db-9d67-0f53242f75fa","contactId":"e94ec349-c38d-4b04-90ee-781ef2b48eb5","assetId":"070ef9c4-03ce-4264-8249-27234c549e09","startDate":"2026-06-02T00:34:39.4050725Z","endDate":"2026-06-02T00:34:39.4050725Z","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":"a0d4748f-278b-45bf-9b0c-60e7dea290da","lastCompletedDate":"2026-06-02T00:34:39.4050725+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1de93146-2252-4d3f-964f-c920de245683"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1de93146-2252-4d3f-964f-c920de245683"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.