AlphaAlpha Docs
API ReferenceTypes -mass

Update all mass model branches

Replaces all branches in the mass model tree with the provided branches.

PUT
/types/mass-model/{typeId}/{massModelId}/branch
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
massModelId*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/mass-model/string/string/branch" \  -H "Content-Type: application/json" \  -d '[    {      "choices": [        {          "code": "string",          "option": "string"        }      ],      "model": {        "dimensions": {          "x": {            "formula": "string",            "isConstant": true          },          "y": {            "formula": "string",            "isConstant": true          },          "z": {            "formula": "string",            "isConstant": true          }        },        "level": 0,        "position": {          "x": {            "formula": "string",            "isConstant": true          },          "y": {            "formula": "string",            "isConstant": true          },          "z": {            "formula": "string",            "isConstant": true          }        },        "type": "Box"      }    }  ]'
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"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}