GET api/NSNItem/{id}/RiskIndex
Get the ISO Group Risk Index for a given NSN.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
NSN. ex) 1234-01-111-2222 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
RiskIndex| Name | Description | Type | Additional information |
|---|---|---|---|
| NIIN | string |
Matching regular expression pattern: ^\d{2}(\-)?\d{3}(\-)?\d{4}$ String length: inclusive between 0 and 9 |
|
| Risk | decimal number |
None. |
|
| RiskDOD | decimal number |
None. |
|
| Risk_XREF | decimal number |
None. |
|
| RiskDOD_XREF | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"niin": "sample string 1",
"risk": 1.0,
"riskDOD": 1.0,
"risk_XREF": 1.0,
"riskDOD_XREF": 1.0
}
application/xml, text/xml
Sample:
<RiskIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models"> <NIIN>sample string 1</NIIN> <Risk>1</Risk> <RiskDOD>1</RiskDOD> <RiskDOD_XREF>1</RiskDOD_XREF> <Risk_XREF>1</Risk_XREF> </RiskIndex>