Project

General

Profile

Actions

Feature #23798

open

Feature #22947: CBT Admin API Development

API for Get Hierarchies By Department

Added by Shamini K N 5 months ago. Updated 5 months ago.

Status:
Fixed not Tested
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/30/2025
Due date:
06/30/2025 (about 5 months late)
% Done:

100%

Estimated time:
0:30 h
Spent time:
remarks:
DB Changes:

Stored Procedure
------------------
Cbt_GetHierarchiesByDepartmentId

Keys & Permissions:
Areas Affected:
Files Changed:

backend\app\Http\Controllers\Api\HierarchyController.php
backend\routes\api.php

Actions #1

Updated by Shamini K N 5 months ago

  • Status changed from Assigned to In Progress
Actions #2

Updated by Shamini K N 5 months ago

  • Status changed from In Progress to Fixed not Tested
  • % Done changed from 0 to 100
  • DB Changes updated (diff)
  • Files Changed updated (diff)

Get Hierarchies By Department API implemented

API Details
----------------

api/hierarchy/get-by-department/1

{
"success": true,
"message": "Hierarchies retrieved successfully.",
"hierarchies": [ {
"id": "5",
"hierarchy_level": null,
"hierarchy": "Project Manager",
"company": "Caxita Tech Solutions Private Limited",
"branch_unit": null,
"branch": "Indian Branch",
"region": "Kerala",
"regional_unit": "Cochin",
"department": null,
"description": null,
"is_manager": "1",
"is_active": "1",
"created_at": "2025-06-27 11:05:20.000",
"updated_at": null
}
]
}

Actions

Also available in: Atom PDF