POST api/integration/CreateMaintenanceWindows

Create Maintenance Windows

Request Information

URI Parameters

None.

Body Parameters

MaintenanceWindowsRequestModel
NameDescriptionTypeAdditional information
Description

(Required) Description Text for Maintenance Windows

string

None.

RecurrenceType

(Required) Recurrence Type 'O' for 'Once', 'D' for 'Daily', 'W' for 'Weekly' and 'M' for 'Monthly'

string

None.

IntegrationRuleIds

Integration Rule ID separated with comma

string

None.

StartDate

(Required) for Recurrence Type 'Once' and 'Monthly', (Optional) for other types, Date Time Format 'mm/dd/yy', Required if Start Date is Passed

string

None.

EndDate

(Optional) Date Time Format 'mm/dd/yy', Equals to Start Date for Recurrence Type 'Once'

string

None.

StartTime

Default '00:00'. 24 Hour time format eg: '16:45'

string

None.

EndTime

Default '23:59'. 24 Hour time format eg: '16:45'

string

None.

Sunday

Default 'false'

boolean

None.

Monday

Default 'false'

boolean

None.

Tuesday

Default 'false'

boolean

None.

Wednesday

Default 'false'

boolean

None.

Thursday

Default 'false'

boolean

None.

Friday

Default 'false'

boolean

None.

Saturday

Default 'false'

boolean

None.

APIKey

string

Required

Request Formats

text/json, application/json

Sample:
{
  "APIKey": "12ae8a55-22ee-4761-ac59-d8e6d182ef78",
  "Description": "TestDev5",
  "StartDate": "10/22/18",
  "EndDate": "10/22/18",
  "RecurrenceType": "W",
  "IntegrationRuleIds": "537",
  "StartTime": "22:45",
  "EndTime": "22:56",
  "Sunday": "False",
  "Monday": "False",
  "Tuesday": "False",
  "Wednesday": "true",
  "Thursday": "true",
  "Friday": "False",
  "Saturday": "False"
}

Response Information

Resource Description

MaintenanceWindowID integer; "0" if unchanged

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.