AlphaAlpha Docs

Types / Static Model

Static Model API

Create a model tree

POST
/types/static-model/{typeId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "modelNamePrefix": "string",    "nameOverrides": {      "property1": "string",      "property2": "string"    },    "type": "CONCEPT"  }'
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Determine models

POST
/types/static-model/{typeId}/determine-models
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/determine-models" \  -H "Content-Type: application/json" \  -d '[    {      "code": "string",      "option": "string"    }  ]'
[
  {
    "exhaustiveOptions": [
      "string"
    ],
    "id": "string",
    "isEmpty": true,
    "isExhaustive": true,
    "name": "string",
    "parameters": [
      {
        "name": "string",
        "type": "string",
        "value": null
      }
    ],
    "position": {
      "x": {
        "formula": "string",
        "isConstant": true
      },
      "y": {
        "formula": "string",
        "isConstant": true
      },
      "z": {
        "formula": "string",
        "isConstant": true
      }
    },
    "rotation": {
      "x": {
        "formula": "string",
        "isConstant": true
      },
      "y": {
        "formula": "string",
        "isConstant": true
      },
      "z": {
        "formula": "string",
        "isConstant": true
      }
    }
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Search model trees

GET
/types/static-model/{typeId}/search
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string

Query Parameters

search*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/static-model/string/search?search=string"
[
  {
    "id": "string",
    "modelNamePrefix": "string",
    "stats": {
      "glbInDb": 0,
      "lastSynced": "2019-08-24T14:15:22Z",
      "modelsComplete": 0,
      "modelsInDb": 0,
      "rvtInDb": 0,
      "totalFileSize": 0,
      "totalModels": 0
    },
    "type": "CONCEPT"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Update a model tree

PUT
/types/static-model/{typeId}/{oldStaticModelTreeId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
oldStaticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/static-model/string/string" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "modelNamePrefix": "string",    "nameOverrides": {      "property1": "string",      "property2": "string"    },    "type": "CONCEPT"  }'
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get a model tree

GET
/types/static-model/{typeId}/{staticModelTreeId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/static-model/string/string"
{
  "id": "string",
  "modelNamePrefix": "string",
  "models": {
    "branches": [
      {
        "choices": [
          {
            "code": "string",
            "option": "string"
          }
        ],
        "id": "string",
        "result": {
          "exhaustiveOptions": [
            "string"
          ],
          "id": "string",
          "isEmpty": true,
          "isExhaustive": true,
          "name": "string",
          "parameters": [
            {
              "name": "string",
              "type": "string",
              "value": null
            }
          ],
          "position": {
            "x": {
              "formula": "string",
              "isConstant": true
            },
            "y": {
              "formula": "string",
              "isConstant": true
            },
            "z": {
              "formula": "string",
              "isConstant": true
            }
          },
          "rotation": {
            "x": {
              "formula": "string",
              "isConstant": true
            },
            "y": {
              "formula": "string",
              "isConstant": true
            },
            "z": {
              "formula": "string",
              "isConstant": true
            }
          }
        }
      }
    ],
    "decisionTree": {
      "id": "string",
      "result": null
    }
  },
  "nameOverrides": {
    "property1": "string",
    "property2": "string"
  },
  "stats": {
    "glbInDb": 0,
    "lastSynced": "2019-08-24T14:15:22Z",
    "modelsComplete": 0,
    "modelsInDb": 0,
    "rvtInDb": 0,
    "totalFileSize": 0,
    "totalModels": 0
  },
  "type": "CONCEPT"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Delete a model tree

DELETE
/types/static-model/{typeId}/{staticModelTreeId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/types/static-model/string/string"
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Analyze if a static model tree can be compressed

GET
/types/static-model/{typeId}/{staticModelTreeId}/analyze-compression
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/static-model/string/string/analyze-compression"
{
  "canCompress": true,
  "compressibleOptions": [
    {
      "branchCount": 0,
      "codesCount": 0,
      "optionName": "string"
    }
  ],
  "message": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Create one or more model branches

POST
/types/static-model/{typeId}/{staticModelTreeId}/branch
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/string/branch" \  -H "Content-Type: application/json" \  -d '{    "choices": [      {        "code": "string",        "option": "string"      }    ],    "model": {      "parameters": [        {          "name": "string",          "type": "string",          "value": null        }      ]    }  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Update all model branches

PUT
/types/static-model/{typeId}/{staticModelTreeId}/branch
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/static-model/string/string/branch" \  -H "Content-Type: application/json" \  -d '[    {      "choices": [        {          "code": "string",          "option": "string"        }      ],      "model": {        "parameters": [          {            "name": "string",            "type": "string",            "value": null          }        ]      }    }  ]'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Delete a model branch

DELETE
/types/static-model/{typeId}/{staticModelTreeId}/branch/{branchId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string
branchId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/types/static-model/string/string/branch/string"
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Update a model branch

PUT
/types/static-model/{typeId}/{staticModelTreeId}/branch/{branchId}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string
branchId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/static-model/string/string/branch/string" \  -H "Content-Type: application/json" \  -d '{    "choices": [      {        "code": "string",        "option": "string"      }    ],    "model": {      "parameters": [        {          "name": "string",          "type": "string",          "value": null        }      ]    }  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Compress a static model tree

POST
/types/static-model/{typeId}/{staticModelTreeId}/compress
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/string/compress"
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Generate static model preview ID

POST
/types/static-model/{typeId}/{staticModelTreeId}/generate-preview-id
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/string/generate-preview-id" \  -H "Content-Type: application/json" \  -d '[    {      "code": "string",      "option": "string"    }  ]'
{
  "id": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Get name overrides

GET
/types/static-model/{typeId}/{staticModelTreeId}/name-overrides
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/static-model/string/string/name-overrides"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Add a name override

POST
/types/static-model/{typeId}/{staticModelTreeId}/name-overrides
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/string/name-overrides" \  -H "Content-Type: application/json" \  -d '{    "generatedName": "string",    "overrideName": "string"  }'
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Replace all name overrides

PUT
/types/static-model/{typeId}/{staticModelTreeId}/name-overrides
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[key: string]?string

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/static-model/string/string/name-overrides" \  -H "Content-Type: application/json" \  -d '{    "property1": "string",    "property2": "string"  }'
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Remove a name override

DELETE
/types/static-model/{typeId}/{staticModelTreeId}/name-overrides/{generatedName}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string
generatedName*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/types/static-model/string/string/name-overrides/string"
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Validate static model branches

POST
/types/static-model/{typeId}/{staticModelTreeId}/validate-branches
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/types/static-model/string/string/validate-branches" \  -H "Content-Type: application/json" \  -d '[    {      "choices": [        {          "code": "string",          "option": "string"        }      ],      "model": {        "parameters": [          {            "name": "string",            "type": "string",            "value": null          }        ]      }    }  ]'
{
  "errors": [
    {
      "branchIndex": 0,
      "field": "string",
      "message": "string"
    }
  ],
  "valid": true
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Move a model tree

PATCH
/types/static-model/{typeId}/{staticModelTreeId}/{newIndex}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
staticModelTreeId*string
newIndex*integer
Formatint32

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/types/static-model/string/string/0"
{
  "baseVariables": [
    {
      "configuration": {
        "defaultValue": 0.1,
        "isFixed": true,
        "max": 0.1,
        "min": 0.1,
        "stepSize": 0.1
      },
      "id": "string"
    }
  ],
  "color": "string",
  "compensateNulpunt": true,
  "concept": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "elementNamePrefix": "string",
  "enforcedCategories": [
    "string"
  ],
  "hideBaseOptionInName": true,
  "id": "string",
  "massModel": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "Box"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "models": [
    {
      "id": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "dimensions": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "id": "string",
              "level": 0,
              "material": "string",
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "type": "WALL"
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "name": "string",
  "options": [
    {
      "activeViews": [
        "string"
      ],
      "category": "string",
      "codes": [
        {
          "code": "string",
          "description": "string",
          "option": "string",
          "price": 0.1,
          "visible": true
        }
      ],
      "id": "string",
      "isNeighborOption": true,
      "name": "string",
      "neighborOption": true,
      "phase": "PLAN",
      "visible": true
    }
  ],
  "previewBlob": {
    "blobId": "string",
    "created": "2019-08-24T14:15:22Z",
    "extension": "string",
    "fileSize": 0,
    "name": "string",
    "type": "IMAGE"
  },
  "restrictions": [
    {
      "active": true,
      "category": "string",
      "id": "string",
      "restrictions": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "id": "string",
              "options": [
                {
                  "allowedCodes": [
                    "string"
                  ],
                  "optionName": "string",
                  "reason": "string"
                }
              ]
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "staticModels": [
    {
      "id": "string",
      "modelNamePrefix": "string",
      "models": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "exhaustiveOptions": [
                "string"
              ],
              "id": "string",
              "isEmpty": true,
              "isExhaustive": true,
              "name": "string",
              "parameters": [
                {
                  "name": "string",
                  "type": "string",
                  "value": null
                }
              ],
              "position": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              },
              "rotation": {
                "x": {
                  "formula": "string",
                  "isConstant": true
                },
                "y": {
                  "formula": "string",
                  "isConstant": true
                },
                "z": {
                  "formula": "string",
                  "isConstant": true
                }
              }
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      },
      "nameOverrides": {
        "property1": "string",
        "property2": "string"
      },
      "stats": {
        "glbInDb": 0,
        "lastSynced": "2019-08-24T14:15:22Z",
        "modelsComplete": 0,
        "modelsInDb": 0,
        "rvtInDb": 0,
        "totalFileSize": 0,
        "totalModels": 0
      },
      "type": "CONCEPT"
    }
  ],
  "tenantId": "string",
  "totalStaticModels": 0,
  "totalStaticModelsComplete": 0,
  "totalStaticModelsFileSize": 0,
  "totalStaticModelsGlbInDb": 0,
  "totalStaticModelsInDb": 0,
  "totalStaticModelsRvtInDb": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "id": "string",
      "phase": "PLAN",
      "tree": {
        "branches": [
          {
            "choices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "id": "string",
            "result": {
              "defaultValue": 0.1,
              "isFixed": true,
              "max": 0.1,
              "min": 0.1,
              "stepSize": 0.1
            }
          }
        ],
        "decisionTree": {
          "id": "string",
          "result": null
        }
      }
    }
  ],
  "variantSuffixFormat": "string",
  "views": [
    {
      "active": true,
      "activeCategories": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "maxHeight": 0.1,
      "position": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      },
      "target": {
        "x": {
          "formula": "string",
          "isConstant": true
        },
        "y": {
          "formula": "string",
          "isConstant": true
        },
        "z": {
          "formula": "string",
          "isConstant": true
        }
      }
    }
  ]
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}