Workforce.com

App · 20 actions

Read employees, schedules, shifts, timesheets, leave and hiring in Workforce.com.

Actions

ActionWhat it does
Get current employeeGet current employee.
Get departmentGet department.
Get employeeGet employee.
Get locationGet location.
Get scheduleGet schedule.
Get shiftGet shift.
List clock insList clock ins.
List current timesheetsList current timesheets.
List departmentsList departments.
List employeesList employees.
List job openingsList job openings.
List job stagesList job stages.
List leaveList leave.
List locationsList locations.
List organizationsList organizations.
List positionsList positions.
List qualificationsList qualifications.
List schedulesList schedules.
List shiftsList shifts.
List webhooksList webhooks.

Get current employee

Get current employee.

Inputs

None.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "address": "example",
    "country": "example",
    "date_of_birth": "example",
    "email": "example",
    "emergency_contact_name": "example",
    "emergency_contact_phone": "example",
    "emergency_contact_relationship": "example",
    "id": 1,
    "legal_first_name": "example",
    "legal_last_name": "example",
    "legal_middle_names": "example",
    "locale": "example",
    "name": "example",
    "organisation": "example",
    "organisation_id": 1,
    "organisations": [
      {
        "country": "example",
        "id": 1,
        "locale": "example",
        "name": "example",
        "user_id": 1
      }
    ],
    "permissions": [
      "example"
    ],
    "phone": "example",
    "photo": "example",
    "platform_role_ids": [
      1
    ],
    "time_zone": "example",
    "updated_at": 1,
    "user_ids": [
      1
    ],
    "utc_offset": 1,
    "valid_subscription": true
  }
}

Get department

Get department.

Inputs

IdidnumberRequired
Id.
Platformplatformtrue/false
Platform.
Show activity codesshow_activity_codestrue/false
Show activity codes.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "activity_codes": [
      {
        "colour": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "assisting_teams": [
      1
    ],
    "associated_tags": [
      "example"
    ],
    "colour": "example",
    "export_name": "example",
    "id": 1,
    "location_id": 1,
    "managers": [
      1
    ],
    "name": "example",
    "platform": {
      "attributes": [
        {}
      ],
      "id": 1,
      "model_id": 1,
      "native_id": 1,
      "updated_at": 1,
      "uuid": "example"
    },
    "qualifications": [
      1
    ],
    "record_id": 1,
    "staff": [
      1
    ],
    "team_group": "example",
    "tracking_categories": [
      {
        "department_id": 1,
        "id": 1,
        "payroll_tracking_categories_id": 1,
        "value": "example"
      }
    ],
    "updated_at": 1
  }
}

Get employee

Get employee.

Inputs

