Queries

Queries are a type that defines what data you are able to request from the GraphQL API.

accounts

Type: [Account!]!

Gives a list of all accounts which the current authentication has access to.

bid

Type: Bid

A specific bid which the user has access to.

bill

Type: Bill

Retrieve a single bill.

company

Type: Company

Retrieve a company.

contract

Type: Contract

Retrieve a single contract.

conversation

Type: Conversation

Retrieve a single conversation

file

Type: File

Retrieve a single file.

hire

Type: Hire

Used for getting a specific hire.

All parties of the hire can use this field for seeing their hire.

industry

Type: Industry

Retrieve a single industry.

internalField

Type: InternalField

Retrieve a single internal field.

invoice

Type: Invoice

Retrieve a single invoice.

invoiceRow

Type: InvoiceRow

Retrieve a single invoice row.

job

Type: Job

Retrieve a single job.

trustedContact

Type: TrustedContact

Retrieve a single trusted contact.

organisationTrustedContact

Type: TrustedContact

Retrieve a single organisation trusted contact.

viewer

Type: User!

The authenticated user that is viewing the API.

worker

Type: Worker

Retrieve a single worker.

project

Type: Project

Retrieve a single project.

userGroup

Type: UserGroup

Retrieve a single user group.

bids

Type: BidPaginator!

A list of all bids which the viewer has access to.

contracts

Type: ContractPaginator!

Retrieve an array of contracts.

conversations

Type: ConversationPaginator!

Retrieve a list of conversations

files

Type: FilePaginator!

Retrieve a list of files.

hires

Type: HirePaginator!

Used for getting all hires.

All parties of the hire can use this field for seeing their hires.

industries

Type: IndustryPaginator!

Retrieve a list of industries.

internalFields

Type: InternalFieldPaginator!

Retrieve a list of internal fields.

invoices

Type: InvoicePaginator!

Retrieve an array of invoices.

jobs

Type: JobPaginator!

Retrieve an array of jobs.

recruiters

Type: RecruiterPaginator!

Search recruiters.

trustedContacts

Type: TrustedContactPaginator!

Retrieve a list of trusted contacts.

organisationTrustedContacts

Type: TrustedContactPaginator!

Retrieve a list of organisation trusted contacts.

projects

Type: ProjectPaginator!

Retrieve a list of projects.

userGroups

Type: UserGroupPaginator!

Retrieve a list of user groups.

multiFactor

Type: MultiFactor

Retrieve a specific multi-factor authentication implementation.

profile

Type: User!

Accessing the currently logged in user.

multiFactors

Type: MultiFactorPaginator!

Retrieve all multi-factor authentication implementation.