Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
idbimDownloadModel


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: divisions  divisions/<division_id>/download 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/divisions/<division_id>/download

Examplehttps://api-stage.bimplus.net/v2/bimplus/divisions/743a24f9-baaa-41b9-90b3-91717238043c/download

 

Query parameters

NameMandatory/OptionalDescription
api-tokenoptionalIf the client cannot use the token in the header of the request, token can be specified in query parameters
e.g. <team_slug>/divisions/<division_id>/download?api-token=9c1874a62c974dcfa75e0132c423a088
revisionoptionalSpecify revision number, If set, the call will return the import file of the revision, otherwise it's the current import file.



Card
labelHTTP Method
 GET


Card
labelDescription
 Download the already uploaded model. There also exists a GET method for downloading the model where you can pass the "token" as a query parameter.


Card
labelRequest


Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json



Card
labelResponse

Returns file data. The response is of Content-Type: application/octet-stream.

Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK



...