FactoryRiskProfileResponse
data object
Factory risk profile data
factoryInformation objectnullable
The detailed information about the Factory
The Local Custom Id of the Factory
client_1
The list of all connected Local Custom Ids of the Factory
["F323333","F242146"]
The Global organization Id of the Factory
291524
inspectionData objectnullable
Inspection data of the factory risk profile
inspectionHistories object[]nullable
The previous inspections
Case number of the inspection which the risk score is calculated based on
178292020-04-16MAgarmentCo.,LtdDUPRO
Date of the inspection which the risk score is calculated based on
2021-04-29
Result of the inspection which the risk score is calculated based on
fail
inspectionLasted objectnullable
The last inspection
Case number of the inspection which the risk score is calculated based on
178292020-04-16MAgarmentCo.,LtdDUPRO
Date of the inspection which the risk score is calculated based on
2021-04-29
Result of the inspection which the risk score is calculated based on
fail
riskLevelData objectnullable
Risk level data of the factory risk profile
The highest score of the High Risk range
100
The lowest score of the High Risk range
95
The highest score of the Low Risk range
11
The lowest score of the Low Risk range
0
The highest score of the Medium Risk range
94
The lowest score of the Medium Risk range
12
scoreData objectnullable
Score data of the factory risk profile
currentScore objectnullable
Current risk score of the factory
labelData object[]nullable
Risk label of the factory
Type of label
Manual
Value of label
Low
The selected Top Reason Code when changing Factory Risk Configuration Mode to Manual
Others - mandatory to fill in comments
The selected Top Reason Type when changing Factory Risk Configuration Mode to Manual
Others
The last activity date of the score for either FRP score update or risk label/configuration change
2022-06-28
Factory risk score
10.5
lastScore objectnullable
Last risk score of the factory
labelData object[]nullable
Risk label of the factory
Type of label
Manual
Value of label
Low
The selected Top Reason Code when changing Factory Risk Configuration Mode to Manual
Others - mandatory to fill in comments
The selected Top Reason Type when changing Factory Risk Configuration Mode to Manual
Others
The last activity date of the score for either FRP score update or risk label/configuration change
2022-06-28
Factory risk score
10.5
{
"data": {
"factoryInformation": {
"localOrganizationId": "client_1",
"localOrganizationIds": [
"F323333",
"F242146"
],
"organizationId": 291524
},
"inspectionData": {
"inspectionHistories": [
{
"caseNumber": "178292020-04-16MAgarmentCo.,LtdDUPRO",
"date": "2021-04-29",
"result": "fail"
}
],
"inspectionLasted": {
"caseNumber": "178292020-04-16MAgarmentCo.,LtdDUPRO",
"date": "2021-04-29",
"result": "fail"
}
},
"riskLevelData": {
"highMax": 100,
"highMin": 95,
"lowMax": 11,
"lowMin": 0,
"mediumMax": 94,
"mediumMin": 12
},
"scoreData": {
"currentScore": {
"labelData": [
{
"label": "Manual",
"labelValue": "Low",
"reasonCode": "Others - mandatory to fill in comments",
"reasonType": "Others"
}
],
"processComputedDate": "2022-06-28",
"score": 10.5
},
"lastScore": {
"labelData": [
{
"label": "Manual",
"labelValue": "Low",
"reasonCode": "Others - mandatory to fill in comments",
"reasonType": "Others"
}
],
"processComputedDate": "2022-06-28",
"score": 10.5
}
}
}
}