circle-info
Squadcast is now SolarWinds Incident Response

Schedules

Overview

Available Operations

List

List Schedules

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

request

✔️

The request object to use for the request.

opts

The options for this request.

Response

*operations.SchedulesListSchedulesResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Create

Create Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

request

✔️

The request object to use for the request.

opts

The options for this request.

Response

*operations.SchedulesCreateScheduleResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Delete

Delete Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesDeleteScheduleResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

GetByID

Get Schedule by ID

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesGetScheduleByIDResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Update

Update Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

v4UpdateScheduleRequest

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesUpdateScheduleResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

PauseResume

Pause/Resume Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesPauseresumeScheduleResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

ChangeTimezone

Change Timezone

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesChangeTimezoneResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Clone

Clone Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

The options for this request.

Response

*operations.SchedulesCloneScheduleResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Get Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

opts

The options for this request.

Response

*operations.ExportGetScheduleIcalLinkResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Refresh Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

opts

The options for this request.

Response

*operations.ExportRefreshScheduleIcalLinkResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Create Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

opts

The options for this request.

Response

*operations.ExportCreateScheduleIcalLinkResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

CreateScheduleOverride

Create Schedule Override

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

v4CreateScheduleOverrideRequest

✔️

N/A

opts

The options for this request.

Response

*operations.OverridesCreateScheduleOverrideResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

DeleteRotation

Delete Rotation

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

rotationID

string

✔️

N/A

opts

The options for this request.

Response

*operations.RotationsDeleteRotationResponse, error

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Last updated