IdidnumberRequired
Id.
Show wagesshow_wagestrue/false
Show wages.
Show answersshow_answerstrue/false
Show answers.
Platformplatformtrue/false
Platform.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "_qualifications_dev_warning": "example",
    "active": true,
    "address": {
      "city": "example",
      "country": "example",
      "postcode": "example",
      "state": "example",
      "street_line_one": "example",
      "street_line_two": "example"
    },
    "answered_questions": [
      {
        "answer": "example",
        "question": "example"
      }
    ],
    "automatic_break_rule_set_id": 1,
    "award_tag_ids": [
      1
    ],
    "award_template_id": 1,
    "award_template_organisation_id": 1,
    "bank_details": {
      "account_name": "example",
      "account_number": "example",
      "bank_name": "example",
      "bic": "example",
      "bsb": "example",
      "code": "example",
      "iban": "example",
      "particular": "example",
      "updated_at": 1
    },
    "can_see_costs": true,
    "contracted_weekly_hours": 1,
    "created_at": 1,
    "custom_fields": {},
    "date_of_birth": "example",
    "days_overtime_averaged_over": 1,
    "department_ids": [
      1
    ],
    "email": "example",
    "emergency_contacts": [
      {
        "name": "example",
        "phone": "example",
        "relationship": "example"
      }
    ],
    "employee_id": "example",
    "employment_basis": "example",
    "employment_end_date": "example",
    "employment_start_date": "example",
    "enable_login": true,
    "expected_hours_in_pay_period": 1,
    "hourly_rate": 1,
    "id": 1,
    "kiwi_saver": {
      "employee_deduction_rate": 1,
      "employer_deduction_rate": 1,
      "ird_status_code": "example",
      "opted_out_date": "example",
      "savings_suspension": true,
      "status": "example",
      "updated_at": 1
    },
    "last_synced_mobile_app": 1,
    "legal_first_name": "example",
    "legal_last_name": "example",
    "legal_middle_names": "example",
    "managed_department_ids": [
      1
    ],
    "minimum_base_hours": 1,
    "name": "example",
    "next_pay_group_id": 1,
    "normalised_phone": "example",
    "onboarding_completed_at": 1,
    "onboarding_status": "example",
    "overtime_calculated_over_period_start": "example",
    "part_time_fixed_hours": 1,
    "passcode": "example",
    "payroll_cessation_code": "example",
    "payslip_email": "example",
    "phone": "example",
    "photo": "example",
    "platform": {
      "attributes": [
        {}
      ],
      "id": 1,
      "model_id": 1,
      "native_id": 1,
      "updated_at": 1,
      "uuid": "example"
    },
    "platform_role_ids": [
      1
    ],
    "position_template": "example",
    "position_title": "example",
    "preferred_hours": 1,
    "qualifications": [
      {
        "attained": "example",
        "date_ranges": {},
        "enabled": true,
        "expires": "example",
        "id": 1,
        "image": "example",
        "in_training": true,
        "license_number": "example",
        "platform_records": {},
        "qualification_id": 1,
        "state_of_completion": "example",
        "training_provider_name": "example"
      }
    ],
    "record_id": 1,
    "regular_hours": {
      "on_calls": [
        {}
      ],
      "rostered_days_off": [
        {}
      ],
      "schedules": [
        {}
      ],
      "sleepovers": [
        {}
      ],
      "start_date": "example"
    },
    "report_department_id": 1,
    "salary": 1,
    "ssn": "example",
    "super_fund": {
      "abn": "example",
      "bank_details": {
        "account_name": "example",
        "account_number": "example",
        "bank_name": "example",
        "bic": "example",
        "bsb": "example",
        "code": "example",
        "iban": "example",
        "particular": "example",
        "updated_at": 1
      },
      "electronic_service_address": "example",
      "fund_name": "example",
      "id": 1,
      "product_name": "example",
      "smsf": true,
      "updated_at": 1,
      "usi": "example"
    },
    "super_fund_membership": {
      "employer_default": "example",
      "employer_generic": "example",
      "employer_preferred": "example",
      "member_number": "example",
      "occupational_rating": "example",
      "super_contribution_type": "example",
      "super_fund_id": 1,
      "updated_at": 1
    },
    "tax_declaration": {
      "australian_tax_residency_status": "example",
      "australian_tax_resident": true,
      "employment_basis": "example",
      "employment_type": "example",
      "financial_supplement_debt": true,
      "home_country": "example",
      "income_type": "example",
      "italian_fiscal_code": "example",
      "national_insurance_number": "example",
      "nz_esct_rate": "example",
      "nz_source_of_income": "example",
      "nz_tax_code": "example",
      "nz_varied_tax_rate": 1,
      "previous_family_name": "example",
      "senior_marital_status": "example",
      "senior_tax_offset": true,
      "singapore_tax_detail": {
        "expiry_date": "example",
        "issue_date": "example",
        "legal_status": "example",
        "marital_status": "example",
        "nationality": "example",
        "race": "example",
        "religion": "example"
      },
      "student_loan": true,
      "tax_code": "example",
      "tax_file_number": "example",
      "tax_free_threshold": true,
      "tax_scale_type": "example",
      "uk_national_insurance_code": "example",
      "uk_tax_year_status": "example",
      "updated_at": 1,
      "zone_overseas_carer": true
    },
    "temporary_employee_type": "example",
    "time_zone": "example",
    "updated_at": 1,
    "user_levels": [
      "example"
    ],
    "utc_offset": 1
  }
}

