Skip to content

Commit c4cc9d1

Browse files
authored
Merge pull request #746 from rpocklin/fix-response-codes-xero-finance-amend
fix: unintended update to examples
2 parents 70a329f + 4eef896 commit c4cc9d1

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

xero-finance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ paths:
11161116
reportingCode: REV.OTH
11171117
lineAmount: 15.0
11181118
accountType: REVENUE
1119-
- paymentId: f94dad64-658c-491f-b9.1.15d38e9e8702
1119+
- paymentId: f94dad64-658c-491f-b901-05d38e9e8702
11201120
date: "2021-01-01"
11211121
amount: 5.0
11221122
bankAmount: 5.0

xero-payroll-au.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ paths:
467467
example:
468468
Id: 00000000-0000-0000-0000-000000000000
469469
Status: OK
470-
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
470+
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
471471
DateTimeUTC: /Date(1573621524786)/
472472
Employees:
473473
- EmployeeID: cdfb8371-0b21-4b8a-8903-1024df6c391e
@@ -583,7 +583,7 @@ paths:
583583
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
584584
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
585585
LeavePeriods:
586-
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
586+
- PayPeriodStartDate: /Date(1571961600000+0000)/
587587
PayPeriodEndDate: /Date(1572480000000+0000)/
588588
LeavePeriodStatus: SCHEDULED
589589
NumberOfUnits: 0
@@ -601,7 +601,7 @@ paths:
601601
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
602602
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
603603
LeavePeriods:
604-
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
604+
- PayPeriodStartDate: /Date(1571961600000+0000)/
605605
PayPeriodEndDate: /Date(1572480000000+0000)/
606606
LeavePeriodStatus: SCHEDULED
607607
NumberOfUnits: 0
@@ -823,7 +823,7 @@ paths:
823823
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
824824
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
825825
LeavePeriods:
826-
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
826+
- PayPeriodStartDate: /Date(1571961600000+0000)/
827827
PayPeriodEndDate: /Date(1572480000000+0000)/
828828
LeavePeriodStatus: SCHEDULED
829829
NumberOfUnits: 8
@@ -841,7 +841,7 @@ paths:
841841
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
842842
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
843843
LeavePeriods:
844-
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
844+
- PayPeriodStartDate: /Date(1571961600000+0000)/
845845
PayPeriodEndDate: /Date(1572480000000+0000)/
846846
LeavePeriodStatus: PROCESSED
847847
NumberOfUnits: 8
@@ -854,7 +854,7 @@ paths:
854854
EndDate: /Date(1572645600000+0000)/
855855
UpdatedDateUTC: /Date(1573447343000+0000)/
856856
PayOutType: DEFAULT
857-
- LeaveApplicationID: 3f9.1.1a-df13-49c7-b82f-a069813df188
857+
- LeaveApplicationID: 3f93110a-df13-49c7-b82f-a069813df188
858858
EmployeeID: cdfb8371-0b21-4b8a-8903-1024df6c391e
859859
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
860860
LeavePeriods:
@@ -1024,7 +1024,7 @@ paths:
10241024
example:
10251025
Id: 00000000-0000-0000-0000-000000000000
10261026
Status: OK
1027-
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
1027+
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
10281028
DateTimeUTC: /Date(1573679792293)/
10291029
LeaveApplications:
10301030
- LeaveApplicationID: 1d4cd583-0107-4386-936b-672eb3d1f624
@@ -3127,7 +3127,7 @@ paths:
31273127
example:
31283128
Id: 00000000-0000-0000-0000-000000000000
31293129
Status: OK
3130-
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
3130+
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
31313131
DateTimeUTC: /Date(1573516185258)/
31323132
Timesheets:
31333133
- TimesheetID: a7eb0a79-8511-4ee7-b473-3a25f28abcb9

