Exemplo JSON da resposta: { "first": false, "items": [ { "id": 2, "description": "CATEGORIA 2", "lastChange": "2022-01-28T18:36:21", "sections": [ { "id": 21, "description": "SECAO DPTO 2", "lastChange": "2022-01-28T18:37:15", "dtCreate": "2022-01-28T18:37:15", "fatherDepartamentId": 2, "active": true, "categories": [ { "id": 211, "description": "CATEGORIA ", "lastChange": "2022-01-28T18:37:58", "dtCreate": "2022-01-28T18:37:58", "fatherSectionId": 21, "active": false, "subCategories": [] } ] } ] }, { "id": 1, "description": "DEPARTAMENTO 1", "lastChange": "2022-01-26T13:38:57", "sections": [ { "id": 11, "description": "SEÇÃO 1", "lastChange": "2022-01-26T13:39:25", "dtCreate": "2022-01-26T13:39:25", "fatherDepartamentId": 1, "active": true, "categories": [ { "id": 111, "description": "CATEGORIA 1", "lastChange": "2022-01-26T13:39:52", "dtCreate": "2022-01-26T13:39:52", "fatherSectionId": 11, "active": true, "subCategories": [ { "id": 111111, "description": "SUB 1", "lastChange": "2022-01-26T13:40:37", "dtCreate": "2022-01-26T13:40:37", "fatherCategoryId": 111, "active": true }, { "id": 111112, "description": "SUB 3", "lastChange": "2022-01-26T13:42:50", "dtCreate": "2022-01-26T13:42:50", "fatherCategoryId": 111, "active": true }, { "id": 111113, "description": "SUB 4", "lastChange": "2022-01-26T13:43:10", "dtCreate": "2022-01-26T13:43:10", "fatherCategoryId": 111, "active": true } ] }, { "id": 112, "description": "CATEGORIA 3", "lastChange": "2022-01-26T13:42:18", "dtCreate": "2022-01-26T13:42:18", "fatherSectionId": 11, "active": true, "subCategories": [] } ] }, { "id": 12, "description": "SECAO 2", "lastChange": "2022-01-26T13:40:55", "dtCreate": "2022-01-26T13:40:55", "fatherDepartamentId": 1, "active": true, "categories": [ { "id": 121, "description": "CATEGORIA 2", "lastChange": "2022-01-26T13:41:19", "dtCreate": "2022-01-26T13:41:19", "fatherSectionId": 12, "active": true, "subCategories": [ { "id": 121211, "description": "SUB 2", "lastChange": "2022-01-26T13:41:41", "dtCreate": "2022-01-26T13:41:41", "fatherCategoryId": 121, "active": true } ] } ] } ] } ], "hasNext": false } |