AlphaAlpha Docs
API ReferenceTypes -restriction

Analyze restriction tree impact

Analyzes which model branches are affected/blocked by all branches in a restriction tree.

GET
/types/restriction/{typeId}/impact
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string

Query Parameters

restrictionTreeId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/types/restriction/string/impact?restrictionTreeId=string"
[
  {
    "affectedMassModels": [
      {
        "affectedBranches": [
          {
            "blockedOptions": [
              {
                "allowedCodes": [
                  "string"
                ],
                "currentCode": "string",
                "optionName": "string"
              }
            ],
            "branchChoices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "branchId": "string",
            "modelName": "string"
          }
        ],
        "modelTreeId": "string"
      }
    ],
    "affectedStaticModels": [
      {
        "affectedBranches": [
          {
            "blockedOptions": [
              {
                "allowedCodes": [
                  "string"
                ],
                "currentCode": "string",
                "optionName": "string"
              }
            ],
            "branchChoices": [
              {
                "code": "string",
                "option": "string"
              }
            ],
            "branchId": "string",
            "modelName": "string"
          }
        ],
        "modelTreeId": "string"
      }
    ],
    "restrictionBranchId": "string",
    "totalAffectedBranches": 0,
    "triggerChoices": [
      {
        "code": "string",
        "option": "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"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}