Skip to content

Commit 453e4cd

Browse files
authored
PAT-2140: Remove PUT for UK pay runs.
1 parent ed9ac6b commit 453e4cd

1 file changed

Lines changed: 1 addition & 147 deletions

File tree

xero-payroll-uk.yaml

Lines changed: 1 addition & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -5123,152 +5123,6 @@ paths:
51235123
paymentMethod: null
51245124
payslipMessage: null
51255125
invalidPayeeIDs: null
5126-
put:
5127-
security:
5128-
- OAuth2:
5129-
- payroll.payruns
5130-
tags:
5131-
- PayrollUk
5132-
operationId: updatePayRun
5133-
x-hasPayrollUkProblem: true
5134-
x-example:
5135-
- startDateValue:
5136-
key: startDate
5137-
keyPascal: StartDate
5138-
keySnake: start_date
5139-
is_date: true
5140-
java_datatype: LocalDate
5141-
csharp_datatype: DateTime
5142-
default: LocalDate.of(2020, Month.OCTOBER, 28)
5143-
java: LocalDate.of(2020, Month.OCTOBER, 28)
5144-
csharp: new DateTime(2020, 10, 10)
5145-
php: new DateTime('2020-10-28')
5146-
node: '''2020-10-28'''
5147-
python: dateutil.parser.parse('2020-10-28T00:00:00Z')
5148-
ruby: '''YYYY-MM-DD'''
5149-
- paymentDateValue:
5150-
key: paymentDate
5151-
keyPascal: PaymentDate
5152-
keySnake: payment_date
5153-
is_date: true
5154-
java_datatype: LocalDate
5155-
csharp_datatype: DateTime
5156-
default: LocalDate.of(2020, Month.OCTOBER, 30)
5157-
java: LocalDate.of(2020, Month.OCTOBER, 30)
5158-
csharp: new DateTime(2020, 10, 12)
5159-
php: new DateTime('2020-10-30')
5160-
node: '''2020-10-30'''
5161-
python: dateutil.parser.parse('2020-10-30T00:00:00Z')
5162-
ruby: '''YYYY-MM-DD'''
5163-
- payRunCalendar:
5164-
key: payRunCalendar
5165-
keyPascal: PayRunCalendar
5166-
keySnake: pay_run_calendar
5167-
is_object: true
5168-
- calendarType:
5169-
key: calendarType
5170-
keyPascal: CalendarType
5171-
keySnake: calendar_type
5172-
nonString: true
5173-
default: CalendarType.Weekly
5174-
php: XeroAPI\XeroPHP\Models\PayrollUk\CalendarType.WEEKLY
5175-
node: CalendarType.Weekly
5176-
ruby: XeroRuby::PayrollUk::calendar_type::WEEKLY
5177-
python: calendar_type.WEEKLY
5178-
java: com.xero.models.payrolluk.CalendarType.WEEKLY
5179-
csharp: CalendarType.Weekly
5180-
object: payRunCalendar
5181-
- periodStartDate:
5182-
key: periodStartDate
5183-
keyPascal: PeriodStartDate
5184-
keySnake: period_start_date
5185-
is_variable: true
5186-
nonString: true
5187-
default: startDate
5188-
python: start_date
5189-
ruby: start_date
5190-
object: payRunCalendar
5191-
- paymentDate:
5192-
key: paymentDate
5193-
keyPascal: PaymentDate
5194-
keySnake: payment_date
5195-
is_last: true
5196-
is_variable: true
5197-
nonString: true
5198-
default: paymentDate
5199-
python: payment_date
5200-
ruby: payment_date
5201-
object: payRunCalendar
5202-
summary: Updates a specific pay run
5203-
parameters:
5204-
- $ref: '#/components/parameters/idempotencyKey'
5205-
- in: path
5206-
name: PayRunID
5207-
x-snake: pay_run_id
5208-
required: true
5209-
description: Identifier for the pay run
5210-
schema:
5211-
type: string
5212-
format: uuid
5213-
responses:
5214-
"200":
5215-
description: search results matching criteria
5216-
content:
5217-
application/json:
5218-
schema:
5219-
$ref: '#/components/schemas/PayRunObject'
5220-
example:
5221-
id: f567524d-34d6-412b-97e3-f97152c1bbc2
5222-
providerName: provider-name
5223-
dateTimeUTC: 2020-06-03T18:33:25.3607921
5224-
httpStatusCode: OK
5225-
pagination: null
5226-
problem: null
5227-
payRun:
5228-
payRunID: e0a59d82-6229-4be4-9d66-49891b4d933e
5229-
payrollCalendarID: 216d80e6-af55-47b1-b718-9457c3f5d2fe
5230-
periodStartDate: 2020-02-03T00:00:00
5231-
periodEndDate: 2020-02-09T00:00:00
5232-
paymentDate: 2020-05-01T00:00:00
5233-
totalCost: 523.79
5234-
totalPay: 445.04
5235-
payRunStatus: Draft
5236-
payRunType: Scheduled
5237-
calendarType: Weekly
5238-
postedDateTime: null
5239-
paySlips:
5240-
- paySlipID: ed3fb9b3-e9a1-44fa-a224-8be49facbbe8
5241-
employeeID: aad6b292-7b94-408b-93f6-e489867e3fb0
5242-
lastEdited: null
5243-
firstName: Mike
5244-
lastName: Johncfvhitgezvson
5245-
totalEarnings: 480.77
5246-
grossEarnings: 480.77
5247-
totalPay: 445.04
5248-
totalEmployerTaxes: 43.02
5249-
totalEmployeeTaxes: 35.73
5250-
totalDeductions: 0
5251-
totalReimbursements: 0
5252-
totalCourtOrders: 0
5253-
totalBenefits: 0
5254-
bacsHash: null
5255-
paymentMethod: Electronically
5256-
payslipMessage: null
5257-
invalidPayeeIDs: null
5258-
"400":
5259-
description: validation error for a bad request
5260-
content:
5261-
application/json:
5262-
schema:
5263-
$ref: '#/components/schemas/Problem'
5264-
requestBody:
5265-
required: true
5266-
content:
5267-
application/json:
5268-
schema:
5269-
$ref: '#/components/schemas/PayRun'
5270-
example:
5271-
paymentDate: "2020-05-01"
52725126
/Payslips:
52735127
parameters:
52745128
- $ref: '#/components/parameters/requiredHeader'
@@ -7683,4 +7537,4 @@ components:
76837537
properties:
76847538
niCategory:
76857539
enum:
7686-
- V
7540+
- V

0 commit comments

Comments
 (0)