GET api/NSNItem/{id}/PriceTrends

Get the price trend 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 NSN_Price_Trend
NameDescriptionTypeAdditional information
Year

integer

None.

Market

decimal number

None.

ProH

decimal number

None.

eMall

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "year": 1,
    "market": 2.1,
    "proH": 3.1,
    "eMall": 4.1
  },
  {
    "year": 1,
    "market": 2.1,
    "proH": 3.1,
    "eMall": 4.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfNSN_Price_Trend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models">
  <NSN_Price_Trend>
    <Market>2.1</Market>
    <ProH>3.1</ProH>
    <Year>1</Year>
    <eMall>4.1</eMall>
  </NSN_Price_Trend>
  <NSN_Price_Trend>
    <Market>2.1</Market>
    <ProH>3.1</ProH>
    <Year>1</Year>
    <eMall>4.1</eMall>
  </NSN_Price_Trend>
</ArrayOfNSN_Price_Trend>