GET api/NSNItem/{id}/GraphForecastSummary

Get the summary US Gov forecast data for a given NSN. This data can be used for creating graphs.

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_Graph_Forecast_Summary
NameDescriptionTypeAdditional information
Year

integer

None.

Quantity

integer

None.

YearJS

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "year": 1,
    "quantity": 2,
    "yearJS": 3.1
  },
  {
    "year": 1,
    "quantity": 2,
    "yearJS": 3.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfNSN_Graph_Forecast_Summary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models">
  <NSN_Graph_Forecast_Summary>
    <Quantity>2</Quantity>
    <Year>1</Year>
    <YearJS>3.1</YearJS>
  </NSN_Graph_Forecast_Summary>
  <NSN_Graph_Forecast_Summary>
    <Quantity>2</Quantity>
    <Year>1</Year>
    <YearJS>3.1</YearJS>
  </NSN_Graph_Forecast_Summary>
</ArrayOfNSN_Graph_Forecast_Summary>