List Factory Risk Profiles
GET/api/v1/analytics/factory-risk-profile
List Factory Risk Profiles
Request​
Query Parameters
Possible values: >= 1
and <= 100
Default value: 10
Limit result of list
Possible values: [process_computed_date
]
The type of the filtered date. Case-sensitive.
Start date of the query range in yyyy-mm-dd format
Default value: 0
End date of the query range in yyyy-mm-dd format
Responses​
- 200
- 400
- 401
- 422
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
nullable
factoryInformation
object
nullable
Details of the factory
localInformation
object[]
nullable
List of all connected Local Factories
Local Custom ID of the Factory
The Global organization Id of the Factory
The last activity date of the latest score for eitherFRP score update or risk label/configuration change
Date of the latest Risk Score of the factory
Label of the latest Risk Score of the factory
Latest Risk Score of the factory within the specified time period
Setting of the latest Risk Score of the factory
Possible values: >= 1
and <= 100
{
"data": [
{
"factoryInformation": {
"localInformation": [
{
"localOrganizationId": "F323333"
}
],
"organizationId": 291524
},
"latestProcessComputedDate": "2020-07-01",
"latestRiskDate": "2020-07-01",
"latestRiskLabel": "low",
"latestRiskScore": 20.18,
"latestRiskSetting": "Auto by AI"
}
],
"limit": 0,
"offset": 0,
"total": 0
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"type": [
"Input type is not valid"
]
},
"message": "Validation error"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}