Skip to main content

Get Company Information

Description:

Allows the Ciso to view the details of his company in the "company settings" page.

Note: The Ciso can only view his own company's information.

Route:

GET: api/ciso/company/details

Mechanism:

Fetch and return the company's data.

Output:

The output from the server will be an object with the following information:

{
company:
{
companyName,
companyEmail,
companyLogoImage,
projectCountByStatus:
{
open,
onHold,
completed,
inProgress
},
taskCountByStatus:
{
open,
onHold,
completed,
inProgress
}
},
users:
{
users: [7 first users],
usersCount: number
},
roles:
{
roles: [7 first roles],
rolesCount: number
},
teams:
{
teams: [7 first teams],
teamsCount: number
},
}