API reference
All operations
COMPANY

Fetches a paged list of companies with search, filter and sort options.

At least one of `searchTerm`, `filter` or `advancedSearch` is required. Deleted companies are not returned.

GET/api/v2/companies/list

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

pageNumberqueryinteger · int32

The page number, starting at 1. Defaults to 1.

pageSizequeryinteger · int32

Companies per page, 1–200. Defaults to 100; values outside the range also fall back to 100.

orderByquerystring

Not currently used; use `sortOrders` instead.

searchTermquerystring

Matches companies whose name or account number contains this text. Characters other than letters and digits are ignored.

fieldsquerystring

Optional JSON array of field filters. Only applied when `searchTerm` is not sent.

filterquerystring

`MyFavorites` for the current user's favorite companies or `MyAssigned` for companies the current user is assigned to.

sortOrdersquerystring

Sort order of the results. The words `Ascending` and `Descending` are accepted in place of `ASC` and `DESC`.

colsquerystring

Comma-separated list of columns to include in each row.

advancedSearchquerystring

URL-encoded JSON array of `{"Field": ..., "Value": ...}` objects (property names are case-sensitive). Supported fields: `State`, `City`, `County`, `Zip`, `Status`. Each value is a "contains" match; all conditions must match. Unsupported fields are ignored.

Responses

Request successful with company data.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<Dictionary<string, object>[]>
  • totalCountinteger · int32
  • dataobject[]nullable
    • pageCountinteger · int32
    • currentPageCountinteger · int32
    • nextPageNumberinteger · int32nullable
    • hasNextPageboolean