Breathe HR
App · 19 actions
Read Breathe employee, leave, absence and organization records.
Actions
| Action | What it does |
|---|---|
| Get account | Get account from Breathe HR. |
| Get employee | Get employee from Breathe HR. |
| Get leave request | Get leave request from Breathe HR. |
| List absences | List absences from Breathe HR. |
| List departments | List departments from Breathe HR. |
| List divisions | List divisions from Breathe HR. |
| List employee absences | List employee absences from Breathe HR. |
| List employee benefits | List employee benefits from Breathe HR. |
| List employee bonuses | List employee bonuses from Breathe HR. |
| List employee holiday years | List employee holiday years from Breathe HR. |
| List employee jobs | List employee jobs from Breathe HR. |
| List employee leave requests | List employee leave requests from Breathe HR. |
| List employee salaries | List employee salaries from Breathe HR. |
| List employee sicknesses | List employee sicknesses from Breathe HR. |
| List employees | List employees from Breathe HR. |
| List holiday allowances | List holiday allowances from Breathe HR. |
| List leave requests | List leave requests from Breathe HR. |
| List locations | List locations from Breathe HR. |
| List other leave reasons | List other leave reasons from Breathe HR. |
Get account
Get account from Breathe HR.
Inputs
None.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"accounts": [
{
"domain": {},
"health_and_safety_enabled": {},
"id": {},
"name": {},
"using_rta": {},
"uuid": {}
}
]
}
}Get employee
Get employee from Breathe HR.
Inputs
- Employee ID
employee_idtextRequired - Employee id.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"employees": [
{
"age": {},
"created_at": {},
"email": {},
"full_or_part_time": {},
"holiday_allowance": {},
"id": {},
"length_of_service_in_months": {},
"line_manager": {},
"notice_period": {},
"photo_url": {},
"status": {},
"total_working_hours": {},
"updated_at": {},
"working_pattern": {}
}
]
}
}Get leave request
Get leave request from Breathe HR.
Inputs
- Leave request ID
leave_request_idtextRequired - Leave request id.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"leave_requests": [
{
"action": {},
"created_at": {},
"end_date": {},
"half_end": {},
"half_end_am_pm": {},
"half_start": {},
"half_start_am_pm": {},
"id": {},
"notes": {},
"start_date": {},
"status": {},
"updated_at": {}
}
]
}
}List absences
List absences from Breathe HR.
Inputs
- Type
typetext - Type of absences to return, 'Holiday' or 'OtherLeave'
- Other leave reason ID
other_leave_reason_idnumber - ID of other leave reason to filter by
- Exclude cancelled absences
exclude_cancelled_absencestrue/false - Don't return cancelled absences
- Employee ID
employee_idnumber - Return absences for this employee only (also available at /employees/:id/absences)
- Department ID
department_idnumber - Return absences for this department only (also available at /departments/:id/absences)
- Start date
start_datetext - Return absences on or after this date
- End date
end_datetext - Return absences on or after this date
- Rotacloud
rotacloudtrue/false - Return absences where rotacloud is not excluded from integration
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"absences": [
{
"approved_by": {},
"created_at": "example",
"deducted": {},
"employee": {},
"end_date": "example",
"half_end": true,
"half_end_am_pm": "example",
"half_start": true,
"half_start_am_pm": "example",
"id": 1,
"leave_reason": {},
"start_date": "example",
"updated_at": "example",
"work_units": {}
}
]
}
}List departments
List departments from Breathe HR.
Inputs
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"company_departments": [
{
"created_at": {},
"id": {},
"name": {},
"updated_at": {}
}
]
}
}List divisions
List divisions from Breathe HR.
Inputs
None.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"company_divisions": [
{
"created_at": {},
"id": {},
"name": {},
"updated_at": {}
}
]
}
}List employee absences
List employee absences from Breathe HR.
Inputs
- Employee ID
employee_idnumberRequired - ID of employee to return absences for
- Exclude cancelled absences
exclude_cancelled_absencestrue/false - Don't return cancelled leave requests
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"absences": [
{
"approved_by": {},
"created_at": "example",
"deducted": {},
"employee": {},
"end_date": "example",
"half_end": true,
"half_end_am_pm": "example",
"half_start": true,
"half_start_am_pm": "example",
"id": 1,
"leave_reason": {},
"start_date": "example",
"updated_at": "example",
"work_units": {}
}
]
}
}List employee benefits
List employee benefits from Breathe HR.
Inputs
- Employee ID
employee_idtextRequired - Employee id.
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"benefits": [
{
"amount": {},
"created_at": {},
"employee_contribution": {},
"employer_contribution": {},
"end_date": {},
"id": {},
"pension_opt_out": {},
"provider": {},
"review_date": {},
"start_date": {},
"updated_at": {}
}
]
}
}List employee bonuses
List employee bonuses from Breathe HR.
Inputs
- Employee ID
employee_idtextRequired - Employee id.
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"bonuses": [
{
"amount": {},
"award_date": {},
"created_at": {},
"description": {},
"id": {},
"updated_at": {}
}
]
}
}List employee holiday years
List employee holiday years from Breathe HR.
Inputs
- Employee ID
employee_idnumberRequired - ID of employee to return holiday years for
- For date
for_datetext - Return employee_holiday_years that include this date
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"employee_holiday_years": [
{
"adjustment": {},
"allowance": {},
"allowance_from_last_year": {},
"carry_over_valid_for": {},
"end_date": {},
"finished": {},
"holiday_allowance": {},
"id": {},
"start_date": {},
"used_from_last_year": {},
"used_from_next_year": {},
"used_from_this_year": {},
"used_in_last_year": {},
"working_pattern": {}
}
]
}
}List employee jobs
List employee jobs from Breathe HR.
Inputs
- Employee ID
employee_idnumber - Return jobs for this employee only
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"employee_jobs": [
{
"contract_end_date": {},
"created_at": {},
"end_date": {},
"fulltime_parttime": {},
"start_date": {},
"title": {},
"updated_at": {}
}
]
}
}List employee leave requests
List employee leave requests from Breathe HR.
Inputs
- Employee ID
employee_idnumberRequired - ID of employee to return leave requests for
- Exclude cancelled requests
exclude_cancelled_requeststrue/false - Don't return cancelled leave requests
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"leave_requests": [
{
"action": {},
"created_at": {},
"end_date": {},
"half_end": {},
"half_end_am_pm": {},
"half_start": {},
"half_start_am_pm": {},
"id": {},
"notes": {},
"start_date": {},
"status": {},
"updated_at": {}
}
]
}
}List employee salaries
List employee salaries from Breathe HR.
Inputs
- Employee ID
employee_idtextRequired - Employee id.
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"salaries": [
{
"amount": {},
"basis": {},
"created_at": {},
"end_date": {},
"id": {},
"start_date": {},
"updated_at": {}
}
]
}
}List employee sicknesses
List employee sicknesses from Breathe HR.
Inputs
- Employee ID
employee_idnumberRequired - ID of employee to return sicknessed for
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"sicknesses": [
{
"company_sicknesstype": {},
"deducted": {},
"employee": {},
"end_date": {},
"fit_note_required": {},
"half_end": {},
"half_end_am_pm": {},
"half_start": {},
"half_start_am_pm": {},
"id": {},
"reason": {},
"review_notes": {},
"start_date": {},
"status": {}
}
]
}
}List employees
List employees from Breathe HR.
Inputs
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
- Filter
filtertext - Type of employees to returnOne of:
hr,line_manager(Line manager),either,neither. - Rotacloud
rotacloudtrue/false - Return leave requests where rotacloud is not excluded from integration
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"employees": [
{
"age": {},
"created_at": {},
"email": {},
"full_or_part_time": {},
"holiday_allowance": {},
"id": {},
"length_of_service_in_months": {},
"line_manager": {},
"notice_period": {},
"photo_url": {},
"status": {},
"total_working_hours": {},
"updated_at": {},
"working_pattern": {}
}
]
}
}List holiday allowances
List holiday allowances from Breathe HR.
Inputs
None.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"holiday_allowances": [
{
"created_at": {},
"default": {},
"id": {},
"updated_at": {},
"year_1": {},
"year_10": {},
"year_2": {},
"year_3": {},
"year_4": {},
"year_5": {},
"year_6": {},
"year_7": {},
"year_8": {},
"year_9": {}
}
]
}
}List leave requests
List leave requests from Breathe HR.
Inputs
- Start date
start_datetext - Return leave requests starting on or after this date
- End date
end_datetext - Return leave requests starting on or before this date
- Exclude cancelled requests
exclude_cancelled_requeststrue/false - Don't return cancelled leave requests
- Employee ID
employee_idnumber - Return leave requests for this employee only (also available at /employees/:id/leave_requests)
- Department ID
department_idnumber - Return leave requests for this department only (also available at /departments/:id/leave_requests)
- Rotacloud
rotacloudtrue/false - Return leave requests where rotacloud is not excluded from integration
- Page
pagenumber - Page of results to fetch.At least 1.
- Per page
per_pagenumber - Number of results to return per page.At least 1.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"leave_requests": [
{
"action": {},
"created_at": {},
"end_date": {},
"half_end": {},
"half_end_am_pm": {},
"half_start": {},
"half_start_am_pm": {},
"id": {},
"notes": {},
"start_date": {},
"status": {},
"updated_at": {}
}
]
}
}List locations
List locations from Breathe HR.
Inputs
None.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"company_locations": [
{
"created_at": {},
"id": {},
"name": {},
"updated_at": {}
}
]
}
}List other leave reasons
List other leave reasons from Breathe HR.
Inputs
None.
Outputs
dataobject- The response from Breathe HR.
Example output
{
"data": {
"other_leave_reasons": [
{
"id": {},
"name": {}
}
]
}
}