Staffology Payroll
App · 24 actions
Add employees, record leave and notes, and read employers, pay schedules and pay runs in Staffology Payroll.
Actions
| Action | What it does |
|---|---|
| Create department | Add a department to an employer. |
| Create employee | Add an employee to an employer, paid on the employer's default pay options. |
| Create leave | Record leave, such as holiday or sickness, for an employee. |
| Create note | Add a note to an employee's record. |
| Delete department | Delete one of an employer's departments. |
| Delete employee | Delete an employee. |
| Delete leave | Delete leave recorded for an employee. |
| Delete note | Delete a note from an employee's record. |
| Find employee by payroll code | Find the employee with a given payroll code. |
| Get employee | Get an employee's details. |
| Get employer | Get an employer's details. |
| Get pay run | Get one pay run, with its dates, state, totals and employees. |
| Get pay run entry | Get one employee's pay for a pay run, with totals and year-to-date totals. |
| List departments | List an employer's departments. |
| List employee's pay run entries | List an employee's pay run entries for a tax year. |
| List employees | List an employer's employees, with each one's payroll code and basic pay. |
| List employers | List the employers your Staffology user can see. |
| List leave | List the leave recorded for an employee. |
| List leavers | List an employer's employees who have a leaving date. |
| List notes | List the notes on an employee's record. |
| List pay runs | List an employer's pay runs for a tax year and pay frequency. |
| List pay schedules | List an employer's pay schedules for a tax year, with their last and open pay runs. |
| Search employees | Find an employer's employees by name or payroll code. |
| Update note | Replace a note on an employee's record. |
Create department
Add a department to an employer.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Code
codetextRequired - A short code for the department, unique within the employer.
- Name
titletextRequired - The department's name.
- Colour
colortext - A colour for it, as six hex digits such as ff0000.
- Accounting code
accountingCodetext - The code to use for it in journals.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"accountingCode": "4000",
"code": "OPS",
"color": "ff0000",
"employeeCount": 0,
"hasJournalOverrides": false,
"title": "Operations"
}
}Create employee
Add an employee to an employer, paid on the employer's default pay options.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- First name
first_nametextRequired - Their first name.
- Last name
last_nametextRequired - Their last name.
- Date of birth
date_of_birthdateRequired - Their date of birth.
- Gender
gendertextRequired - Their gender as HMRC records it.One of:
Male,Female. - Marital status
marital_statustextRequired - Their marital status.One of:
Single,Married,Divorced,Widowed,CivilPartnership(Civil partnership),Unknown(Not known). - Payroll code
payroll_codetextRequired - Their payroll code. It must be unique within the employer.
- Start date
start_datedateRequired - The day they start.
- Starter declaration
starter_declarationtextRequired - Which statement on their starter checklist applies.One of:
A(A: first job since 6 April, no benefits or pension),B(B: only job now, but had another or benefits since 6 April),C(C: has another job or a pension),Unknown(Not known). - Title
titletext - Their title, such as Ms.
- Middle name
middle_nametext - Their middle name.
- Email
emailtext - Their email address.
- Email payslips
email_paysliptrue/false - Turn on to email them their payslip when a pay run is finalised.
- Mobile
mobiletext - Their mobile number.
- National Insurance number
ni_numbertext - Their National Insurance number.
- Address line 1
address_line1text - The first line of their address.
- Address line 2
address_line2text - The second line of their address.
- Address line 3
address_line3text - The third line of their address.
- Postcode
post_codetext - Their postcode.
- Country
countrytext - The country they live in.One of:
England,Scotland,Wales,NorthernIreland(Northern Ireland),Uk,OutsideUk(Outside the UK). - Job title
job_titletext - The job title of their main role.
- Tags
tagslist - Tags to put on the employee.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"employmentDetails": {
"department": {
"code": "OPS",
"title": "Operations"
},
"isApprentice": false,
"jobTitle": "Detective",
"leaverDetails": {
"hasLeft": false,
"leaveDate": "2026-03-31",
"p45Sent": false
},
"onHold": false,
"payrollCode": "1",
"starterDetails": {
"startDate": "2018-04-01",
"starterDeclaration": "A"
}
},
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"personalDetails": {
"address": {
"country": "England",
"line1": "221B Baker Street",
"line2": "Marylebone",
"line3": "London",
"line4": "Greater London",
"line5": "UK",
"postCode": "NW1 6XE"
},
"dateOfBirth": "1976-07-19",
"email": "benedict@example.com",
"firstName": "Benedict",
"gender": "Male",
"lastName": "Cumberbatch",
"maritalStatus": "Married",
"middleName": "Timothy",
"mobile": "07700 900000",
"niNumber": "AB123456C",
"telephone": "020 7946 0000",
"title": "Mr"
},
"sourceSystemId": "HR-1001",
"status": "Current",
"tags": [
"London"
]
}
}Create leave
Record leave, such as holiday or sickness, for an employee.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
- Type
typetextRequired - What kind of leave it is.One of:
Holiday,Sick,Unauthorised(Unauthorised absence),AuthorisedUnpaid(Authorised unpaid),Maternity,Paternity,Adoption,SharedParental(Shared parental),SharedParentalAdoption(Shared parental (adoption)),PaternityAdoption(Paternity (adoption)), and 4 more. - First day
fromdateRequired - The first day of leave.
- Last day
todateRequired - The last day of leave.
- Pay
paytext - How the leave is paid.One of:
PayAsUsual(Pay as usual),DoNotPay(Don't pay),StatutoryPay(Statutory pay),OccupationalPolicy(Occupational policy),Custom,AverageDays(Average days). - Notes
notestext - Any comments about the leave.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Create note
Add a note to an employee's record.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
- Note
noteTexttextRequired - What the note says.
- Date
noteDatedate - The date of the note.
- Type
typetext - What kind of note it is.One of:
General,NewStarterStatement(New starter statement),RtwProof(Right to work proof),P45.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Delete department
Delete one of an employer's departments.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Department code
codetextRequired - The code of the department to delete.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Delete employee
Delete an employee. Staffology refuses if they have been paid.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
idtextRequired - The employee to delete.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Delete leave
Delete leave recorded for an employee.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
- Leave ID
idtextRequired - The leave to delete, from List leave.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Delete note
Delete a note from an employee's record.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
- Note ID
idtextRequired - The note to delete, from List notes.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {}
}Find employee by payroll code
Find the employee with a given payroll code.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Payroll code
codetextRequired - The payroll code to look for.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
}
}Get employee
Get an employee's details.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
idtextRequired - The employee. Pick one, or use an ID from List employees.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"employmentDetails": {
"department": {
"code": "OPS",
"title": "Operations"
},
"isApprentice": false,
"jobTitle": "Detective",
"leaverDetails": {
"hasLeft": false,
"leaveDate": "2026-03-31",
"p45Sent": false
},
"onHold": false,
"payrollCode": "1",
"starterDetails": {
"startDate": "2018-04-01",
"starterDeclaration": "A"
}
},
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"personalDetails": {
"address": {
"country": "England",
"line1": "221B Baker Street",
"line2": "Marylebone",
"line3": "London",
"line4": "Greater London",
"line5": "UK",
"postCode": "NW1 6XE"
},
"dateOfBirth": "1976-07-19",
"email": "benedict@example.com",
"firstName": "Benedict",
"gender": "Male",
"lastName": "Cumberbatch",
"maritalStatus": "Married",
"middleName": "Timothy",
"mobile": "07700 900000",
"niNumber": "AB123456C",
"telephone": "020 7946 0000",
"title": "Mr"
},
"sourceSystemId": "HR-1001",
"status": "Current",
"tags": [
"London"
]
}
}Get employer
Get an employer's details.
Inputs
- Employer
idtextRequired - The employer. Pick one, or use an ID from List employers.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"address": {
"country": "England",
"line1": "221B Baker Street",
"line2": "Marylebone",
"line3": "London",
"line4": "Greater London",
"line5": "UK",
"postCode": "NW1 6XE"
},
"alternativeId": "ACME",
"archived": false,
"crn": "01234567",
"currentYear": "Year2026",
"displayName": "Acme Ltd",
"employeeCount": 25,
"id": "6dd1459a-9230-4903-aa7d-6f1cb27acd5e",
"name": "Acme Ltd",
"startYear": "Year2018",
"subcontractorCount": 0
}
}Get pay run
Get one pay run, with its dates, state, totals and employees.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Tax year
taxYeartextRequired - The UK tax year, which starts on 6 April.One of:
Year2017(2017 to 2018),Year2018(2018 to 2019),Year2019(2019 to 2020),Year2020(2020 to 2021),Year2021(2021 to 2022),Year2022(2022 to 2023),Year2023(2023 to 2024),Year2024(2024 to 2025),Year2025(2025 to 2026),Year2026(2026 to 2027). - Pay frequency
payPeriodtextRequired - How often the employees on the pay schedule are paid.One of:
Monthly,FourWeekly(Four-weekly),Fortnightly,Weekly,Daily,Quarterly,HalfYearly(Half-yearly),Annual,Custom. - Period
periodNumbernumberRequired - The tax month or week number of the pay run.At least 1.
- Schedule number
ordinalnumber - Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.
- Search
searchTermtext - Only employees whose name or payroll code contains this.
- Department code
departmentCodetext - Only employees in the department with this code.
- Page
pageNumnumber - Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
- Page size
pageSizenumber - How many records a page holds.At least 1.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"dateClosed": "2026-11-28T15:00:00",
"employeeCount": 25,
"endDate": "2026-11-30",
"entries": [
{
"id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8/1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6"
}
],
"isClosed": false,
"ordinal": 1,
"payPeriod": "Monthly",
"paymentDate": "2026-11-30",
"period": 8,
"startDate": "2026-11-01",
"state": "Open",
"taxMonth": 8,
"taxYear": "Year2026",
"totals": {
"basicPay": 1000.0,
"employeeNi": 40.0,
"employerNi": 60.0,
"gross": 1000.0,
"netPay": 860.0,
"takeHomePay": 860.0,
"tax": 100.0
}
}
}Get pay run entry
Get one employee's pay for a pay run, with totals and year-to-date totals.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Tax year
taxYeartextRequired - The UK tax year, which starts on 6 April.One of:
Year2017(2017 to 2018),Year2018(2018 to 2019),Year2019(2019 to 2020),Year2020(2020 to 2021),Year2021(2021 to 2022),Year2022(2022 to 2023),Year2023(2023 to 2024),Year2024(2024 to 2025),Year2025(2025 to 2026),Year2026(2026 to 2027). - Pay frequency
payPeriodtextRequired - How often the employees on the pay schedule are paid.One of:
Monthly,FourWeekly(Four-weekly),Fortnightly,Weekly,Daily,Quarterly,HalfYearly(Half-yearly),Annual,Custom. - Period
periodNumbernumberRequired - The tax month or week number of the pay run.At least 1.
- Entry ID
idtextRequired - The pay run entry, from Get pay run.
- Schedule number
ordinalnumber - Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"employee": {
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
},
"endDate": "2026-11-30",
"id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
"isClosed": false,
"isNewStarter": false,
"note": "Includes overtime",
"payPeriod": "Monthly",
"paymentDate": "2026-11-30",
"period": 8,
"startDate": "2026-11-01",
"state": "Open",
"taxYear": "Year2026",
"totals": {
"basicPay": 1000.0,
"employeeNi": 40.0,
"employerNi": 60.0,
"gross": 1000.0,
"netPay": 860.0,
"takeHomePay": 860.0,
"tax": 100.0
},
"totalsYtd": {
"basicPay": 8000.0,
"employeeNi": 320.0,
"employerNi": 480.0,
"gross": 8000.0,
"netPay": 6880.0,
"takeHomePay": 6880.0,
"tax": 800.0
}
}
}List departments
List an employer's departments.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "0f1e2d3c-4b5a-6978-8796-a5b4c3d2e1f0",
"name": "Operations",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/departments/OPS"
}
]
}List employee's pay run entries
List an employee's pay run entries for a tax year.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
idtextRequired - The employee. Pick one, or use an ID from List employees.
- Tax year
taxYeartextRequired - The UK tax year, which starts on 6 April.One of:
Year2017(2017 to 2018),Year2018(2018 to 2019),Year2019(2019 to 2020),Year2020(2020 to 2021),Year2021(2021 to 2022),Year2022(2022 to 2023),Year2023(2023 to 2024),Year2024(2024 to 2025),Year2025(2025 to 2026),Year2026(2026 to 2027).
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6",
"name": "Month 8",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8/1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6"
}
]
}List employees
List an employer's employees, with each one's payroll code and basic pay.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Status
statustext - Only current, former or upcoming employees.One of:
Current,Former,Upcoming. - Department code
deptCodetext - Only employees in the department with this code.
- Sort by
sortBytext - How to order the employees.One of:
PayrollCode(Payroll code),Employee(Name),Department,PaySchedule(Pay schedule). - Descending
sortDescendingtrue/false - Turn on to sort the other way.
- Page
pageNumnumber - Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
- Page size
pageSizenumber - How many records a page holds.At least 1.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"metadata": {
"basicPay": 1000.0,
"payrollCode": "101",
"period": 12
},
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
}
]
}List employers
List the employers your Staffology user can see.
Inputs
- Search
searchTermtext - Only employers whose name, customer number, alternative ID or ID contains this.
- Which employers
employerListTypetext - Which list to read. Leave empty for the usual list.One of:
Owned(Owned by you),FromOthers(Shared with you),Support(Support access),Archived. - Sort by
sortBytext - How to order the employers.One of:
Name,ProcessorName(Payroll processor),Crn(Company number),AlternativeId(Alternative ID),EmployeeCount(Number of employees),RTICount(RTI submissions),PensionStatus(Pension status),AutoPilot. - Descending
sortDescendingtrue/false - Turn on to sort the other way.
- Employer group
employerGroupCodetext - Only employers in the employer group with this code.
- Page
pageNumnumber - Which page to read, counting from 0. Leave empty with Page size to get everything.At least 0.
- Page size
pageSizenumber - How many records a page holds.At least 1.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "6dd1459a-9230-4903-aa7d-6f1cb27acd5e",
"name": "Acme Ltd",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e"
}
]
}List leave
List the leave recorded for an employee.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
"name": "Holiday 21/12/2026 - 22/12/2026",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926/leave/c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f"
}
]
}List leavers
List an employer's employees who have a leaving date.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Only unsent P45s
onlyUnsentP45strue/false - Turn on to list only leavers whose P45 hasn't been sent.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"metadata": {
"basicPay": 1000.0,
"payrollCode": "101",
"period": 12
},
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
}
]
}List notes
List the notes on an employee's record.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b",
"name": "Called about bank details.",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926/notes/b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b"
}
]
}List pay runs
List an employer's pay runs for a tax year and pay frequency.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Tax year
taxYeartextRequired - The UK tax year, which starts on 6 April.One of:
Year2017(2017 to 2018),Year2018(2018 to 2019),Year2019(2019 to 2020),Year2020(2020 to 2021),Year2021(2021 to 2022),Year2022(2022 to 2023),Year2023(2023 to 2024),Year2024(2024 to 2025),Year2025(2025 to 2026),Year2026(2026 to 2027). - Pay frequency
payPeriodtextRequired - How often the employees on the pay schedule are paid.One of:
Monthly,FourWeekly(Four-weekly),Fortnightly,Weekly,Daily,Quarterly,HalfYearly(Half-yearly),Annual,Custom. - Schedule number
ordinalnumber - Which pay schedule of this frequency, when there is more than one. Leave empty for the first.At least 1.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "9a8b7c6d-5e4f-3a2b-1c0d-ef0123456789",
"name": "Month 8",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/payrun/Year2026/Monthly/8"
}
]
}List pay schedules
List an employer's pay schedules for a tax year, with their last and open pay runs.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Tax year
taxYeartextRequired - The UK tax year, which starts on 6 April.One of:
Year2017(2017 to 2018),Year2018(2018 to 2019),Year2019(2019 to 2020),Year2020(2020 to 2021),Year2021(2021 to 2022),Year2022(2022 to 2023),Year2023(2023 to 2024),Year2024(2024 to 2025),Year2025(2025 to 2026),Year2026(2026 to 2027).
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"employeeCount": 25,
"firstPaymentDate": "2026-04-30",
"firstPeriodEndDate": "2026-04-30",
"hasOpenPayRunPeriod": true,
"isConfigured": true,
"isYearCompleted": false,
"lastPeriodEndDate": "2026-11-30",
"lastPeriodNumber": 8,
"name": "Monthly",
"ordinal": 1,
"payPeriod": "Monthly",
"taxYear": "Year2026"
}
]
}Search employees
Find an employer's employees by name or payroll code.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Search for
querytextRequired - A name or payroll code, at least 3 characters.
- Leave out CIS subcontractors
exludeCisSubContactorstrue/false - Turn on to search only employees who aren't CIS subcontractors.
Outputs
datalist- The response from Staffology Payroll.
Example output
{
"data": [
{
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"metadata": {
"basicPay": 1000.0,
"payrollCode": "101",
"period": 12
},
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
}
]
}Update note
Replace a note on an employee's record.
Inputs
- Employer
employerIdtextRequired - The employer. Pick one, or use an ID from List employers.
- Employee
employeeIdtextRequired - The employee. Pick one, or use an ID from List employees.
- Note ID
idtextRequired - The note to change, from List notes.
- Note
noteTexttextRequired - What the note says.
- Date
noteDatedate - The date of the note.
- Type
typetext - What kind of note it is.One of:
General,NewStarterStatement(New starter statement),RtwProof(Right to work proof),P45.
Outputs
dataobject- The response from Staffology Payroll.
Example output
{
"data": {
"createdBy": "payroll@example.com",
"documentCount": 0,
"employee": {
"id": "4b8bceb8-d3b1-46b1-9d04-6c0dfca51926",
"name": "Miss Annie Apiola",
"url": "https://api.staffology.co.uk/employers/6dd1459a-9230-4903-aa7d-6f1cb27acd5e/employees/4b8bceb8-d3b1-46b1-9d04-6c0dfca51926"
},
"id": "b2a5f3c4-1d2e-4f50-8a9b-0c1d2e3f4a5b",
"noteDate": "2026-11-30",
"noteText": "Called about bank details.",
"type": "General",
"updatedBy": "payroll@example.com"
}
}