This operation is deprecated. Please upgrade to the current version of this API as soon as possible.
POST https://api.bentley.com/clashdetection/schemas/imodels/{id}
Extracts the schemas for the latest named version of an iModel.
A status of 202 is returned if the schema extraction was successfully started. The job completes asynchronously so the user can periodically call GET /clashdetection/schemas/imodels until a status of 'available' is returned with the response.
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
json
HeaderNotFound
{"error":{"code":"HeaderNotFound","message":"Header Authorization was not found in the request. Access denied."}}
The 422 (Unprocessable Entity) status code indicates that the request cannot be processed by the server due to a client error (e.g. malformed request syntax)
json
{"error":{"code":"InvalidClashDetectionRequest","message":"Invalid clash detection request.","details":[{"code":"InvalidRequestBody","message":"Required property 'projectId' is missing in the request body.","target":"projectId"},{"code":"InvalidRequestBody","message":"Requested project ID is not valid."},{"code":"InvalidRequestBody","message":"The request is invalid."},{"code":"InvalidRequestBody","message":"Request body was not provided."},{"code":"InvalidRequestBody","message":"The request body is not a valid JSON object."}]}}
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.