You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page is under construction

Revision Service


  • Create a new revision or update/overwrite a model
  • Get the list of revisions of a model
  • Get the info about a revision
  • Update a revision
  • List of APIs for retrieving info from a particular resource (3D objects, attachments etc)

 

Revision Service


Use this service for creating revisions of models or attachments.

Create a new project
    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 revision

    description

    optional

    string

    Short description of the revision

    projectId

    will be ignored

    string (guid)

    Creation date of the revision

    divisionId will be ignored string (guid) Id of the model
    revisionNr will be ignored int Revision number
    created will be ignored string (date) Creation date
    createdBy will be ignored user object The user who created it
    applicationId will be ignored string (guid) The id of the application
    inputType optional string Type of upload (eg: "IFC_IMPORT")
     POST
     Creates a new revision.
    Headers
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    JSON
    {
        "name": "Ballo.ifc"
    }
    
    Status
    Status: 201 Created
    
    JSON
    {
        "id": "d2d39bca-051e-48fa-ba23-4845087a071c",
        "name": "Ballo.ifc",
        "description": "",
        "projectId": "e31c3480-5633-4506-b717-8dd97c0f0ab3",
        "divisionId": "00b54edd-c84c-4bd2-a08c-c93d1f28907a",
        "revisionNr": 6,
        "created": "2015-11-03T11:13:27.2",
        "createdby": {
            "id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
            "email": "jayaraj.purushothaman@gmail.com"
        },
        "applicationId": "0106c8ba-ad46-7c08-e26f-026852cb7525",
        "inputType": "IFC_IMPORT"
    }
    

    • No labels