Skip to content

docs: explain that a misspelt v7.0.0 customers parameter is an attribute filter - #2967

Open
hongwei1 wants to merge 2 commits into
OpenBankProject:developfrom
hongwei1:docs/v700-customers-misspelt-filter
Open

hongwei1 wants to merge 2 commits into
OpenBankProject:developfrom
hongwei1:docs/v700-customers-misspelt-filter

Conversation

@hongwei1

Copy link
Copy Markdown
Contributor

The ResourceDoc of GET /obp/v7.0.0/banks/BANK_ID/customers now states that every query parameter other than the paging and date names is an attribute filter, so a misspelt name is not refused: ?limt=10 asks for Customers with an attribute limt whose value is 10, which usually returns an empty list rather than an error, and the doc tells callers to check the spelling of limit, offset and sort_direction when a call returns no Customers. A new scenario in CustomersAtOneBankV700Test pins this behaviour, with and without another filter.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant