Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaus committed Sep 1, 2021
1 parent 28fecb0 commit c5e8c71
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions xero-payroll-nz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1885,62 +1885,6 @@ paths:
/Employees/{EmployeeID}/PayTemplates:
parameters:
- $ref: '#/components/parameters/requiredHeader'
get:
security:
- OAuth2: [payroll.employees, payroll.employees.read]
tags:
- PayrollNz
operationId: getEmployeePayTemplates
x-hasPayrollUkProblem: true
summary: Retrieves pay templates for a specific employee
parameters:
- name: EmployeeID
in: path
required: true
description: Employee id for single object
schema:
type: string
format: uuid
example: 4ff1e5cc-9835-40d5-bb18-09fdb118db9c
responses:
'200':
description: search results matching criteria
content:
application/json:
schema:
$ref: '#/components/schemas/EmployeePayTemplates'
example: '{
"id": "00000000-0000-0000-0000-000000000000",
"providerName": "provider-name",
"dateTimeUTC": "2020-08-27T15:09:19.0627389",
"httpStatusCode": "OK",
"pagination": {
"page": 1,
"pageSize": 100,
"pageCount": 0,
"itemCount": 0
},
"problem": null,
"payTemplate": {
"employeeID": "68342973-c405-4b86-b5d3-d7b877c27995",
"earningTemplates": [
{
"payTemplateEarningID": "1527cf6c-93db-41bf-aba2-9d6af1d3c499",
"ratePerUnit": 20,
"numberOfUnits": 8,
"fixedAmount": null,
"earningsRateID": "f9d8f5b5-9049-47f4-8541-35e200f750a5",
"name": "Ordinary Time"
}
]
}
}'
'400':
description: validation error for a bad request
content:
application/json:
schema:
$ref: '#/components/schemas/Problem'
get:
security:
- OAuth2: [payroll.employees, payroll.employees.read]
Expand Down

0 comments on commit c5e8c71

Please sign in to comment.