Map properties to companies
POST/api/v1/bulk/company-mappings
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; poll GET /api/v2/bulk/tasks/{correlationId} until the task reports a terminal state — the finished task carries the mapping result as a single unpaged file entry whose URL is the download. Send each property with your own id plus whatever public detail you hold — name, street, coordinates, country or airport code, GIATA code, Booking.com id — and BeCause searches for the company and stores your id against the one it matches, which is what lets later calls address that company by your id alone. Requires the custom identifier id your ids are stored under (a property with isIdentifier: true from GET /api/v1/custom-properties). The request body may be up to 100 MB as sent and up to 200 MB once decompressed. To send a portfolio larger than 100 MB of JSON in one request, gzip the body and send it with the header Content-Encoding: gzip: around 300,000 properties make about 150 MB of JSON and gzip to about 20 MB.
Request
Responses
- 200
- 400
- 403
- 413
Queued. The correlation id means the mapping run has started, not that any property has been matched yet.
Returned when the request body is missing, when it is sent with Content-Encoding: gzip but is not
gzip, when the custom identifier id names a custom property that is not an identifier, or when
certificationRecognitionIds holds an id that isn't a published recognition (error code
integration/company-mapping/unknown-recognition).
Returned when the custom identifier id names a custom property your API key's profile can't access.
Returned when the body is over 100 MB as sent, or over 200 MB once decompressed. The 100 MB limit is
enforced at the network edge, so that response is not JSON and carries no error code.