Get location

Get location.

Inputs

IdidnumberRequired
Id.
Platformplatformtrue/false
Platform.
Show business hoursshow_business_hourstrue/false
Show business hours.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "address": "example",
    "business_day_cutoff": 1,
    "business_hours": [
      {
        "finish": "example",
        "start": "example",
        "weekday": 1
      }
    ],
    "id": 1,
    "latitude": 1,
    "longitude": 1,
    "name": "example",
    "organisation_id": 1,
    "platform": {
      "attributes": [
        {}
      ],
      "id": 1,
      "model_id": 1,
      "native_id": 1,
      "updated_at": 1,
      "uuid": "example"
    },
    "public_holiday_regions": [
      "example"
    ],
    "record_id": 1,
    "short_name": "example",
    "specific_holiday_dates": [
      {
        "date": "example",
        "from": 1,
        "to": 1
      }
    ],
    "time_zone": "example",
    "updated_at": 1,
    "utc_offset": 1
  }
}

Get schedule

Get schedule.

Inputs

IdidnumberRequired
Id.
Show award interpretationshow_award_interpretationtrue/false
Show award interpretation.
Show activitiesshow_activitiestrue/false
Show activities.
Show costsshow_coststrue/false
Show costs.
Include namesinclude_namestrue/false
Include names.
Platformplatformtrue/false
Platform.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "acceptance_status": "example",
    "activities": [
      {
        "activity_code": "example",
        "activity_code_id": 1,
        "activity_code_name": "example",
        "cost": 1,
        "finish": 1,
        "hours": 1,
        "start": 1,
        "updated_at": 1
      }
    ],
    "activity_code": "example",
    "activity_code_id": 1,
    "activity_code_name": "example",
    "automatic_break_length": 1,
    "award_interpretation": [
      {
        "base_rate": 1,
        "base_rate_export_name": "example",
        "base_rate_name": "example",
        "cost": 1,
        "date": "example",
        "export_name": "example",
        "from": 1,
        "name": "example",
        "ordinary_hours": true,
        "pay_class": "example",
        "secondary_export_name": "example",
        "to": 1,
        "units": 1
      }
    ],
    "breaks": [
      {
        "finish": 1,
        "length": 1,
        "paid": true,
        "paid_meal_break": true,
        "start": 1
      }
    ],
    "cost": 1,
    "cost_with_oncosts": 1,
    "creation_method": "example",
    "creation_platform": "example",
    "department_id": 1,
    "department_name": "example",
    "finish": 1,
    "id": 1,
    "last_acknowledged_at": 1,
    "last_costed_at": 1,
    "last_published_at": 1,
    "location_name": "example",
    "needs_acceptance": true,
    "oncosts_breakdown": [
      {
        "amount": 1,
        "name": "example"
      }
    ],
    "platform": {
      "attributes": [
        {}
      ],
      "id": 1,
      "model_id": 1,
      "native_id": 1,
      "updated_at": 1,
      "uuid": "example"
    },
    "record_id": 1,
    "roster_id": 1,
    "shift_detail_id": 1,
    "shift_detail_name": "example",
    "start": 1,
    "time_zone": "example",
    "updated_at": 1,
    "user_id": 1,
    "user_name": "example",
    "utc_offset": 1
  }
}

Get shift

Get shift.

Inputs

