POST v1/bunits/{bunitId}/datacenters/{dataCenterId}/eventDurationSetting

Create settings for a datacenter

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The ID of the business unit of the data center integer

Required

dataCenterId The ID of the data center integer

Required

Body Parameters

The settings to create

EventDurationSetting
NameDescriptionTypeAdditional information
Hourly Number of hours before canceling the job
if the related schedule has hours as period unit
integer

None.

Daily Number of hours before canceling the job
if the related schedule has days as period unit
integer

None.

Weekly Number of hours before canceling the job
if the related schedule has weeks as period unit
integer

None.

Monthly Number of hours before canceling the job
if the related schedule has months as period unit
integer

None.

OneTime Number of hours before canceling the job
if the related schedule is set to run one time
integer

None.

DataCenter The data center the settings are relevant for
DataCenter

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

The settings object with the created information

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.