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

Argumente

Feld

Typ

Rückgabe

ScheduleLayer!

Feld

Typ

Beispiel

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

Beispielantwort

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

Auf dieser Seite