IdidnumberRequired
Id.
Show costsshow_coststrue/false
Show costs.
Include oncostsinclude_oncoststrue/false
Include oncosts.
Show award interpretationshow_award_interpretationtrue/false
Show award interpretation.
Show activitiesshow_activitiestrue/false
Show activities.
Show associated tagshow_associated_tagtrue/false
Show associated tag.
Show notesshow_notestrue/false
Show notes.
Show varianceshow_variancetrue/false
Show variance.
Show export nameshow_export_nametrue/false
Show export name.
Include namesinclude_namestrue/false
Include names.
Platformplatformtrue/false
Platform.

Outputs

dataobject
The response from Workforce.com.
Example output
{
  "data": {
    "activities": [
      {
        "activity_code": "example",
        "activity_code_id": 1,
        "activity_code_name": "example",
        "cost": 1,
        "finish": 1,
        "hours": 1,
        "start": 1,
        "updated_at": 1
      }
    ],
    "activity_code": "example",
    "activity_code_id": 1,
    "activity_code_name": "example",
    "allowances": [
      {
        "cost": 1,
        "id": 1,
        "name": "example",
        "updated_at": 1,
        "value": 1
      }
    ],
    "approved_at": 1,
    "approved_by": 1,
    "associated_tag": "example",
    "award_interpretation": [
      {
        "base_rate": 1,
        "base_rate_export_name": "example",
        "base_rate_name": "example",
        "cost": 1,
        "date": "example",
        "export_name": "example",
        "from": 1,
        "name": "example",
        "ordinary_hours": true,
        "pay_class": "example",
        "secondary_export_name": "example",
        "to": 1,
        "units": 1
      }
    ],
    "break_finish": 1,
    "break_length": 1,
    "break_start": 1,
    "breaks": [
      {
        "finish": 1,
        "id": 1,
        "length": 1,
        "paid": true,
        "selected_automatic_break_rule_id": 1,
        "shift_id": 1,
        "start": 1,
        "updated_at": 1
      }
    ],
    "cost": 1,
    "cost_breakdown": {
      "allowance_cost": 1,
      "award_cost": 1
    },
    "cost_with_oncosts": 1,
    "date": "example",
    "department_export_name": "example",
    "department_id": 1,
    "department_name": "example",
    "employee_id": "example",
    "finish": 1,
    "hours_over_roster": 1,
    "hours_under_roster": 1,
    "id": 1,
    "last_costed_at": 1,
    "last_rated_by": 1,
    "leave_request_id": 1,
    "location_name": "example",
    "matched_schedule_id": 1,
    "metadata": "example",
    "notes": [
      {
        "author": "example",
        "body": "example",
        "updated_at": 1
      }
    ],
    "oncosts_breakdown": [
      {
        "amount": 1,
        "name": "example"
      }
    ],
    "platform": {
      "attributes": [
        {}
      ],
      "id": 1,
      "model_id": 1,
      "native_id": 1,
      "updated_at": 1,
      "uuid": "example"
    },
    "rating": 1,
    "record_id": 1,
    "start": 1,
    "status": "example",
    "sub_cost_centre": "example",
    "tag": "example",
    "tag_id": 1,
    "timesheet_id": 1,
    "updated_at": 1,
    "user_id": 1,
    "user_name": "example"
  }
}

List clock ins

List clock ins.

Inputs

FromfromdateRequired
From.
TotodateRequired
To.
Device IDdevice_idnumber
Device id.
Member IDmember_idnumber
Member id.
Updated afterupdated_afternumber
Updated after.
Include inactiveinclude_inactivetrue/false
Include inactive.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "department_id": 1,
      "device_id": 1,
      "id": 1,
      "latitude": 1,
      "longitude": 1,
      "photo": "example",
      "removed": true,
      "shift_id": 1,
      "time": 1,
      "type": "clockin",
      "updated_at": 1,
      "user_id": 1
    }
  ]
}

List current timesheets

List current timesheets.

Inputs

