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": "5150f247-d967-4f63-896a-87fcc199b640",
"name": "sample string 2",
"userId": "267fd36e-2324-49b3-b05d-6062fa4a5790",
"createDaysBefore": 3,
"siteId": "5f5173a0-e9fa-496b-91b3-1679356d67b8",
"contactId": "4bc42b64-ca98-4fed-bb1e-b19b3013ab96",
"assetId": "0c99d4e3-f6f1-4fe0-aee2-fe0649be0b9c",
"startDate": "2026-04-15T00:18:51.9814596Z",
"endDate": "2026-04-15T00:18:51.9814596Z",
"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": "c56c0cff-705b-4123-8f7c-d106f745c0b0",
"lastCompletedDate": "2026-04-15T00:18:51.9814596+00:00",
"chained": true,
"systems": [
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "bfbf24f3-bea7-4742-9bbc-4f1425e994de"
},
{
"systemId": "sample string 1",
"systemName": "sample string 2",
"jobRecurrenceId": "bfbf24f3-bea7-4742-9bbc-4f1425e994de"
}
]
}
text/html
Sample:
{"jobTypeId":"5150f247-d967-4f63-896a-87fcc199b640","name":"sample string 2","userId":"267fd36e-2324-49b3-b05d-6062fa4a5790","createDaysBefore":3,"siteId":"5f5173a0-e9fa-496b-91b3-1679356d67b8","contactId":"4bc42b64-ca98-4fed-bb1e-b19b3013ab96","assetId":"0c99d4e3-f6f1-4fe0-aee2-fe0649be0b9c","startDate":"2026-04-15T00:18:51.9814596Z","endDate":"2026-04-15T00:18:51.9814596Z","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":"c56c0cff-705b-4123-8f7c-d106f745c0b0","lastCompletedDate":"2026-04-15T00:18:51.9814596+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"bfbf24f3-bea7-4742-9bbc-4f1425e994de"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"bfbf24f3-bea7-4742-9bbc-4f1425e994de"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.