GET api/WeEmployeeDetails

Gets a list of Employees live from a WageEasy company database file.

Request Information

URI Parameters

(i.e.queryString parameters in the form ?param1={param1}&param2={param2})

NameDescriptionTypeAdditional information
include
 Terminated

Set to true to also include employees terminated after the terminatedSince date, false to exclude all terminated employees (mandatory).

boolean

Required

terminatedSince

Terminated employees will only be incuded if they were terminated after this date and only if include terminated is set true (mandatory). Date Formats supported include: yyyy/mm/dd, yyyy/mmm/dd, yyyy-mm-dd, yyyy-mmm-dd. Generally any unambiguous date format is acceptable. Times can also be included: Thh:mm:ss

date

Required

page

The page number to return using the pageSize parameter to define pages. Defaults to 1.

integer

Default value is 1

pageSize

The page size (number of records) to be used to find the record for the page requested. Defaults to 1000.

integer

Default value is 1000

Body Parameters

None.

Response Information

Resource Description

A list of all Employees' details

PagedObjectOfWeEmployeeDetailView
NameDescriptionTypeAdditional information
Items

Collection of WeEmployeeDetail
 View

None.

PageInfo

PagedListPageInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "id": 1,
      "employeeNo": "sample string 2",
      "lastName": "sample string 3",
      "firstName": "sample string 4",
      "secondName": "sample string 5",
      "title": "sample string 6",
      "jobTitle": "sample string 7",
      "homeAddress": "sample string 8",
      "homeCity": "sample string 9",
      "homeState": "sample string 10",
      "homePostcode": "sample string 11",
      "homeCountry": "sample string 12",
      "postalAddress": "sample string 13",
      "postalCity": "sample string 14",
      "postalState": "sample string 15",
      "postalPostcode": "sample string 16",
      "postalCountry": "sample string 17",
      "birthday": "2024-11-21T23:44:23.6811206+11:00",
      "gender": "sample string 18",
      "maritalStatus": "sample string 19",
      "location": "sample string 20",
      "payPeriod": "sample string 21",
      "employmentCategory": "sample string 22",
      "employmentDate": "2024-11-21T23:44:23.6811206+11:00",
      "awardDate": "2024-11-21T23:44:23.6811206+11:00",
      "terminateDate": "2024-11-21T23:44:23.6811206+11:00",
      "terminateReason": "sample string 23",
      "awardKey": "sample string 24",
      "salaried": true,
      "taxKey": "sample string 25",
      "secondaryTaxKey": "sample string 26",
      "tertiaryTaxKey": "sample string 27",
      "forthTaxKey": "sample string 28",
      "fifthTaxKey": "sample string 29",
      "taxAdjustment": 1.1,
      "taxFileNo": "sample string 30",
      "canProvideTFNToSuperFund": true,
      "nonAustralianResident": true,
      "timeCardNo": "sample string 31",
      "glCode": "sample string 32",
      "securityPassNo": "sample string 33",
      "userPassword": "sample string 34",
      "notes": "sample string 35",
      "normalDayHours": "2024-11-21T23:44:23.6811206+11:00",
      "normalDayHoursUseAward": true,
      "standardPayHours": 1.1,
      "isStandardPays": true,
      "defaultEmail": "sample string 37",
      "defaultEmailUsedForPayslips": "sample string 38",
      "telephone1": "sample string 39",
      "telephone1Description": "sample string 40",
      "telephone2": "sample string 41",
      "telephone2Description": "sample string 42",
      "defaultPayRateKey": "sample string 43",
      "defaultDepartment": "sample string 44",
      "knownAs": "sample string 45",
      "includesTaxFreeThreshold": true,
      "includesHELPDebt": true,
      "includesSFSSDebt": true,
      "claimsFamilyTaxBenefit": true,
      "flatRateThreshold": 1,
      "tfnDeclarationDate": "2024-11-21T23:44:23.6811206+11:00",
      "defaultPayRateAmount": 1.1,
      "weEmployeeBank": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "sequence": 1,
          "payMethod": "sample string 3",
          "bank": "sample string 4",
          "bsb": "sample string 5",
          "accountNo": "sample string 6",
          "accountSuffix": "sample string 7",
          "accountName": "sample string 8",
          "amount": 1.1,
          "default": true
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "sequence": 1,
          "payMethod": "sample string 3",
          "bank": "sample string 4",
          "bsb": "sample string 5",
          "accountNo": "sample string 6",
          "accountSuffix": "sample string 7",
          "accountName": "sample string 8",
          "amount": 1.1,
          "default": true
        }
      ],
      "weEmployeeSuper": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "superFund": "sample string 3",
          "membershipNo": "sample string 4",
          "contribution": 1.1,
          "percentFlag": true,
          "contributionType": "sample string 6",
          "includeAsRESC": true,
          "joinDate": "2024-11-21T23:44:23.6811206+11:00",
          "outDate": "2024-11-21T23:44:23.6811206+11:00",
          "contributionTypeAdditional": "sample string 8"
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "superFund": "sample string 3",
          "membershipNo": "sample string 4",
          "contribution": 1.1,
          "percentFlag": true,
          "contributionType": "sample string 6",
          "includeAsRESC": true,
          "joinDate": "2024-11-21T23:44:23.6811206+11:00",
          "outDate": "2024-11-21T23:44:23.6811206+11:00",
          "contributionTypeAdditional": "sample string 8"
        }
      ],
      "weEmployeeAllowance": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "empGpCert": "sample string 3",
          "allowanceKey": "sample string 4",
          "allowanceAccrual": "sample string 5",
          "department": "sample string 6",
          "active": 1,
          "onGroupCert": true,
          "showOnGpCertAs": "sample string 7",
          "payAlways": 1,
          "accruedAmount": 1.1,
          "averageCalcOn": true,
          "amount": 1.1,
          "overrideDefault": true,
          "excludeIncome": true
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "empGpCert": "sample string 3",
          "allowanceKey": "sample string 4",
          "allowanceAccrual": "sample string 5",
          "department": "sample string 6",
          "active": 1,
          "onGroupCert": true,
          "showOnGpCertAs": "sample string 7",
          "payAlways": 1,
          "accruedAmount": 1.1,
          "averageCalcOn": true,
          "amount": 1.1,
          "overrideDefault": true,
          "excludeIncome": true
        }
      ],
      "weEmployeeLeave": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "leaveTypeId": 3,
          "leaveType": "sample string 4",
          "terminated": true,
          "terminationDate": "2024-11-21T23:44:23.6811206+11:00",
          "leaveCode": "sample string 5",
          "postEntDate": "2024-11-21T23:44:23.6811206+11:00",
          "postEntHours": 1.1,
          "postEntDays": 1.1,
          "postProDate": "2024-11-21T23:44:23.6811206+11:00",
          "postProHours": 1.1,
          "postProDays": 1.1,
          "currentAccrualDate": "2024-11-21T23:44:23.6811206+11:00",
          "currentAccrualHours": 1.1,
          "preEntHours": 1.1,
          "preEntDays": 1.1,
          "takenDate": "2024-11-21T23:44:23.6811206+11:00",
          "takenHours": 1.1,
          "hoursPerDay": 1.1,
          "daysPerWeek": 1.1
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "leaveTypeId": 3,
          "leaveType": "sample string 4",
          "terminated": true,
          "terminationDate": "2024-11-21T23:44:23.6811206+11:00",
          "leaveCode": "sample string 5",
          "postEntDate": "2024-11-21T23:44:23.6811206+11:00",
          "postEntHours": 1.1,
          "postEntDays": 1.1,
          "postProDate": "2024-11-21T23:44:23.6811206+11:00",
          "postProHours": 1.1,
          "postProDays": 1.1,
          "currentAccrualDate": "2024-11-21T23:44:23.6811206+11:00",
          "currentAccrualHours": 1.1,
          "preEntHours": 1.1,
          "preEntDays": 1.1,
          "takenDate": "2024-11-21T23:44:23.6811206+11:00",
          "takenHours": 1.1,
          "hoursPerDay": 1.1,
          "daysPerWeek": 1.1
        }
      ]
    },
    {
      "id": 1,
      "employeeNo": "sample string 2",
      "lastName": "sample string 3",
      "firstName": "sample string 4",
      "secondName": "sample string 5",
      "title": "sample string 6",
      "jobTitle": "sample string 7",
      "homeAddress": "sample string 8",
      "homeCity": "sample string 9",
      "homeState": "sample string 10",
      "homePostcode": "sample string 11",
      "homeCountry": "sample string 12",
      "postalAddress": "sample string 13",
      "postalCity": "sample string 14",
      "postalState": "sample string 15",
      "postalPostcode": "sample string 16",
      "postalCountry": "sample string 17",
      "birthday": "2024-11-21T23:44:23.6811206+11:00",
      "gender": "sample string 18",
      "maritalStatus": "sample string 19",
      "location": "sample string 20",
      "payPeriod": "sample string 21",
      "employmentCategory": "sample string 22",
      "employmentDate": "2024-11-21T23:44:23.6811206+11:00",
      "awardDate": "2024-11-21T23:44:23.6811206+11:00",
      "terminateDate": "2024-11-21T23:44:23.6811206+11:00",
      "terminateReason": "sample string 23",
      "awardKey": "sample string 24",
      "salaried": true,
      "taxKey": "sample string 25",
      "secondaryTaxKey": "sample string 26",
      "tertiaryTaxKey": "sample string 27",
      "forthTaxKey": "sample string 28",
      "fifthTaxKey": "sample string 29",
      "taxAdjustment": 1.1,
      "taxFileNo": "sample string 30",
      "canProvideTFNToSuperFund": true,
      "nonAustralianResident": true,
      "timeCardNo": "sample string 31",
      "glCode": "sample string 32",
      "securityPassNo": "sample string 33",
      "userPassword": "sample string 34",
      "notes": "sample string 35",
      "normalDayHours": "2024-11-21T23:44:23.6811206+11:00",
      "normalDayHoursUseAward": true,
      "standardPayHours": 1.1,
      "isStandardPays": true,
      "defaultEmail": "sample string 37",
      "defaultEmailUsedForPayslips": "sample string 38",
      "telephone1": "sample string 39",
      "telephone1Description": "sample string 40",
      "telephone2": "sample string 41",
      "telephone2Description": "sample string 42",
      "defaultPayRateKey": "sample string 43",
      "defaultDepartment": "sample string 44",
      "knownAs": "sample string 45",
      "includesTaxFreeThreshold": true,
      "includesHELPDebt": true,
      "includesSFSSDebt": true,
      "claimsFamilyTaxBenefit": true,
      "flatRateThreshold": 1,
      "tfnDeclarationDate": "2024-11-21T23:44:23.6811206+11:00",
      "defaultPayRateAmount": 1.1,
      "weEmployeeBank": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "sequence": 1,
          "payMethod": "sample string 3",
          "bank": "sample string 4",
          "bsb": "sample string 5",
          "accountNo": "sample string 6",
          "accountSuffix": "sample string 7",
          "accountName": "sample string 8",
          "amount": 1.1,
          "default": true
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "sequence": 1,
          "payMethod": "sample string 3",
          "bank": "sample string 4",
          "bsb": "sample string 5",
          "accountNo": "sample string 6",
          "accountSuffix": "sample string 7",
          "accountName": "sample string 8",
          "amount": 1.1,
          "default": true
        }
      ],
      "weEmployeeSuper": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "superFund": "sample string 3",
          "membershipNo": "sample string 4",
          "contribution": 1.1,
          "percentFlag": true,
          "contributionType": "sample string 6",
          "includeAsRESC": true,
          "joinDate": "2024-11-21T23:44:23.6811206+11:00",
          "outDate": "2024-11-21T23:44:23.6811206+11:00",
          "contributionTypeAdditional": "sample string 8"
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "superFund": "sample string 3",
          "membershipNo": "sample string 4",
          "contribution": 1.1,
          "percentFlag": true,
          "contributionType": "sample string 6",
          "includeAsRESC": true,
          "joinDate": "2024-11-21T23:44:23.6811206+11:00",
          "outDate": "2024-11-21T23:44:23.6811206+11:00",
          "contributionTypeAdditional": "sample string 8"
        }
      ],
      "weEmployeeAllowance": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "empGpCert": "sample string 3",
          "allowanceKey": "sample string 4",
          "allowanceAccrual": "sample string 5",
          "department": "sample string 6",
          "active": 1,
          "onGroupCert": true,
          "showOnGpCertAs": "sample string 7",
          "payAlways": 1,
          "accruedAmount": 1.1,
          "averageCalcOn": true,
          "amount": 1.1,
          "overrideDefault": true,
          "excludeIncome": true
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "empGpCert": "sample string 3",
          "allowanceKey": "sample string 4",
          "allowanceAccrual": "sample string 5",
          "department": "sample string 6",
          "active": 1,
          "onGroupCert": true,
          "showOnGpCertAs": "sample string 7",
          "payAlways": 1,
          "accruedAmount": 1.1,
          "averageCalcOn": true,
          "amount": 1.1,
          "overrideDefault": true,
          "excludeIncome": true
        }
      ],
      "weEmployeeLeave": [
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "leaveTypeId": 3,
          "leaveType": "sample string 4",
          "terminated": true,
          "terminationDate": "2024-11-21T23:44:23.6811206+11:00",
          "leaveCode": "sample string 5",
          "postEntDate": "2024-11-21T23:44:23.6811206+11:00",
          "postEntHours": 1.1,
          "postEntDays": 1.1,
          "postProDate": "2024-11-21T23:44:23.6811206+11:00",
          "postProHours": 1.1,
          "postProDays": 1.1,
          "currentAccrualDate": "2024-11-21T23:44:23.6811206+11:00",
          "currentAccrualHours": 1.1,
          "preEntHours": 1.1,
          "preEntDays": 1.1,
          "takenDate": "2024-11-21T23:44:23.6811206+11:00",
          "takenHours": 1.1,
          "hoursPerDay": 1.1,
          "daysPerWeek": 1.1
        },
        {
          "id": 1,
          "employeeNo": "sample string 2",
          "leaveTypeId": 3,
          "leaveType": "sample string 4",
          "terminated": true,
          "terminationDate": "2024-11-21T23:44:23.6811206+11:00",
          "leaveCode": "sample string 5",
          "postEntDate": "2024-11-21T23:44:23.6811206+11:00",
          "postEntHours": 1.1,
          "postEntDays": 1.1,
          "postProDate": "2024-11-21T23:44:23.6811206+11:00",
          "postProHours": 1.1,
          "postProDays": 1.1,
          "currentAccrualDate": "2024-11-21T23:44:23.6811206+11:00",
          "currentAccrualHours": 1.1,
          "preEntHours": 1.1,
          "preEntDays": 1.1,
          "takenDate": "2024-11-21T23:44:23.6811206+11:00",
          "takenHours": 1.1,
          "hoursPerDay": 1.1,
          "daysPerWeek": 1.1
        }
      ]
    }
  ],
  "pageInfo": {
    "page": 1,
    "pageSize": 2,
    "totalCount": 3,
    "totalPages": 4,
    "countThisPage": 5,
    "hasPreviousPage": true,
    "hasNextPage": true,
    "errorMessage": "sample string 8"
  }
}