GET api/NSNItem/{id}/AvailabilityIndex
Get the ISO Group Availability 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
AvailabilityIndexName | Description | Type | Additional information |
---|---|---|---|
NIIN | string |
Matching regular expression pattern: ^\d{2}(\-)?\d{3}(\-)?\d{4}$ String length: inclusive between 0 and 9 |
|
Availability | decimal number |
None. |
|
Availability_XREF | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "niin": "sample string 1", "availability": 1.0, "availability_XREF": 1.0 }
application/xml, text/xml
Sample:
<AvailabilityIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models"> <Availability>1</Availability> <Availability_XREF>1</Availability_XREF> <NIIN>sample string 1</NIIN> </AvailabilityIndex>