Skip to content

Get all business units

Request

Fetches the list of all business units available in the system. A valid authorization token is required to access this endpoint.

Security
Bearer
curl -i -X GET \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/BusinessUnit \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully retrieved the list of business units

Bodyapplication/json
Array [
idinteger, (int32)

Unique identifier for the business unit.

Example:1
namestring or null

The name of the business unit.

Example:"Sales Division"
businessUnitNumberstring or null

Unique business unit number.

Example:"BU12345"
companyIdinteger, (int32)

The ID of the company the business unit belongs to.

Example:101
companyNamestring or null

The name of the company.

Example:"Tech Innovations Ltd."
leaderstring or null

The leader or head of the business unit.

Example:"John Doe"
]
Response
[ { "id": 1, "name": "Sales Division", "businessUnitNumber": "BU12345", "companyId": 101, "companyName": "Tech Innovations Ltd.", "leader": "John Doe" } ]