createOnCallScheduleLayer(
  organizationId: ID!
  scheduleId: ID!
  spec: ScheduleLayerSpecInput!
): ScheduleLayer!

Arguments

Field

Type

Returns

ScheduleLayer!

Field

Type

Example

mutation CreateOnCallScheduleLayer($organizationId: ID!, $scheduleId: ID!, $spec: ScheduleLayerSpecInput!) {
  createOnCallScheduleLayer(organizationId: $organizationId, scheduleId: $scheduleId, spec: $spec) {
    id
    name
    description
    position
    escalationDelaySeconds
  }
}

Example response

{
  "data": {
    "createOnCallScheduleLayer": {
      "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "name": "Example name",
      "description": "Example description",
      "position": 1,
      "escalationDelaySeconds": 1
    }
  }
}

On this page