Zum Hauptinhalt springen
Query

availabilityForSubject

Returns the availability windows entered for one contact, location or production resource, in start order. Requires access to the space.

Argumente

  • spaceIdID!

    ID of the space.

  • subjectIdID!

    ID of the contact, location or production resource.

  • What kind of subject to look up.

Rückgabe

[AvailabilityWindow!]!

Beispiel

query AvailabilityForSubject($spaceId: ID!, $subjectId: ID!, $subjectKind: AvailabilitySubjectKind!) {
  availabilityForSubject(
    spaceId: $spaceId
    subjectId: $subjectId
    subjectKind: $subjectKind
  ) {
    createdAt
    from
    id
    note
    projectId
    source
    status
    subjectId
  }
}