Show costsshow_coststrue/false
Show costs.
Include oncostsinclude_oncoststrue/false
Include oncosts.
Show award interpretationshow_award_interpretationtrue/false
Show award interpretation.
Show notesshow_notestrue/false
Show notes.
Show activitiesshow_activitiestrue/false
Show activities.
Include namesinclude_namestrue/false
Include names.
Show varianceshow_variancetrue/false
Show variance.
Updated afterupdated_afternumber
Updated after.
Export formatexport_formattext
Export format.
Report location IDreport_location_idnumber
Report location id.
Approved onlyapproved_onlytrue/false
Approved only.
Skip status updateskip_status_updatetrue/false
Skip status update.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "finish": "example",
      "id": 1,
      "notes": [
        {}
      ],
      "shifts": [
        {}
      ],
      "start": "example",
      "status": "example",
      "total_cost": 1,
      "total_cost_with_oncosts": 1,
      "total_oncosts_breakdown": [
        {}
      ],
      "updated_at": 1,
      "user_id": 1
    }
  ]
}

List departments

List departments.

Inputs

Updated afterupdated_afternumber
Updated after.
Platformplatformtrue/false
Platform.
Tracking categoriestracking_categoriestrue/false
Tracking categories.
Show activity codesshow_activity_codestrue/false
Show activity codes.
Location IDlocation_idnumber
Location id.
Location IDslocation_idstext
Location ids.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "activity_codes": [
        {}
      ],
      "assisting_teams": [
        1
      ],
      "associated_tags": [
        "example"
      ],
      "colour": "example",
      "export_name": "example",
      "id": 1,
      "location_id": 1,
      "managers": [
        1
      ],
      "name": "example",
      "platform": {
        "attributes": [
          {}
        ],
        "id": 1,
        "model_id": 1,
        "native_id": 1,
        "updated_at": 1,
        "uuid": "example"
      },
      "qualifications": [
        1
      ],
      "record_id": 1,
      "staff": [
        1
      ],
      "team_group": "example",
      "tracking_categories": [
        {}
      ],
      "updated_at": 1
    }
  ]
}

List employees

List employees.

Inputs

