# Workforce.com

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

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/workforce-com

## Actions

### Get current employee

Get current employee.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Id (`id`, number, required): Id.
- Platform (`platform`, true/false): Platform.
- Show activity codes (`show_activity_codes`, true/false): Show activity codes.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Id (`id`, number, required): Id.
- Show wages (`show_wages`, true/false): Show wages.
- Show answers (`show_answers`, true/false): Show answers.
- Platform (`platform`, true/false): Platform.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Id (`id`, number, required): Id.
- Platform (`platform`, true/false): Platform.
- Show business hours (`show_business_hours`, true/false): Show business hours.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Id (`id`, number, required): Id.
- Show award interpretation (`show_award_interpretation`, true/false): Show award interpretation.
- Show activities (`show_activities`, true/false): Show activities.
- Show costs (`show_costs`, true/false): Show costs.
- Include names (`include_names`, true/false): Include names.
- Platform (`platform`, true/false): Platform.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Id (`id`, number, required): Id.
- Show costs (`show_costs`, true/false): Show costs.
- Include oncosts (`include_oncosts`, true/false): Include oncosts.
- Show award interpretation (`show_award_interpretation`, true/false): Show award interpretation.
- Show activities (`show_activities`, true/false): Show activities.
- Show associated tag (`show_associated_tag`, true/false): Show associated tag.
- Show notes (`show_notes`, true/false): Show notes.
- Show variance (`show_variance`, true/false): Show variance.
- Show export name (`show_export_name`, true/false): Show export name.
- Include names (`include_names`, true/false): Include names.
- Platform (`platform`, true/false): Platform.

**Outputs**

- `data` (object): The response from Workforce.com.

**Example output**

```json
{
  "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**

- From (`from`, date, required): From.
- To (`to`, date, required): To.
- Device ID (`device_id`, number): Device id.
- Member ID (`member_id`, number): Member id.
- Updated after (`updated_after`, number): Updated after.
- Include inactive (`include_inactive`, true/false): Include inactive.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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 costs (`show_costs`, true/false): Show costs.
- Include oncosts (`include_oncosts`, true/false): Include oncosts.
- Show award interpretation (`show_award_interpretation`, true/false): Show award interpretation.
- Show notes (`show_notes`, true/false): Show notes.
- Show activities (`show_activities`, true/false): Show activities.
- Include names (`include_names`, true/false): Include names.
- Show variance (`show_variance`, true/false): Show variance.
- Updated after (`updated_after`, number): Updated after.
- Export format (`export_format`, text): Export format.
- Report location ID (`report_location_id`, number): Report location id.
- Approved only (`approved_only`, true/false): Approved only.
- Skip status update (`skip_status_update`, true/false): Skip status update.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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 after (`updated_after`, number): Updated after.
- Platform (`platform`, true/false): Platform.
- Tracking categories (`tracking_categories`, true/false): Tracking categories.
- Show activity codes (`show_activity_codes`, true/false): Show activity codes.
- Location ID (`location_id`, number): Location id.
- Location IDs (`location_ids`, text): Location ids.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Email (`email`, text): Email.
- Name (`name`, text): Name.
- Show wages (`show_wages`, true/false): Show wages.
- Show qualifications (`show_qualifications`, true/false): Show qualifications.
- Show inactive (`show_inactive`, true/false): Show inactive.
- Show automatic break rule sets (`show_automatic_break_rule_sets`, true/false): Show automatic break rule sets.
- Updated after (`updated_after`, number): Updated after.
- Report location ID (`report_location_id`, number): Report location id.
- Employee ID (`employee_id`, text): Employee id.
- Normalised phone (`normalised_phone`, text): Normalised phone.
- Platform (`platform`, true/false): Platform.
- Location ID (`location_id`, number): Location id.
- Location IDs (`location_ids`, text): Location ids.
- Managers only (`managers_only`, true/false): Managers only.
- Role types (`role_types`, text): Role types.
- Platform role IDs (`platform_role_ids`, text): Platform role ids.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Status (`status`, text): Status. One of: `accepting`, `not_accepting` (Not accepting).
- Visibility (`visibility`, text): Visibility. One of: `public`, `internal`, `external`.
- Updated after (`updated_after`, number): Updated after.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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 ID (`job_setting_id`, number): Job setting id.
- Job ID (`job_id`, number): Job id.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "data": [
    {
      "created_at": 1,
      "id": 1,
      "is_active": true,
      "job_id": 1,
      "name": "example"
    }
  ]
}
```

### List leave

List leave.

**Inputs**

- From (`from`, date): From.
- To (`to`, date): To.
- Updated after (`updated_after`, number): Updated after.
- Include inactive (`include_inactive`, true/false): Include inactive.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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 after (`updated_after`, number): Updated after.
- Platform (`platform`, true/false): Platform.
- Show business hours (`show_business_hours`, true/false): Show business hours.
- Organisation ID (`organisation_id`, number): Organisation id.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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 after (`updated_after`, number): Updated after.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "data": [
    {
      "department_ids": [
        1
      ],
      "id": 1,
      "name": "example",
      "position_group": "example"
    }
  ]
}
```

### List qualifications

List qualifications.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "data": [
    {
      "id": 1,
      "maximum_hours": 1,
      "name": "example",
      "updated_at": 1
    }
  ]
}
```

### List schedules

List schedules.

**Inputs**

- From (`from`, date): From.
- To (`to`, date): To.
- Show award interpretation (`show_award_interpretation`, true/false): Show award interpretation.
- Show activities (`show_activities`, true/false): Show activities.
- Show costs (`show_costs`, true/false): Show costs.
- Include names (`include_names`, true/false): Include names.
- Include colleagues (`include_colleagues`, true/false): Include colleagues.
- Published only (`published_only`, true/false): Published only.
- Updated after (`updated_after`, number): Updated after.
- Platform (`platform`, true/false): Platform.
- Location ID (`location_id`, number): Location id.
- Location IDs (`location_ids`, text): Location ids.
- Show vacant only (`show_vacant_only`, true/false): Show vacant only.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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**

- Ids (`ids`, list): Ids.
- User IDs (`user_ids`, list): User ids.
- From (`from`, date): From.
- To (`to`, date): To.
- Show costs (`show_costs`, true/false): Show costs.
- Include oncosts (`include_oncosts`, true/false): Include oncosts.
- Show award interpretation (`show_award_interpretation`, true/false): Show award interpretation.
- Show activities (`show_activities`, true/false): Show activities.
- Show associated tag (`show_associated_tag`, true/false): Show associated tag.
- Show notes (`show_notes`, true/false): Show notes.
- Show variance (`show_variance`, true/false): Show variance.
- Updated after (`updated_after`, number): Updated after.
- Report location ID (`report_location_id`, number): Report location id.
- Show export name (`show_export_name`, true/false): Show export name.
- Include names (`include_names`, true/false): Include names.
- Platform (`platform`, true/false): Platform.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size. From 1 to 100.

**Outputs**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "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**

- `data` (list): The response from Workforce.com.

**Example output**

```json
{
  "data": [
    {
      "id": 1,
      "token": "example",
      "topics": [
        "example"
      ],
      "updated_at": 1,
      "url": "example"
    }
  ]
}
```
