Workforce.com
App · 20 actions
Read employees, schedules, shifts, timesheets, leave and hiring in Workforce.com.
Actions
| Action | What it does |
|---|---|
| Get current employee | Get current employee. |
| Get department | Get department. |
| Get employee | Get employee. |
| Get location | Get location. |
| Get schedule | Get schedule. |
| Get shift | Get shift. |
| List clock ins | List clock ins. |
| List current timesheets | List current timesheets. |
| List departments | List departments. |
| List employees | List employees. |
| List job openings | List job openings. |
| List job stages | List job stages. |
| List leave | List leave. |
| List locations | List locations. |
| List organizations | List organizations. |
| List positions | List positions. |
| List qualifications | List qualifications. |
| List schedules | List schedules. |
| List shifts | List shifts. |
| List webhooks | List 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
- Id
idnumberRequired - Id.
- Platform
platformtrue/false - Platform.
- Show activity codes
show_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
- Id
idnumberRequired - Id.
- Show wages
show_wagestrue/false - Show wages.
- Show answers
show_answerstrue/false - Show answers.
- Platform
platformtrue/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
- Id
idnumberRequired - Id.
- Platform
platformtrue/false - Platform.
- Show business hours
show_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
- Id
idnumberRequired - Id.
- Show award interpretation
show_award_interpretationtrue/false - Show award interpretation.
- Show activities
show_activitiestrue/false - Show activities.
- Show costs
show_coststrue/false - Show costs.
- Include names
include_namestrue/false - Include names.
- Platform
platformtrue/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
- Id
idnumberRequired - Id.
- Show costs
show_coststrue/false - Show costs.
- Include oncosts
include_oncoststrue/false - Include oncosts.
- Show award interpretation
show_award_interpretationtrue/false - Show award interpretation.
- Show activities
show_activitiestrue/false - Show activities.
- Show associated tag
show_associated_tagtrue/false - Show associated tag.
- Show notes
show_notestrue/false - Show notes.
- Show variance
show_variancetrue/false - Show variance.
- Show export name
show_export_nametrue/false - Show export name.
- Include names
include_namestrue/false - Include names.
- Platform
platformtrue/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
- From
fromdateRequired - From.
- To
todateRequired - To.
- Device ID
device_idnumber - Device id.
- Member ID
member_idnumber - Member id.
- Updated after
updated_afternumber - Updated after.
- Include inactive
include_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 costs
show_coststrue/false - Show costs.
- Include oncosts
include_oncoststrue/false - Include oncosts.
- Show award interpretation
show_award_interpretationtrue/false - Show award interpretation.
- Show notes
show_notestrue/false - Show notes.
- Show activities
show_activitiestrue/false - Show activities.
- Include names
include_namestrue/false - Include names.
- Show variance
show_variancetrue/false - Show variance.
- Updated after
updated_afternumber - Updated after.
- Export format
export_formattext - Export format.
- Report location ID
report_location_idnumber - Report location id.
- Approved only
approved_onlytrue/false - Approved only.
- Skip status update
skip_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 after
updated_afternumber - Updated after.
- Platform
platformtrue/false - Platform.
- Tracking categories
tracking_categoriestrue/false - Tracking categories.
- Show activity codes
show_activity_codestrue/false - Show activity codes.
- Location ID
location_idnumber - Location id.
- Location IDs
location_idstext - Location ids.
- Page
pagenumber - Page.
- Page size
page_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
- Email
emailtext - Email.
- Name
nametext - Name.
- Show wages
show_wagestrue/false - Show wages.
- Show qualifications
show_qualificationstrue/false - Show qualifications.
- Show inactive
show_inactivetrue/false - Show inactive.
- Show automatic break rule sets
show_automatic_break_rule_setstrue/false - Show automatic break rule sets.
- Updated after
updated_afternumber - Updated after.
- Report location ID
report_location_idnumber - Report location id.
- Employee ID
employee_idtext - Employee id.
- Normalised phone
normalised_phonetext - Normalised phone.
- Platform
platformtrue/false - Platform.
- Location ID
location_idnumber - Location id.
- Location IDs
location_idstext - Location ids.
- Managers only
managers_onlytrue/false - Managers only.
- Role types
role_typestext - Role types.
- Platform role IDs
platform_role_idstext - Platform role ids.
- Page
pagenumber - Page.
- Page size
page_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
- Status
statustext - Status.One of:
accepting,not_accepting(Not accepting). - Visibility
visibilitytext - Visibility.One of:
public,internal,external. - Updated after
updated_afternumber - Updated after.
- Page
pagenumber - Page.
- Page size
page_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 ID
job_setting_idnumber - Job setting id.
- Job ID
job_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
- From
fromdate - From.
- To
todate - To.
- Updated after
updated_afternumber - Updated after.
- Include inactive
include_inactivetrue/false - Include inactive.
- Page
pagenumber - Page.
- Page size
page_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 after
updated_afternumber - Updated after.
- Platform
platformtrue/false - Platform.
- Show business hours
show_business_hourstrue/false - Show business hours.
- Organisation ID
organisation_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 after
updated_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
- Page
pagenumber - Page.
- Page size
page_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
- From
fromdate - From.
- To
todate - To.
- Show award interpretation
show_award_interpretationtrue/false - Show award interpretation.
- Show activities
show_activitiestrue/false - Show activities.
- Show costs
show_coststrue/false - Show costs.
- Include names
include_namestrue/false - Include names.
- Include colleagues
include_colleaguestrue/false - Include colleagues.
- Published only
published_onlytrue/false - Published only.
- Updated after
updated_afternumber - Updated after.
- Platform
platformtrue/false - Platform.
- Location ID
location_idnumber - Location id.
- Location IDs
location_idstext - Location ids.
- Show vacant only
show_vacant_onlytrue/false - Show vacant only.
- Page
pagenumber - Page.
- Page size
page_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
- Ids
idslist - Ids.
- User IDs
user_idslist - User ids.
- From
fromdate - From.
- To
todate - To.
- Show costs
show_coststrue/false - Show costs.
- Include oncosts
include_oncoststrue/false - Include oncosts.
- Show award interpretation
show_award_interpretationtrue/false - Show award interpretation.
- Show activities
show_activitiestrue/false - Show activities.
- Show associated tag
show_associated_tagtrue/false - Show associated tag.
- Show notes
show_notestrue/false - Show notes.
- Show variance
show_variancetrue/false - Show variance.
- Updated after
updated_afternumber - Updated after.
- Report location ID
report_location_idnumber - Report location id.
- Show export name
show_export_nametrue/false - Show export name.
- Include names
include_namestrue/false - Include names.
- Platform
platformtrue/false - Platform.
- Page
pagenumber - Page.
- Page size
page_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"
}
]
}