Skip to main content

Search issued standards

POST 

/api/v2/bulk/standards/holders/search

Asynchronous

This request is queued, not processed while you wait. The response carries a correlation id — poll the bulk task until it reports a terminal state. See How asynchronous processing works.

Queued, not immediate — the response carries a correlation id to poll on GET /api/v2/bulk/tasks/{correlationId}. The finished task lists one entry per result page: gzipped JSON files of at most pageSize companies (default 100000), each a complete document on its own, with standard and validator descriptions declared once at the top and referenced by id. Each standard description lists the industry bodies that recognise the standard under recognitions, as { id, name }, and omits the key when there are none; only recognitions published to subscribers appear. Match on the id, which never changes; the name is for display and can be renamed, and the order carries no meaning. Each company row carries its company id and the custom properties named in customPropertyIds, described once at the top the way the standards are; omitting that list returns no fields at all. Company details beyond those fields come from the companies search, joined on the id. Only companies with at least one qualifying holding appear; under the same searchBy this export is a subset of the companies search. Narrow the search by certification id, by a group your profile owns, or ask for every standard your API key can reach; at least one of those is required. Only validated certification holdings are returned; expired and in-progress ones are left out unless includeExpired / includeInProgress ask for them. includeHistory adds a history list to each returned holding, oldest first, as { startDateUtc, endDateUtc, revokedAtUtc }; it never changes which holdings are returned, so expired ones still need includeExpired. Each entry is a period as it was recorded on BeCause, and a correction to the current period replaces it. An earlier period listed beside the current one is kept even if it is later edited or removed, so an edit to it adds a second entry. Entries may also overlap because some certifiers keep the same start on every renewal. startDateUtc is omitted when none was recorded, and revokedAtUtc is omitted unless the certification was revoked. History before a certifier joined BeCause only holds hotels that were still certified when it joined. Count each hotel once per month. Without includeHistory the key is omitted. filterBy narrows the result by countries (ISO 3166-1 alpha-3 codes), establishmentTypes and customProperties. Different filters must all match; within one filter, any listed value matches. Inside customProperties, a company must match one of the listed values for every listed property. A company's country is the one the companies search shows with includeAddresses: the address country, else the supportingAddresses country. A company without one never matches. searchBy.customProperties and searchBy.establishmentTypes still work but are deprecated.

Request​

Responses​

Queued. The correlation id means the search has started, not that a result file exists yet.