Versions Compared

Key

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

...

Anchor
revisionService
revisionService

Revision Service

...

A Project is basically a holder which contains building modelsUse this service for creating revisions of models or attachments.

Anchor
createRevision
createRevision

...

Deck of Cards
idbimCreateRevision
Card
labelURL / Resource / JSON Structure
Resource: revisions

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/divisions/00b54edd-c84c-4bd2-a08c-c93d1f28907a/revisions

JSON Structure

Name

Mandatory / Optional

Type

Description

name

mandatory

string

Name of the projectrevision

description

optional

string

Short description of the projectrevision

projectId

will be ignored

string (dateguid)

Creation date of the projectrevision

divisionIdwill be ignored string (guid)Id of the model 
revisionNrwill be ignored int Revision number
createdwill be ignored string (date)Creation date 
createdBywill be ignored user objectThe user who created it 
applicationIdwill be ignored string (guid)The id of the application 
inputTypeoptional stringType of upload (eg: "IFC_IMPORT") 
Card
labelHTTP Method
 POST
Card
defaulttrue
labelDescription
 Creates a new projectrevision.
Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
titleJSON
langxml
{
"name" : "Your Awesome Building",
name"shortDescr" : "Example for creating a projectBallo.ifc"
}
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 201 Created
Code Block
borderColorRed
titleJSON
langxml
{
    "id": "d2d39bca-051e-48fa-ba23-4845087a071c",
    "name": "Your Awesome Building"Ballo.ifc",
    "description": "",
    "shortDescrprojectId": "Example for creating a project",
"thumbnail": null,
"e31c3480-5633-4506-b717-8dd97c0f0ab3",
    "divisionId": "00b54edd-c84c-4bd2-a08c-c93d1f28907a",
    "revisionNr": 6,
    "created": "20132015-0611-01T1003T11:0513:0027.2",
"changed": null,
"disciplines": null,
"id    "createdby": {
        "id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
        "email": "jayaraj.purushothaman@gmail.com"
    },
    "applicationId": "0d2ce2cc0106c8ba-3588ad46-45d67c08-a59a-f6b89ebed34ee26f-026852cb7525",
    "inputType": "IFC_IMPORT"
}

Anchor
getCurrentProjectList
getCurrentProjectList