AlphaAlpha Docs
API ReferenceTypes -restriction

Get a restriction tree

Get a restriction tree

GET
/types/restriction/{typeId}
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?restrictionTreeId=string"
{
  "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"
            }
          ]
        }
      }
    ]
  }
}
{
  "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"
}