DepartmentInformation
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
DepartmentInformation.id ● ID! non-null scalar common
DepartmentInformation.uuid ● String scalar common BETA
DepartmentInformation.email ● EmailAddress scalar common
DepartmentInformation.number ● PhoneNumber scalar common
DepartmentInformation.departmentOpenTime ● Time scalar common
DepartmentInformation.departmentCloseTime ● Time scalar common
DepartmentInformation.website ● URL scalar common
DepartmentInformation.employees ● [String!]! non-null scalar common
DepartmentInformation.employees.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"
]
}