xero_accounting.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ paths:
981981
CurrencyCode: NZD
982982
BatchPaymentID: b649632e-2782-4c74-95a5-d994d7140ed9
983983
DateString: 2022-08-01T00:00:00
984-
Date: /Date(1659.1.100000+0000)/
984+
Date: /Date(1659312000000+0000)/
985985
Payments: []
986986
Type: PAYBATCH
987987
Status: DELETED
@@ -1108,7 +1108,7 @@ paths:
11081108
CurrencyCode: NZD
11091109
BatchPaymentID: b649632e-2782-4c74-95a5-d994d7140ed9
11101110
DateString: 2022-08-01T00:00:00
1111-
Date: /Date(1659.1.100000+0000)/
1111+
Date: /Date(1659312000000+0000)/
11121112
Payments: []
11131113
Type: PAYBATCH
11141114
Status: DELETED
@@ -1523,7 +1523,7 @@ paths:
15231523
ProviderName: Xero API Partner
15241524
DateTimeUTC: /Date(1551213568047)/
15251525
BankTransactions:
1526-
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
1526+
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
15271527
BankAccount:
15281528
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
15291529
Code: "088"
@@ -1780,7 +1780,7 @@ paths:
17801780
ProviderName: Xero API Partner
17811781
DateTimeUTC: /Date(1551213568047)/
17821782
BankTransactions:
1783-
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
1783+
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
17841784
BankAccount:
17851785
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
17861786
Code: "088"
@@ -2155,7 +2155,7 @@ paths:
21552155
ProviderName: Xero API Partner
21562156
DateTimeUTC: /Date(1551213568875)/
21572157
BankTransactions:
2158-
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
2158+
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
21592159
BankAccount:
21602160
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
21612161
Code: "088"
@@ -7562,7 +7562,7 @@ paths:
75627562
SubTotal: 40.00
75637563
TotalTax: 0.00
75647564
Total: 40.00
7565-
UpdatedDateUTC: /Date(154117629.1.1+0000)/
7565+
UpdatedDateUTC: /Date(1541176290160+0000)/
75667566
CurrencyCode: NZD
75677567
- Type: ACCREC
75687568
InvoiceID: 046d8a6d-1ae1-4b4d-9340-5601bdf41b87
@@ -9754,7 +9754,7 @@ paths:
97549754
TargetLineItemID: d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c
97559755
Status: ONDRAFT
97569756
Type: BILLABLEEXPENSE
9757-
UpdatedDateUTC: /Date(15523479.1.10+0000)/
9757+
UpdatedDateUTC: /Date(1552347991000+0000)/
97589758
SourceTransactionTypeCode: ACCPAY
97599759
put:
97609760
security:
@@ -9858,7 +9858,7 @@ paths:
98589858
TargetLineItemID: d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c
98599859
Status: ONDRAFT
98609860
Type: BILLABLEEXPENSE
9861-
UpdatedDateUTC: /Date(15523479.1.10+0000)/
9861+
UpdatedDateUTC: /Date(1552347991000+0000)/
98629862
SourceTransactionTypeCode: ACCPAY
98639863
post:
98649864
security:
@@ -14372,7 +14372,7 @@ paths:
1437214372
Option: Eastside
1437314373
Date: /Date(1571875200000)/
1437414374
DateString: 2019-10-24T00:00:00
14375-
ExpiryDate: /Date(15719.1.10000)/
14375+
ExpiryDate: /Date(1571961600000)/
1437614376
ExpiryDateString: 2019-10-25T00:00:00
1437714377
Status: ACCEPTED
1437814378
CurrencyRate: 0.937053
@@ -18094,7 +18094,7 @@ paths:
1809418094
tags:
1809518095
- Accounting
1809618096
operationId: getReportsList
18097-
summary: Retrieves a list of the organisations unique reports that require a uuid to fetch
18097+
summary: Retrieves a list of the organistaions unique reports that require a uuid to fetch
1809818098
responses:
1809918099
"200":
1810018100
description: Success - return response of type ReportWithRows

0 commit comments

Comments
 (0)