Emailemailtext
Email.
Namenametext
Name.
Show wagesshow_wagestrue/false
Show wages.
Show qualificationsshow_qualificationstrue/false
Show qualifications.
Show inactiveshow_inactivetrue/false
Show inactive.
Show automatic break rule setsshow_automatic_break_rule_setstrue/false
Show automatic break rule sets.
Updated afterupdated_afternumber
Updated after.
Report location IDreport_location_idnumber
Report location id.
Employee IDemployee_idtext
Employee id.
Normalised phonenormalised_phonetext
Normalised phone.
Platformplatformtrue/false
Platform.
Location IDlocation_idnumber
Location id.
Location IDslocation_idstext
Location ids.
Managers onlymanagers_onlytrue/false
Managers only.
Role typesrole_typestext
Role types.
Platform role IDsplatform_role_idstext
Platform role ids.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "_qualifications_dev_warning": "example",
      "active": true,
      "address": {
        "city": "example",
        "country": "example",
        "postcode": "example",
        "state": "example",
        "street_line_one": "example",
        "street_line_two": "example"
      },
      "answered_questions": [
        {}
      ],
      "automatic_break_rule_set_id": 1,
      "award_tag_ids": [
        1
      ],
      "award_template_id": 1,
      "award_template_organisation_id": 1,
      "bank_details": {
        "account_name": "example",
        "account_number": "example",
        "bank_name": "example",
        "bic": "example",
        "bsb": "example",
        "code": "example",
        "iban": "example",
        "particular": "example",
        "updated_at": 1
      },
      "can_see_costs": true,
      "contracted_weekly_hours": 1,
      "created_at": 1,
      "custom_fields": {},
      "date_of_birth": "example",
      "days_overtime_averaged_over": 1,
      "department_ids": [
        1
      ],
      "email": "example",
      "emergency_contacts": [
        {}
      ],
      "employee_id": "example",
      "employment_basis": "example",
      "employment_end_date": "example",
      "employment_start_date": "example",
      "enable_login": true,
      "expected_hours_in_pay_period": 1,
      "hourly_rate": 1,
      "id": 1,
      "kiwi_saver": {
        "employee_deduction_rate": 1,
        "employer_deduction_rate": 1,
        "ird_status_code": "example",
        "opted_out_date": "example",
        "savings_suspension": true,
        "status": "example",
        "updated_at": 1
      },
      "last_synced_mobile_app": 1,
      "legal_first_name": "example",
      "legal_last_name": "example",
      "legal_middle_names": "example",
      "managed_department_ids": [
        1
      ],
      "minimum_base_hours": 1,
      "name": "example",
      "next_pay_group_id": 1,
      "normalised_phone": "example",
      "onboarding_completed_at": 1,
      "onboarding_status": "example",
      "overtime_calculated_over_period_start": "example",
      "part_time_fixed_hours": 1,
      "passcode": "example",
      "payroll_cessation_code": "example",
      "payslip_email": "example",
      "phone": "example",
      "photo": "example",
      "platform": {
        "attributes": [
          {}
        ],
        "id": 1,
        "model_id": 1,
        "native_id": 1,
        "updated_at": 1,
        "uuid": "example"
      },
      "platform_role_ids": [
        1
      ],
      "position_template": "example",
      "position_title": "example",
      "preferred_hours": 1,
      "qualifications": [
        {}
      ],
      "record_id": 1,
      "regular_hours": {
        "on_calls": [
          {}
        ],
        "rostered_days_off": [
          {}
        ],
        "schedules": [
          {}
        ],
        "sleepovers": [
          {}
        ],
        "start_date": "example"
      },
      "report_department_id": 1,
      "salary": 1,
      "ssn": "example",
      "super_fund": {
        "abn": "example",
        "bank_details": {},
        "electronic_service_address": "example",
        "fund_name": "example",
        "id": 1,
        "product_name": "example",
        "smsf": true,
        "updated_at": 1,
        "usi": "example"
      },
      "super_fund_membership": {
        "employer_default": "example",
        "employer_generic": "example",
        "employer_preferred": "example",
        "member_number": "example",
        "occupational_rating": "example",
        "super_contribution_type": "example",
        "super_fund_id": 1,
        "updated_at": 1
      },
      "tax_declaration": {
        "australian_tax_residency_status": "example",
        "australian_tax_resident": true,
        "employment_basis": "example",
        "employment_type": "example",
        "financial_supplement_debt": true,
        "home_country": "example",
        "income_type": "example",
        "italian_fiscal_code": "example",
        "national_insurance_number": "example",
        "nz_esct_rate": "example",
        "nz_source_of_income": "example",
        "nz_tax_code": "example",
        "nz_varied_tax_rate": 1,
        "previous_family_name": "example",
        "senior_marital_status": "example",
        "senior_tax_offset": true,
        "singapore_tax_detail": {},
        "student_loan": true,
        "tax_code": "example",
        "tax_file_number": "example",
        "tax_free_threshold": true,
        "tax_scale_type": "example",
        "uk_national_insurance_code": "example",
        "uk_tax_year_status": "example",
        "updated_at": 1,
        "zone_overseas_carer": true
      },
      "temporary_employee_type": "example",
      "time_zone": "example",
      "updated_at": 1,
      "user_levels": [
        "example"
      ],
      "utc_offset": 1
    }
  ]
}

List job openings

List job openings.

Inputs

