Fetch plan rules list.
Select
SaaS
Customer Managed
Api to fetch plan rules list.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
rules object[]
{
"rules": [
{
"rule": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"GUID": "string",
"name": "string"
},
"workloads": [
{
"id": 0,
"name": "string"
}
],
"regions": [
{
"id": 0,
"GUID": "string",
"name": "string"
}
],
"tags": [
{
"GUID": "string",
"id": 0,
"name": "string",
"value": "string"
}
],
"serverGroups": [
{
"id": 0,
"GUID": "string",
"name": "string"
}
],
"rank": 0,
"solutions": [
{
"id": 0,
"name": "string"
}
],
"company": {
"id": 0,
"name": "string"
},
"globalConfigInfo": {
"id": "string",
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"isMarkedForDeletion": true,
"status": "string"
}
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/plan/rule
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'