Getting the license status of the Predictive Analytics feature

Ops Center Analyzer REST API Reference Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA003-18

You can obtain the status (enable or not) of the Predictive Analytics feature.

Execution permission

Admin, Modify

Request line

GET baseURL/v1/objects/PredictionLicense

Request body

Not applicable.

Response body

The structure of the response body and the object attributes is as follows:

Collections

{
        "data":["...", ...],
        "pagination":{
            "page":"...",
            "pageSize":"...",
            "numPages":"...",
            "totalCount":"..."
        },
        "count":"..."
}

Collections (Type: Collections)

Attribute

Type

Description

data

anyType[]

A list of PredictionLicense objects. For details, see the table below.

pagination

Pagination

Page information. This parameter is displayed only when the relevant resource exists.

count

int

Number of data items that meet the conditions related to this query(API).

pagination (Type: Pagination)

Attribute

Type

Description

page

integer

Page.

pageSize

integer

Size of page.

numPages

integer

Number of pages.

totalCount

integer

Number of objects.

PredictionLicense

{
        "enable":"..."
}

PredictionLicense (Type: PredictionLicense)

Attribute

Type

Description

enable

boolean

License status.

Status codes

Status code

Reason phrase

Description

200

OK

Success.

400

Bad Request

- The format of the request body is invalid.

- A query parameter is invalid.

401

Unauthorized

No login privilege.

412

Precondition Failed

The server is not available.

500

Internal Server Error

Server processing error.