Retrieve all Accounts visible to the current Company
Retrieve Accounts visible to the currently authenticated Company.
Datagrid search (search[datagrid]) queries against the following properties:
name
Filter usage:
- to filter a single state:
filter[account_types][]=customer - to filter multiple states:
filter[account_types][]=customer&filter[account_types][]=vendor
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
"en"
Query Parameters
The maximum number of paginated results to return
x <= 100The cursor to start paginating after
The cursor to stop paginating at
Search string for datagrid queries
AccountType filter
Filter on whether the Account has associated MaterialRates
Only show discarded Accounts
The associated Department IDs. Use 'none' to filter for records without a Department.
Connected Company Type enum filters (see CompanyType enum for the list of values)
Filter on whether the resource (e.g. Account, User) has associated AutoAddOns
Filter by Label IDs. Returns records that have ANY of the specified labels (OR logic).
Response
OK