Get Office365 Plans for Dashboard
Select
SaaS
Customer Managed
Returns all Office365 active plans with number of entities associated to the plan per workload
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
- Success
Schema
error object
o365Plans object[]
- totalO365Plans int32
Total number of Office365 plans returned
{
"error": {
"errorMessage": "string",
"errorCode": 0
},
"o365Plans": [
{
"plan": {
"id": 0,
"name": "string"
},
"planTier": "STANDARD",
"planSubType": "ExchangeUser",
"contentIndexingEnabled": true,
"mailboxes": 0,
"users": 0,
"sites": 0,
"teams": 0,
"totalEntities": 0,
"company": {
"id": 0,
"name": "string",
"GUID": "string",
"alias": "string",
"isReseller": true,
"primaryContacts": [
{
"id": 0,
"name": "string"
}
],
"associatedEntitiesCount": 0,
"status": "UNKNOWN",
"commcell": {
"name": "string",
"displayName": "string"
},
"operators": [
{
"fullName": "string",
"userGroup": {
"id": 0,
"name": "string"
},
"user": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}
}
],
"totalO365Plans": 0
}
{
"o365Plans": [
{
"plan": {
"id": 18,
"name": "Office365 Standard Plan"
},
"planTier": "STANDARD",
"contentIndexingEnabled": false,
"mailboxes": 24,
"users": 15,
"sites": 32,
"teams": 9,
"totalEntities": 80
}
],
"totalO365Plans": 1
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Bad request
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Invalid parameters",
"errorCode": 1
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Internal server error
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Internal error",
"errorCode": 1
}
GET /v4/office365/plans
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Plans' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'