From 72da415b18bca4fc2f3db7c1a2f4289eb6c2bdfd Mon Sep 17 00:00:00 2001 From: ronnel-santiago-xero Date: Fri, 1 Nov 2024 11:23:08 +1100 Subject: [PATCH] feat(xero_accounting.yaml): adds IDs query param to /banktransactions, /overpayments and /prepayments endpoint --- xero_accounting.yaml | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/xero_accounting.yaml b/xero_accounting.yaml index e4bf0f7d..af7f1e48 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -1228,6 +1228,21 @@ paths: type: integer - $ref: '#/components/parameters/unitdp' - $ref: '#/components/parameters/pageSize' + - in: query + name: IDs + x-snake: ids + description: Filter by a comma-separated list of BankTransactionIDs. + style: form + explode: false + example: '"00000000-0000-0000-0000-000000000000"' + x-example-java: Arrays.asList(UUID.fromString("00000000-0000-0000-0000-000000000000")) + x-example-php: '"00000000-0000-0000-0000-000000000000"' + x-example-csharp: new List<Guid>{Guid.Parse("00000000-0000-0000-0000-000000000000")}; + schema: + type: array + items: + type: string + format: uuid responses: "200": description: Success - return response of type BankTransactions array with 0 to n BankTransaction @@ -11090,6 +11105,21 @@ paths: type: integer - $ref: '#/components/parameters/unitdp' - $ref: '#/components/parameters/pageSize' + - in: query + name: IDs + x-snake: ids + description: Filter by a comma-separated list of OverpaymentIDs. + style: form + explode: false + example: '"00000000-0000-0000-0000-000000000000"' + x-example-java: Arrays.asList(UUID.fromString("00000000-0000-0000-0000-000000000000")) + x-example-php: '"00000000-0000-0000-0000-000000000000"' + x-example-csharp: new List<Guid>{Guid.Parse("00000000-0000-0000-0000-000000000000")}; + schema: + type: array + items: + type: string + format: uuid responses: "200": description: Success - return response of type Overpayments array with all Overpayments @@ -12518,6 +12548,21 @@ paths: type: integer - $ref: '#/components/parameters/unitdp' - $ref: '#/components/parameters/pageSize' + - in: query + name: IDs + x-snake: ids + description: Filter by a comma-separated list of PrepaymentIDs. + style: form + explode: false + example: '"00000000-0000-0000-0000-000000000000"' + x-example-java: Arrays.asList(UUID.fromString("00000000-0000-0000-0000-000000000000")) + x-example-php: '"00000000-0000-0000-0000-000000000000"' + x-example-csharp: new List<Guid>{Guid.Parse("00000000-0000-0000-0000-000000000000")}; + schema: + type: array + items: + type: string + format: uuid responses: "200": description: Success - return response of type Prepayments array for all Prepayment