Skip to content

Commit

Permalink
[APIB-5555] Adds pagination information for GET /prePayments
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnel-santiago-xero committed Jun 26, 2024
1 parent d916275 commit 28864a7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion xero_accounting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13807,12 +13807,18 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Prepayments'
$ref: '#/components/schemas/GetPrepaymentsResponse'
example: '{
"Id": "d7a9ca0c-6159-4c26-ad2e-715440c50b7d",
"Status": "OK",
"ProviderName": "Provider Name Example",
"DateTimeUTC": "\/Date(1552489227595)\/",
"PageInfo" : {
"Page": 1,
"PageSize": 100,
"TotalPages": 1,
"TotalRows": 1
},
"Prepayments": [
{
"PrepaymentID": "ce0cddef-cf5a-4e59-b638-f225679115a7",
Expand Down Expand Up @@ -27661,6 +27667,24 @@ components:
items:
$ref: '#/components/schemas/Attachment'
type: object
GetPrepaymentsResponse:
type: object
properties:
Id:
type: string
Status:
type: string
ProviderName:
type: string
DateTimeUTC:
type: string
PageInfo:
$ref: '#/components/schemas/PageInfo'
Prepayments:
type: array
minItems: 1
items:
$ref: '#/components/schemas/Prepayments'
PurchaseOrders:
type: object
x-isObjectArray: true
Expand Down

0 comments on commit 28864a7

Please sign in to comment.