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

Compare with Current View Page History

« Previous Version 2 Next »

Clash Service


Clash Service


Clashes could be detected in a project by calling this service. The person who uploaded the model which contains the clash will get a notification along with the clash count after the clash process is completed. This process will be called during model import in the future.

 

Detect the clashes in a project
    Resource: services/postprocess 

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

    Example:https://api-stage.bimplus.net/v2/bimplus/services/postprocess

    JSON Structure

    Name

    Mandatory / Optional

    Type

    Description

    runAsync

    mandatory

    bool

    True sets the clash process to run asynchronously

    postProcess

    mandatory

    object

    It runs as a windows service in the server

    projectId

    mandatory

    string

    Id of the project


     POST
     Detects the clashes in a project. This process will be called during model import automatically in the future. The person who uploaded the model which contains the clash will get a notification along with the clash count after the clash process is completed.
    Headers
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    JSON
    {
        "runAsync": "True",
        "postProcess": {
            "projectId": "0c9b514a-5b30-4f77-b0ff-2184d079fd30"
        }
    }
    Status
    Status: 200 Ok
    
    JSON
    {
        "postProcess": {
            "projectId": "0c9b514a-5b30-4f77-b0ff-2184d079fd30"
        },
        "runAsync": false
    }
    
    
    • No labels