Statusstatustext
Status.One of: accepting, not_accepting (Not accepting).
Visibilityvisibilitytext
Visibility.One of: public, internal, external.
Updated afterupdated_afternumber
Updated after.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "accepting_applicants": true,
      "created_at": 1,
      "description": "example",
      "employment_basis": "full_time",
      "expires_at": 1,
      "id": 1,
      "location": {
        "address": "example",
        "city": "example",
        "id": 1,
        "name": "example"
      },
      "maximum_pay": 1,
      "minimum_pay": 1,
      "pay_info": "example",
      "pay_type": "hour",
      "position": {
        "id": 1,
        "name": "example"
      },
      "title": "example",
      "updated_at": 1,
      "visibility": "public"
    }
  ]
}

List job stages

List job stages.

Inputs

Job setting IDjob_setting_idnumber
Job setting id.
Job IDjob_idnumber
Job id.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "created_at": 1,
      "id": 1,
      "is_active": true,
      "job_id": 1,
      "name": "example"
    }
  ]
}

List leave

List leave.

Inputs

Fromfromdate
From.
Totodate
To.
Updated afterupdated_afternumber
Updated after.
Include inactiveinclude_inactivetrue/false
Include inactive.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "all_day": true,
      "created_at": 1,
      "daily_breakdown": [
        {}
      ],
      "fallback_leave_type": "example",
      "finish": "example",
      "finish_time": "example",
      "hours": 1,
      "id": 1,
      "leave_type": "example",
      "multitagging": true,
      "reason": "example",
      "start": "example",
      "start_time": "example",
      "status": "example",
      "updated_at": 1,
      "user_id": 1,
      "verification": "example"
    }
  ]
}

List locations

List locations.

Inputs

Updated afterupdated_afternumber
Updated after.
Platformplatformtrue/false
Platform.
Show business hoursshow_business_hourstrue/false
Show business hours.
Organisation IDorganisation_idnumber
Organisation id.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "address": "example",
      "business_day_cutoff": 1,
      "business_hours": [
        {}
      ],
      "id": 1,
      "latitude": 1,
      "longitude": 1,
      "name": "example",
      "organisation_id": 1,
      "platform": {
        "attributes": [
          {}
        ],
        "id": 1,
        "model_id": 1,
        "native_id": 1,
        "updated_at": 1,
        "uuid": "example"
      },
      "public_holiday_regions": [
        "example"
      ],
      "record_id": 1,
      "short_name": "example",
      "specific_holiday_dates": [
        {}
      ],
      "time_zone": "example",
      "updated_at": 1,
      "utc_offset": 1
    }
  ]
}

List organizations

List organizations.

Inputs

Updated afterupdated_afternumber
Updated after.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "country": "example",
      "customer_ids": [
        1
      ],
      "id": 1,
      "industry": "example",
      "locale": "example",
      "name": "example",
      "payroll_system": "example",
      "private_award_template_ids": [
        1
      ],
      "time_zone": "example",
      "updated_at": 1
    }
  ]
}

List positions

List positions.

Inputs

Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "department_ids": [
        1
      ],
      "id": 1,
      "name": "example",
      "position_group": "example"
    }
  ]
}

List qualifications

List qualifications.

Inputs

None.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "id": 1,
      "maximum_hours": 1,
      "name": "example",
      "updated_at": 1
    }
  ]
}

List schedules

List schedules.

Inputs

