Skip to content

Commit a66a08d

Browse files
author
Ripal Parikh
committed
[XBAP-26648] - Add reference query parameter and response field to Overpayment endpoint
[XBAP-26648] - Resolved failing SKD generation error [XBAP-26648] - Changed the parameter sequence
1 parent e98ef67 commit a66a08d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

xero_accounting.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11129,6 +11129,20 @@ paths:
1112911129
type: integer
1113011130
- $ref: "#/components/parameters/unitdp"
1113111131
- $ref: "#/components/parameters/pageSize"
11132+
- in: query
11133+
name: References
11134+
x-snake: references
11135+
description: Filter by a comma-separated list of References
11136+
style: form
11137+
explode: false
11138+
example: ""Ref1", "Ref2""
11139+
x-example-java: Arrays.asList("Ref1","Ref2")
11140+
x-example-php: ""Ref1", "Ref2""
11141+
x-example-csharp: new List<string>{"Ref1","Ref2"}
11142+
schema:
11143+
type: array
11144+
items:
11145+
type: string
1113211146
responses:
1113311147
"200":
1113411148
description: Success - return response of type Overpayments array with all Overpayments
@@ -11150,6 +11164,7 @@ paths:
1115011164
- OverpaymentID: 098b4dcb-5622-4699-87f8-9d40c4ccceb3
1115111165
ID: 098b4dcb-5622-4699-87f8-9d40c4ccceb3
1115211166
Type: SPEND-OVERPAYMENT
11167+
Reference: Reference for payment1
1115311168
RemainingCredit: 500.00
1115411169
Allocations: []
1115511170
Payments: []
@@ -11175,6 +11190,7 @@ paths:
1117511190
- OverpaymentID: 2a8bda49-8908-473b-8bcf-1f90990460eb
1117611191
ID: 2a8bda49-8908-473b-8bcf-1f90990460eb
1117711192
Type: RECEIVE-OVERPAYMENT
11193+
Reference: Reference for payment2
1117811194
RemainingCredit: 20.00
1117911195
Allocations: []
1118011196
Payments: []
@@ -11200,6 +11216,7 @@ paths:
1120011216
- OverpaymentID: ed7f6041-c915-4667-bd1d-54c48e92161e
1120111217
ID: ed7f6041-c915-4667-bd1d-54c48e92161e
1120211218
Type: SPEND-OVERPAYMENT
11219+
Reference: Reference for payment3
1120311220
RemainingCredit: 3000.00
1120411221
Allocations: []
1120511222
Payments: []
@@ -11225,6 +11242,7 @@ paths:
1122511242
- OverpaymentID: 0859adbc-ea00-40cd-a877-258cf8644975
1122611243
ID: 0859adbc-ea00-40cd-a877-258cf8644975
1122711244
Type: RECEIVE-OVERPAYMENT
11245+
Reference: Reference for payment4
1122811246
RemainingCredit: 20.00
1122911247
Allocations: []
1123011248
Payments: []
@@ -11250,6 +11268,7 @@ paths:
1125011268
- OverpaymentID: 687b877f-634a-415d-92b2-74e62977de30
1125111269
ID: 687b877f-634a-415d-92b2-74e62977de30
1125211270
Type: RECEIVE-OVERPAYMENT
11271+
Reference: Reference for payment5
1125311272
RemainingCredit: 20.00
1125411273
Allocations: []
1125511274
Payments: []
@@ -11303,6 +11322,7 @@ paths:
1130311322
ID: ed7f6041-c915-4667-bd1d-54c48e92161e
1130411323
CurrencyRate: 1.000000
1130511324
Type: SPEND-OVERPAYMENT
11325+
Reference: Reference for payment
1130611326
RemainingCredit: 2999.00
1130711327
Allocations:
1130811328
- Amount: 1.00
@@ -23691,6 +23711,10 @@ components:
2369123711
type: boolean
2369223712
default: "false"
2369323713
example: "false"
23714+
Reference:
23715+
description: An optional description for Overpayment
23716+
type: string
23717+
example: "Ref for payment"
2369423718
Attachments:
2369523719
description: See Attachments
2369623720
type: array

0 commit comments

Comments
 (0)