live_help Notes

assignment This action requires one of theses roles: Companies manager
chrome_reader_mode This resource is paginated by 30 items

settings Params

Param name Description
sort optional . Must be one of: id, name, slug, sector, other_sector, size, phone, address, zip, city, country, website_url, owner_id, created_at, updated_at, latitude, longitude, siret, pro_id, owner_type, administrative_email.

The sort field. Sorted by created_at desc, id desc by default.

Example:

To sort on companies on the fields owner_type on a descending order and administrative_email on a ascending order:

...&sort=-owner_type,administrative_email

filter optional . Must be one of: id, name, slug, sector, other_sector, size, phone, address, zip, city, country, website_url, owner_id, created_at, updated_at, latitude, longitude, siret, pro_id, owner_type, administrative_email, offer_id, expertise_id.

Filtering on one or more fields

Example:

To filter on companies with the id field matching a_value or another_value:

...&filter[id]=a_value,another_value

Filterable fields:
  • id (standard field)
  • name (standard field)
  • slug (standard field)
  • sector (standard field)
  • other_sector (standard field)
  • size (standard field)
  • phone (standard field)
  • address (standard field)
  • zip (standard field)
  • city (standard field)
  • country (standard field)
  • website_url (standard field)
  • owner_id (standard field)
  • created_at (standard field)
  • updated_at (standard field)
  • latitude (standard field)
  • longitude (standard field)
  • siret (standard field)
  • pro_id (standard field)
  • owner_type (standard field)
  • administrative_email (standard field)
  • offer_id : Company that posted this offer.
  • expertise_id : Find a company by expertise id.
page optional . Must be a Hash

The pagination params, as a hash

page[number] optional . Must be Fixnum

The current page

page[size] optional . Must be Fixnum

The number of items per page, defaults to 30, maximum 100