GET api/NSNItem/{id}/WeaponSystem

Get the weapon system data for a given NSN.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

NSN. ex) 1234-01-111-2222

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of WeaponSystem
NameDescriptionTypeAdditional information
Type

string

None.

Agency

string

None.

Code

string

None.

Description

string

None.

SystemCode

string

None.

SystemServiceCode

string

None.

Service

string

None.

TypeCode

string

None.

Demand

Collection of WeaponSystemDemand

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "type": "sample string 1",
    "agency": "sample string 2",
    "code": "sample string 3",
    "description": "sample string 4",
    "systemCode": "sample string 5",
    "systemServiceCode": "sample string 6",
    "service": "sample string 7",
    "typeCode": "sample string 8",
    "demand": [
      {
        "year": 1,
        "qty": 1,
        "value": 1.0,
        "type": "sample string 1"
      },
      {
        "year": 1,
        "qty": 1,
        "value": 1.0,
        "type": "sample string 1"
      }
    ]
  },
  {
    "type": "sample string 1",
    "agency": "sample string 2",
    "code": "sample string 3",
    "description": "sample string 4",
    "systemCode": "sample string 5",
    "systemServiceCode": "sample string 6",
    "service": "sample string 7",
    "typeCode": "sample string 8",
    "demand": [
      {
        "year": 1,
        "qty": 1,
        "value": 1.0,
        "type": "sample string 1"
      },
      {
        "year": 1,
        "qty": 1,
        "value": 1.0,
        "type": "sample string 1"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfWeaponSystem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models">
  <WeaponSystem>
    <Agency>sample string 2</Agency>
    <Code>sample string 3</Code>
    <Demand>
      <WeaponSystemDemand>
        <QTY>1</QTY>
        <Type>sample string 1</Type>
        <Value>1</Value>
        <Year>1</Year>
      </WeaponSystemDemand>
      <WeaponSystemDemand>
        <QTY>1</QTY>
        <Type>sample string 1</Type>
        <Value>1</Value>
        <Year>1</Year>
      </WeaponSystemDemand>
    </Demand>
    <Description>sample string 4</Description>
    <Service>sample string 7</Service>
    <SystemCode>sample string 5</SystemCode>
    <SystemServiceCode>sample string 6</SystemServiceCode>
    <Type>sample string 1</Type>
    <TypeCode>sample string 8</TypeCode>
  </WeaponSystem>
  <WeaponSystem>
    <Agency>sample string 2</Agency>
    <Code>sample string 3</Code>
    <Demand>
      <WeaponSystemDemand>
        <QTY>1</QTY>
        <Type>sample string 1</Type>
        <Value>1</Value>
        <Year>1</Year>
      </WeaponSystemDemand>
      <WeaponSystemDemand>
        <QTY>1</QTY>
        <Type>sample string 1</Type>
        <Value>1</Value>
        <Year>1</Year>
      </WeaponSystemDemand>
    </Demand>
    <Description>sample string 4</Description>
    <Service>sample string 7</Service>
    <SystemCode>sample string 5</SystemCode>
    <SystemServiceCode>sample string 6</SystemServiceCode>
    <Type>sample string 1</Type>
    <TypeCode>sample string 8</TypeCode>
  </WeaponSystem>
</ArrayOfWeaponSystem>