availabilityForSubject
Returns the availability windows entered for one contact, location or production resource, in start order. Requires access to the space.
Arguments
spaceIdID!ID of the space.
subjectIdID!ID of the contact, location or production resource.
subjectKindAvailabilitySubjectKind!What kind of subject to look up.
Returns
[AvailabilityWindow!]!Example
query AvailabilityForSubject($spaceId: ID!, $subjectId: ID!, $subjectKind: AvailabilitySubjectKind!) {
availabilityForSubject(
spaceId: $spaceId
subjectId: $subjectId
subjectKind: $subjectKind
) {
createdAt
from
id
note
projectId
source
status
subjectId
}
}