Search API
Search within FactuurSturen.nl.
Description | Method | URL |
---|---|---|
Execute a search | GET | /api/v1/{area}/{field}/{search_query} |
All attributes used for search
Attribute | Type | Note |
---|---|---|
area | string | Define the search area where we should look. Possible options are: 'invoices' 'invoices_saved' 'invoices_repeated' 'clients' 'products' |
field | string | Define in what specific field you want to search. Use 'all' if you want to search in all fields. |
search_query | string | What you want to search. We search in all the fields known in the search area. |
Execute a search
Search of client "john" in all fields
GET /api/v1/search/clients/all/john
Search for a client with a specific email address in the email area
GET /api/v1/search/clients/email/pete@acme.com
Search of clients in Amsterdam, but only in the city field
GET /api/v1/search/clients/city/amsterdam
Search of a product with code 20554
GET /api/v1/search/products/code/20554
Get all invoices with the amount of 23.95 EUR (use a dot not a comma as decimal separator)
GET /api/v1/search/invoices/totalintax/23.95