Skip to main content

DepartmentInformation

@auth

No description

This requires the current user to be in ADMIN role.

type DepartmentInformation implements Record {
id: ID!
uuid: String
email: EmailAddress
number: PhoneNumber
departmentOpenTime: Time
departmentCloseTime: Time
website: URL
employees(
skip: Int
): [String!]!
}

Directives

auth

This requires the current user to be in ADMIN role.

Fields

id ● ID! non-null scalar common

uuid ● String scalar common BETA

email ● EmailAddress scalar common

number ● PhoneNumber scalar common

departmentOpenTime ● Time scalar common

departmentCloseTime ● Time scalar common

website ● URL scalar common

employees ● [String!]! non-null scalar common

skip ● Int scalar common

Interfaces

Record interface common

Example

{
"id": 1,
"uuid": "9c5b94b1-35ad-49bb-b118-8e8fc24abf80",
"email": "john.doe@corp.com",
"number": "1-234-4567",
"departmentOpenTime": "01:02:23.453",
"website": "https://tools.ietf.org/html/rfc3986",
"employees": [
"John Doe"
]
}