Fromfromdate
From.
Totodate
To.
Show award interpretationshow_award_interpretationtrue/false
Show award interpretation.
Show activitiesshow_activitiestrue/false
Show activities.
Show costsshow_coststrue/false
Show costs.
Include namesinclude_namestrue/false
Include names.
Include colleaguesinclude_colleaguestrue/false
Include colleagues.
Published onlypublished_onlytrue/false
Published only.
Updated afterupdated_afternumber
Updated after.
Platformplatformtrue/false
Platform.
Location IDlocation_idnumber
Location id.
Location IDslocation_idstext
Location ids.
Show vacant onlyshow_vacant_onlytrue/false
Show vacant only.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "acceptance_status": "example",
      "activities": [
        {}
      ],
      "activity_code": "example",
      "activity_code_id": 1,
      "activity_code_name": "example",
      "automatic_break_length": 1,
      "award_interpretation": [
        {}
      ],
      "breaks": [
        {}
      ],
      "cost": 1,
      "cost_with_oncosts": 1,
      "creation_method": "example",
      "creation_platform": "example",
      "department_id": 1,
      "department_name": "example",
      "finish": 1,
      "id": 1,
      "last_acknowledged_at": 1,
      "last_costed_at": 1,
      "last_published_at": 1,
      "location_name": "example",
      "needs_acceptance": true,
      "oncosts_breakdown": [
        {}
      ],
      "platform": {
        "attributes": [
          {}
        ],
        "id": 1,
        "model_id": 1,
        "native_id": 1,
        "updated_at": 1,
        "uuid": "example"
      },
      "record_id": 1,
      "roster_id": 1,
      "shift_detail_id": 1,
      "shift_detail_name": "example",
      "start": 1,
      "time_zone": "example",
      "updated_at": 1,
      "user_id": 1,
      "user_name": "example",
      "utc_offset": 1
    }
  ]
}

List shifts

List shifts.

Inputs

Idsidslist
Ids.
User IDsuser_idslist
User ids.
Fromfromdate
From.
Totodate
To.
Show costsshow_coststrue/false
Show costs.
Include oncostsinclude_oncoststrue/false
Include oncosts.
Show award interpretationshow_award_interpretationtrue/false
Show award interpretation.
Show activitiesshow_activitiestrue/false
Show activities.
Show associated tagshow_associated_tagtrue/false
Show associated tag.
Show notesshow_notestrue/false
Show notes.
Show varianceshow_variancetrue/false
Show variance.
Updated afterupdated_afternumber
Updated after.
Report location IDreport_location_idnumber
Report location id.
Show export nameshow_export_nametrue/false
Show export name.
Include namesinclude_namestrue/false
Include names.
Platformplatformtrue/false
Platform.
Pagepagenumber
Page.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "activities": [
        {}
      ],
      "activity_code": "example",
      "activity_code_id": 1,
      "activity_code_name": "example",
      "allowances": [
        {}
      ],
      "approved_at": 1,
      "approved_by": 1,
      "associated_tag": "example",
      "award_interpretation": [
        {}
      ],
      "break_finish": 1,
      "break_length": 1,
      "break_start": 1,
      "breaks": [
        {}
      ],
      "cost": 1,
      "cost_breakdown": {
        "allowance_cost": 1,
        "award_cost": 1
      },
      "cost_with_oncosts": 1,
      "date": "example",
      "department_export_name": "example",
      "department_id": 1,
      "department_name": "example",
      "employee_id": "example",
      "finish": 1,
      "hours_over_roster": 1,
      "hours_under_roster": 1,
      "id": 1,
      "last_costed_at": 1,
      "last_rated_by": 1,
      "leave_request_id": 1,
      "location_name": "example",
      "matched_schedule_id": 1,
      "metadata": "example",
      "notes": [
        {}
      ],
      "oncosts_breakdown": [
        {}
      ],
      "platform": {
        "attributes": [
          {}
        ],
        "id": 1,
        "model_id": 1,
        "native_id": 1,
        "updated_at": 1,
        "uuid": "example"
      },
      "rating": 1,
      "record_id": 1,
      "start": 1,
      "status": "example",
      "sub_cost_centre": "example",
      "tag": "example",
      "tag_id": 1,
      "timesheet_id": 1,
      "updated_at": 1,
      "user_id": 1,
      "user_name": "example"
    }
  ]
}

List webhooks

List webhooks.

Inputs

None.

Outputs

datalist
The response from Workforce.com.
Example output
{
  "data": [
    {
      "id": 1,
      "token": "example",
      "topics": [
        "example"
      ],
      "updated_at": 1,
      "url": "example"
    }
  ]
}

On this page