Get Company Details
Get details of a company based on id
Path Parameters
- companyId int32 required
Id of the Company whose details have to be fetched
Query Parameters
- showInheritedAssociation boolean
Show inherited security association
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- creationTime int32
The date and time of the creation of the company.
general object
security object[]
contacts object[]
emailSettings object
sites object
plans object[]
- operatorsOperationType int32
tenantOperators object[]
fileExceptions object
{
"id": 0,
"creationTime": 0,
"general": {
"newAlias": "string",
"emailSuffix": "string",
"authcodeForInstallation": true,
"upnInsteadOfEmail": true,
"twoFactorAuth": {
"enable": true,
"all": true,
"userGroups": [
{
"id": 0,
"name": "string"
}
]
},
"resellerMode": true,
"enableDataEncryption": true,
"autoDiscoverApp": true,
"infrastructureType": "RENTED_STORAGE",
"supportedSolutions": [
"FILE_SERVER"
],
"assignLaptopOwners": "LOGGED_IN_ACTIVE_DIRECTORY_USERS",
"serviceCommcells": [
{
"id": 0,
"name": "string"
}
]
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"externalUserGroup": {
"id": 0,
"name": "string",
"providerId": 0,
"providerName": "string"
},
"isCreatorAssociation": true,
"role": {
"id": 0,
"name": "string"
},
"permissionList": [
{
"permissionId": 0,
"permissionName": "string",
"categoryId": 0,
"categoryName": "string",
"type": "ALL_CATEGORIES",
"exclude": true
}
]
}
],
"contacts": [
{
"email": "string",
"name": "string",
"id": "string",
"fullname": "string"
}
],
"emailSettings": {
"senderName": "string",
"senderEmail": "string"
},
"sites": {
"primarySiteName": "string",
"secondarySiteNames": [
"string"
]
},
"plans": [
{
"id": 0,
"name": "string"
}
],
"operatorsOperationType": 0,
"tenantOperators": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
],
"fileExceptions": {
"windows": "string",
"unix": "string",
"useCompanyGlobalFilter": true
}
}
Requested Details not found
GET /v4/company/:companyid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/company/:companyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'