OBJECT

Query

link GraphQL Schema definition

1type Query {
2
3# Returns a user.
4#
5# Arguments
6# id: Id of the user.
7user(id: ID!): User
8
9# Returns a paginated list of users.
10#
11# Arguments
12# offset: Offset of the users' list.
13# limit: Limit of users on one page.
14# sort: Sort args.
15# The list of users can be sorted by id, firstName, lastName, postiion, team,
16# location.
17# filter: Filter conditions for the list of users.
18users(offset: Int, limit: Int, sort: [SortArgInput!], filter: UserFilterInput): UsersPage!
19
20# Returns a timesheet for user id and given date.
21#
22# Arguments
23# userId: User's id.
24# date: Date.
25timesheet(userId: ID, date: Date!): Timesheet
26
27# Returns a paginated list of timesheets.
28#
29# Arguments
30# userId: User's id.
31# dateFrom: Date range start.
32# dateTo: Date range end.
33# offset: Offset of the timesheets' list.
34# limit: Limit of timesheets on one page.
35# sort: Sort args.
36# The list of timesheets can be sorted by date.
37timesheets(
38userId: ID,
39dateFrom: Date!,
40dateTo: Date!,
41offset: Int,
42limit: Int,
43sort: [SortArgInput!]
44): TimesheetsPage!
45
46# Returns a project.
47#
48# Arguments
49# id: Id of a project.
50project(id: ID!): Project!
51
52# Returns a paginated list of projects.
53#
54# Arguments
55# offset: Offset of the projects' list.
56# limit: Limit of projects on one page.
57# sort: Sort args.
58# The list of projects can be sorted by id and name.
59# filter: Filter conditions for projects list.
60projects(
61offset: Int,
62limit: Int,
63sort: [SortArgInput!],
64filter: ProjectFilterInput
65): ProjectsPage!
66
67}

link Required by

This element is not required by anyone