GraphQL Query
query ListEmployees($statuses: [EmployeeStatus!], $rosterable: Boolean, $visible: Boolean) {
employees(statuses: $statuses, rosterable: $rosterable, visible: $visible) {
id
startDate
anniversaryDate
workEmail
status
rosterable
visible
hasBiometricConsent
residencyStatus
person {
firstName
lastName
fullName
gender
mobile
alternatePhone
email
dateOfBirth
residentialAddress {
line1
line2
city
suburb
state
postalCode
country
}
postalAddress {
line1
line2
city
suburb
state
postalCode
country
}
regionalAU {
australiaHomeAddress
doesWantToClaimCarerTax
doesWantToClaimSeniorPensionerTax
hasFsDebt
hasHelpSslTsl
isAustralianForTaxPurposes
paidBasis
previousFamilyName
taxDeclaration
taxFileNumber
title
hasWorkingHolidayVisa
previousResidentialCountry
hasWithholdingVariation
taxVariation
}
}
location {
id
name
}
position {
id
name
}
payLevel {
id
name
description
versions {
id
name
description
commencedAt
}
}
payRule {
id
name
description
versions {
id
name
description
commencedAt
}
}
bankAccounts {
id
accountName
accountNumber
branch
}
superAccounts {
id
selfManaged
fundName
}
userDefinedFields {
userDefinedFieldSetting {
name
label
dataType
fieldLevel
available
}
value
ownerId
ownerType
}
employeeRequirements {
id
name
state
requirement {
id
name
abbreviation
evidence
expires
}
}
terminatedAt
modifiedAt
}
}
Example Variables
{
"statuses": ["Active", "Terminated", "Onboarding", "Invited"],
"rosterable": true,
"visible": true
}
Example Response
{
"data": {
"employees": [
{
"id": "72908",
"startDate": "2024-05-22",
"anniversaryDate": null,
"workEmail": "craig_bussell_8hs54fg7@example.com",
"status": "Active",
"rosterable": true,
"visible": true,
"hasBiometricConsent": false,
"residencyStatus": null,
"person": {
"firstName": "Craig",
"lastName": "Bussell",
"fullName": "Craig Bussell",
"gender": "Male",
"mobile": "0493811112",
"alternatePhone": null,
"email": "craig_bussell_8hs54fg7@gmail.com",
"dateOfBirth": "2023-09-21",
"residentialAddress": {
"line1": "123 Real Place",
"line2": "Suites on Real Place",
"city": "Brisbane",
"suburb": "Brisbane",
"state": "QLD",
"postalCode": "4000",
"country": "AU"
},
"postalAddress": null,
"regionalAU": {
"australiaHomeAddress": null,
"doesWantToClaimCarerTax": null,
"doesWantToClaimSeniorPensionerTax": null,
"hasFsDebt": null,
"hasHelpSslTsl": null,
"isAustralianForTaxPurposes": true,
"paidBasis": null,
"previousFamilyName": null,
"taxDeclaration": "NotClaimingException",
"taxFileNumber": "123456782",
"title": null,
"hasWorkingHolidayVisa": null,
"previousResidentialCountry": null,
"hasWithholdingVariation": null,
"taxVariation": null
}
},
"location": {
"id": "12325",
"name": "Integration Sandbox"
},
"position": {
"id": "18101",
"name": "General Manager"
},
"payLevel": null,
"payRule": {
"id": "538",
"name": "Standard",
"description": "Standard pay rules",
"versions": [
{
"id": "521",
"name": "Ordinary, overtime (8+) and weekend hours",
"description": null,
"commencedAt": "2021-01-01"
}
]
},
"bankAccounts": [
{
"id": "98310",
"accountName": "CraigB",
"accountNumber": "123123123",
"branch": "013013"
}
],
"superAccounts": [
{
"id": "23851",
"selfManaged": false,
"fundName": "AustralianSuper"
}
],
"userDefinedFields": [
{
"userDefinedFieldSetting": {
"name": "Has relevant qualifications?",
"label": "Do you have the latest qualification?",
"dataType": "checkbox",
"fieldLevel": "optional",
"available": true
},
"value": "true",
"ownerId": "72908",
"ownerType": "employee"
}
],
"employeeRequirements": [],
"terminatedAt": null,
"modifiedAt": "2024-06-06T22:18:42.422Z"
}
]
}
}