Retrieves a paginated Company report filtered by any combination of the supplied criteria.
All filter fields are optional; only the fields present in the request are applied. Filters include company name, account number, state, county, zip, and status ("Account" or "Prospect") (each matched individually), plus branches, sales reps, categories, and ranks (each matched as an array). Status is case-insensitive. Requires a client_credentials token.
/api/v2/reporting/companiesAuthentication
Choose one supported method for this request.
Request body
Filter and pagination criteria for the report. PageNumber defaults to 1 (values below 1 are treated as 1). PageSize defaults to 20 (values below 1 are treated as 20) and is capped at 100 regardless of the value supplied.
companyNamestringnullableaccountNostringnullablebranchesstring[]nullablesalesRepsstring[]nullablecategoriesstring[]nullableranksstring[]nullablestatestringnullablecountystringnullablezipstringnullablestatusstringnullablepageNumberinteger · int32pageSizeinteger · int32
Responses
Report page retrieved successfully.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32companyIdinteger · int32companyNamestringlegalNamestringstatusstringaddress1stringaddress2stringcitystringstatestringzipstringphonestringfaxstringaccountNostringcountystringcountrystringrecordTypestringbranchstringsourcestringassignedRepsstringcategorystringequipmentCountinteger · int32rankstringlastTouchstring · date-timenullablelastTouchUserstringerpCompanyCodestring
pageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean