You can obtain information about an analytics engine.
Execution permission
Admin, Modify
Request line
GET baseURL/v1/objects/PredictionModule/{id}
Request body
Not applicable.
Response body
The structure of the response body and the object attributes is as follows:PredictionModule
{ "label":"...", "description":"...", "predictionTypes":[{ "label":"...", "description":"...", "selected":"..." }, : ], "params":[{ "label":"...", "description":"...", "type":"...", "required":"...", "defaultValue":, "rangeMin":, "rangeMax":, "selectionItems":[{ "label":"...", "description":"...", "selected":"..." }, : ], "multiSelection":"..." }, : ] }
PredictionModule (Type: PredictionModule)
Attribute |
Type |
Description |
---|---|---|
label |
string |
Label of the analytics engine. |
description |
string |
Description of the analytics engine. |
predictionTypes |
PredictionModuleValue[] |
Predictive modeling type list. |
params |
PredictionModuleParam[] |
Parameter list. |
predictionTypes (Type: PredictionModuleValue)
Attribute |
Type |
Description |
---|---|---|
label |
string |
Label of the value. |
description |
string |
Description of the value. |
selected |
boolean |
Indicates whether or not this value is selected. |
params (Type: PredictionModuleParam)
Attribute |
Type |
Description |
---|---|---|
label |
string |
Name of parameter. |
description |
string |
Description of parameter. |
type |
string |
Class name of parameter value. |
required |
boolean |
Indicates whether or not this parameter is specified. |
defaultValue |
Object |
Default value. |
rangeMin |
Object |
Minimum value of value range. |
rangeMax |
Object |
Maximum value of value range. |
selectionItems |
PredictionModuleValue[] |
Item list of selection. |
multiSelection |
boolean |
Indicates whether or not multiple items can be selected. |
selectionItems (Type: PredictionModuleValue)
Attribute |
Type |
Description |
---|---|---|
label |
string |
Label of the value. |
description |
string |
Description of the value. |
selected |
boolean |
Indicates whether or not this value is selected. |
Status codes
Status code |
Reason phrase |
Description |
---|---|---|
200 |
OK |
Success. |
401 |
Unauthorized |
No login privilege. |
404 |
Not Found |
The resource was not found. |
412 |
Precondition Failed |
The server is not available. |
500 |
Internal Server Error |
Server processing error. |