Get Companies
Get All Companies
Query Parameters
- includeDeletedCompanies boolean
If true, companies marked for deletion are included in the response
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
companies object[]
- companyCount int32
Total number of companies
{
"companies": [
{
"id": 0,
"name": "string",
"GUID": "string",
"alias": "string",
"isReseller": true,
"primaryContacts": [
{
"id": 0,
"name": "string"
}
],
"associatedEntitiesCount": 0,
"status": "UNKNOWN",
"tags": {
"id": 0,
"name": "string",
"value": "string"
},
"commcell": {
"name": "string",
"displayName": "string"
},
"operators": [
{
"fullName": "string",
"userGroup": {
"id": 0,
"name": "string"
},
"user": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}
],
"companyCount": 0
}
Requested Details not found
GET /v4/company
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'