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