Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search term component to GET invoice endpoint #602

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8255,6 +8255,7 @@ paths:
- $ref: '#/components/parameters/unitdp'
- $ref: '#/components/parameters/summaryOnly'
- $ref: '#/components/parameters/pageSize'
andy-liu-xero marked this conversation as resolved.
Show resolved Hide resolved
- $ref: '#/components/parameters/searchTerm'
responses:
'200':
description: Success - return response of type Invoices array with all Invoices
Expand Down Expand Up @@ -23436,6 +23437,15 @@ components:
schema:
type: boolean
default: false
searchTerm:
in: query
name: searchTerm
x-snake: search_term
description: Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference.
example: "SearchTerm=REF12"
x-example-python: "True"
schema:
type: string
FromDate:
in: query
name: fromDate
Expand Down
Loading