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": "b4981d98-f7d7-432d-929d-3792a4ba6570",
"name": "sample string 2",
"userId": "f30c238d-44db-4053-86a3-3c5fd33dd425",
"createDaysBefore": 3,
"siteId": "4920b4e4-c224-4c69-9838-0c392b9cd510",
"contactId": "0bf28842-0339-4725-8c61-7314546dae66",
"assetId": "ff8acc7f-a933-4062-bda4-397811a81163",
"startDate": "2026-02-27T04:02:23.5838321Z",
"endDate": "2026-02-27T04:02:23.5838321Z",
"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": "9cbf7d31-185e-4b0f-8d92-9747f13e3f71",
"lastCompletedDate": "2026-02-27T04:02:23.5838321+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1d604678-dad2-42c7-85a9-ab695699c3b8"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "1d604678-dad2-42c7-85a9-ab695699c3b8"
}
]
}
text/html
Sample:
{"jobTypeId":"b4981d98-f7d7-432d-929d-3792a4ba6570","name":"sample string 2","userId":"f30c238d-44db-4053-86a3-3c5fd33dd425","createDaysBefore":3,"siteId":"4920b4e4-c224-4c69-9838-0c392b9cd510","contactId":"0bf28842-0339-4725-8c61-7314546dae66","assetId":"ff8acc7f-a933-4062-bda4-397811a81163","startDate":"2026-02-27T04:02:23.5838321Z","endDate":"2026-02-27T04:02:23.5838321Z","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":"9cbf7d31-185e-4b0f-8d92-9747f13e3f71","lastCompletedDate":"2026-02-27T04:02:23.5838321+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1d604678-dad2-42c7-85a9-ab695699c3b8"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"1d604678-dad2-42c7-85a9-ab695699c3b8"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.