AlphaAlpha Docs
API ReferenceCategories

Get Tree_ Category

GET
/categories/tree
AuthorizationBearer <token>

In: header

Query Parameters

subsidiaryId?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/categories/tree"
[
  {
    "category": {
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "description": "string",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "id": "string",
      "name": "string",
      "number": "string",
      "parentId": "string",
      "subsidiaryId": "string",
      "tenantId": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string"
    },
    "children": [
      {
        "category": {
          "created": "2019-08-24T14:15:22Z",
          "createdBy": "string",
          "description": "string",
          "events": [
            {
              "authorId": "string",
              "date": "2019-08-24T14:15:22Z",
              "description": "string",
              "id": "string",
              "type": "CREATE"
            }
          ],
          "id": "string",
          "name": "string",
          "number": "string",
          "parentId": "string",
          "subsidiaryId": "string",
          "tenantId": "string",
          "updated": "2019-08-24T14:15:22Z",
          "updatedBy": "string"
        },
        "children": []
      }
    ]
  }
]
{
  "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"
}