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": "e7b10438-384f-4dc2-98fc-f151dfb20cc2",
"name": "sample string 2",
"userId": "24d3b26e-629b-4952-8a60-7c77908639e0",
"createDaysBefore": 3,
"siteId": "0ead4b91-34bb-4f11-8ef4-b97fc0c78b3f",
"contactId": "78b910e9-09cf-418d-b6fc-fb1ee0a449c6",
"assetId": "a2757722-4bab-45c9-bb48-afad089280a4",
"startDate": "2026-09-06T05:50:01.8482149Z",
"endDate": "2026-09-06T05:50:01.8482149Z",
"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": "1faeec7d-43cf-42ac-aa1c-8d401fd38102",
"lastCompletedDate": "2026-09-06T05:50:01.8482149+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "d4bc6061-b98d-4f1f-bc23-daf8f8359fdc"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "d4bc6061-b98d-4f1f-bc23-daf8f8359fdc"
}
]
}
text/html
Sample:
{"jobTypeId":"e7b10438-384f-4dc2-98fc-f151dfb20cc2","name":"sample string 2","userId":"24d3b26e-629b-4952-8a60-7c77908639e0","createDaysBefore":3,"siteId":"0ead4b91-34bb-4f11-8ef4-b97fc0c78b3f","contactId":"78b910e9-09cf-418d-b6fc-fb1ee0a449c6","assetId":"a2757722-4bab-45c9-bb48-afad089280a4","startDate":"2026-09-06T05:50:01.8482149Z","endDate":"2026-09-06T05:50:01.8482149Z","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":"1faeec7d-43cf-42ac-aa1c-8d401fd38102","lastCompletedDate":"2026-09-06T05:50:01.8482149+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"d4bc6061-b98d-4f1f-bc23-daf8f8359fdc"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"d4bc6061-b98d-4f1f-bc23-daf8f8359fdc"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.