Employment Hero LogoEmployment Hero

Contractor Job History

This endpoint retrieves job history information for a specific employee.

GET
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories

Path Parameters

organisation_iduuidrequired

The ID of the organisation to retrieve

employee_iduuidrequired

The ID of the employee to retrieve job history for

Query Parameters

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100

Response Body

A hash with a data property that contains an array of up to the limit of job history records. Each entry in the array is a separate job history object. If there is no job history record, the resulting array will be empty. Likewise, if the target employee is not a contractor, the array will likely be empty

dataobject
itemsobject[]
iduuid

Unique identifier for the job history entry.

job_titlestring

The title of the job position.

service_descriptionstring

Description of the service or role performed.

start_datestring

The date when the job position started.

end_datestring

The date when the job position ended.

payment_termenum<string>

The payment frequency for the position.

account_namestring

The name of the bank account.

bsbstring

The BSB (Bank State Branch) code for the bank account.

account_numberstring

The bank account number.

bank_namestring

The name of the bank.

bank_codestring

The bank code identifier.

descriptionstring

Additional description or notes about the job position.

roll_numberstring

The roll number for the bank account.

bank_countrystring

The country code where the bank is located (e.g., "AU" for Australia).

bank_branchstring

The specific branch of the bank.

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100
total_itemsnumber

Total items

total_pagesnumber

Total pages

Example

curl -X GET \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"

Response

{  "data": {    "items": [      {        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",        "service_description": "UX/UI content",        "start_date": "2025-08-11",        "end_date": "2025-08-12",        "job_title": "Job history",        "payment_term": "Fortnightly",        "account_name": "AccountName",        "bsb": "BSB",        "account_number": "123123",        "bank_name": "bank name",        "bank_code": "bank code",        "description": "description",        "roll_number": "roll number",        "bank_country": "AU",        "bank_branch": "bank branch"      }    ],    "page_index": 1,    "item_per_page": 20,    "total_items": 1,    "total_pages": 1  }}

This endpoint creates a job history entry for an independent contractor.

POST
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the independent contractor.

Request Body

job_titlestringrequired

The title of the job position.

start_datestringrequired

The date when the job position started, in YYYY-MM-DD format.

service_descriptionstring

Description of the service or role performed. Must not be blank when provided.

end_datestring

The date when the job position ended, in YYYY-MM-DD format. Must be on or after start_date.

payment_termenum<string>

The payment frequency for the position.

Response Body

Returns HTTP 201 Created with the newly created job history entry.

dataobject
iduuid

Unique identifier for the job history entry.

job_titlestring

The title of the job position.

service_descriptionstring

Description of the service or role performed.

start_datestring

The date when the job position started.

end_datestring

The date when the job position ended.

payment_termenum<string>

The payment frequency for the position.

descriptionstring

Additional description or notes about the job position.

Example

curl -X POST \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \  -H "Content-Type: application/json" \  -d '{    "job_title": "UX/UI designer",    "start_date": "2025-08-11",    "end_date": "2025-08-12",    "service_description": "UX/UI content",    "payment_term": "Fortnightly"  }'

Response

{  "data": {    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "job_title": "UX/UI designer",    "service_description": "UX/UI content",    "start_date": "2025-08-11",    "end_date": "2025-08-12",    "payment_term": "Fortnightly",    "description": "description"  }}

This endpoint updates a job history entry for an independent contractor. Omitted fields are left unchanged. If only one of the dates is sent, it is checked against the stored value of the other date.

PATCH
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories/:id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the independent contractor.

iduuidrequired

The ID of the job history entry to update.

Request Body

job_titlestring

The title of the job position.

start_datestring

The date when the job position started, in YYYY-MM-DD format.

service_descriptionstring

Description of the service or role performed. Must not be blank when provided.

end_datestring

The date when the job position ended, in YYYY-MM-DD format. Must be on or after start_date.

payment_termenum<string>

The payment frequency for the position.

Response Body

Returns HTTP 200 OK with the updated job history entry. Omitted fields are left unchanged.

dataobject
iduuid

Unique identifier for the job history entry.

job_titlestring

The title of the job position.

service_descriptionstring

Description of the service or role performed.

start_datestring

The date when the job position started.

end_datestring

The date when the job position ended.

payment_termenum<string>

The payment frequency for the position.

descriptionstring

Additional description or notes about the job position.

Example

curl -X PATCH \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories/:id" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \  -H "Content-Type: application/json" \  -d '{    "job_title": "Senior UX/UI designer",    "payment_term": "Monthly"  }'

Response

{  "data": {    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "job_title": "UX/UI designer",    "service_description": "UX/UI content",    "start_date": "2025-08-11",    "end_date": "2025-08-12",    "payment_term": "Fortnightly",    "description": "description"  }}

This endpoint deletes a job history entry for an independent contractor.

DELETE
https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories/:id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

employee_iduuidrequired

The ID of the independent contractor.

iduuidrequired

The ID of the job history entry to delete.

Response Body

Returns HTTP 204 No Content on success. No response body is included.

Example

curl -X DELETE \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/employees/:employee_id/job_histories/:id" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"

Response

This endpoint does not return a response body.