Create Schedule

Create a new schedule in Opsgenie.

Note

Make sure that the API key that's used to create the Opsgenie connection for this card is not team-specific. Otherwise, any input value in the Team ID or Team Name fields on this card will not override the team that's specified by a team-specific API key. It is recommended to create and manage API keys on the Opsgenie API key management page.

Options

Field Definition Type Required
Add Owner Team? Specify whether a team will be assigned to the new schedule. Choose one of the following options:
  • No: No team is assigned to the new schedule.

  • Team ID: Assign a team to a new schedule by its specific ID.

  • Team Name: Assign a team to a new schedule by its name.

Dropdown TRUE

Input

Field Definition Type Required
Schedule Info
Name Name for the new schedule. String TRUE
Description Description for the new schedule. String FALSE
Time Zone Timezone of the schedule. Dropdown FALSE
Team ID Unique ID of the team.

Displays when Team ID is selected from the Add Owner Team? option.

String TRUE
Team Name Name of the team.

Displays when Team Name is selected from the Add Owner Team? option.

String TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number
Schedule ID Unique ID of the new schedule. String

Related topics

Opsgenie connector

Workflow elements

Opsgenie API overview