POST api/monitoringvisits
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.JobRecurrence.JobRecurrenceDtoName | Description | Type | Additional information |
---|---|---|---|
JobTypeId | globally unique identifier |
Required |
|
Name | string |
Required |
|
UserId | globally unique identifier |
None. |
|
CreateDaysBefore | integer |
Required |
|
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": "4ee30096-88cd-424e-b44f-630fd33a809f", "name": "sample string 2", "userId": "1f933fbb-71de-4535-8f44-c76f3d0ac9d0", "createDaysBefore": 3, "siteId": "beec9244-a3fe-4f0e-b933-eae116a7c05d", "contactId": "857141c8-0c34-4f3c-8361-6ffc160c2c13", "assetId": "82332865-8929-4953-ba42-d08b8ded2b57", "startDate": "2025-06-21T15:07:41.1917173Z", "endDate": "2025-06-21T15:07:41.1917173Z", "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": "5e7cd5de-9b10-49e8-93ba-d3ed59f070b7", "lastCompletedDate": "2025-06-21T15:07:41.1917173+00:00", "chained": true, "systems": [ { "systemId": "sample string 1", "systemName": "sample string 2", "jobRecurrenceId": "6d5d9ffd-d1da-4f01-9475-9645aef9cdfb" }, { "systemId": "sample string 1", "systemName": "sample string 2", "jobRecurrenceId": "6d5d9ffd-d1da-4f01-9475-9645aef9cdfb" } ] }
text/html
Sample:
{"jobTypeId":"4ee30096-88cd-424e-b44f-630fd33a809f","name":"sample string 2","userId":"1f933fbb-71de-4535-8f44-c76f3d0ac9d0","createDaysBefore":3,"siteId":"beec9244-a3fe-4f0e-b933-eae116a7c05d","contactId":"857141c8-0c34-4f3c-8361-6ffc160c2c13","assetId":"82332865-8929-4953-ba42-d08b8ded2b57","startDate":"2025-06-21T15:07:41.1917173Z","endDate":"2025-06-21T15:07:41.1917173Z","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":"5e7cd5de-9b10-49e8-93ba-d3ed59f070b7","lastCompletedDate":"2025-06-21T15:07:41.1917173+00:00","chained":true,"systems":[{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"6d5d9ffd-d1da-4f01-9475-9645aef9cdfb"},{"systemId":"sample string 1","systemName":"sample string 2","jobRecurrenceId":"6d5d9ffd-d1da-4f01-9475-9645aef9cdfb"}]}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.