Skip to navigation

Update an import

Preview

Updates an import. Specify only the fields you want to change.

The scanCompletedAt field records when the source scan was completed. An import can only be completed after this field has been set.

Required permission: Collaborator or higher in the project.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Path parameters

importIdstringRequired
Unique identifier of the import.

Request

This endpoint expects an object.
scanCompletedAtdatetimeOptional
Time at which the scan finished.

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns the updated import.
idstring
Unique identifier for the import.
projectIdstring
ID of the project.
sourceenum
Where the files come from.
Allowed values:
sourcePathstring or null

Location of the files in the source, such as a folder path, or null if none was sent.

scanCompletedAtdatetime or null

Time at which the scan of the source finished, or null until it is set.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error