GET api/NSNItem/{id}/PriceHistory
Get the price history data 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
Collection of NSN_Price_History| Name | Description | Type | Additional information |
|---|---|---|---|
| Year | integer |
None. |
|
| UnitPrice_BQ | decimal number |
Data type: Currency |
|
| UnitPrice_VQ | decimal number |
Data type: Currency |
|
| UnitPrice_ProH | decimal number |
Data type: Currency |
|
| UnitPrice_eMall | decimal number |
Data type: Currency |
|
| UnitPrice_FEDLOG | decimal number |
Data type: Currency |
Response Formats
application/json, text/json
Sample:
[
{
"year": 1,
"unitPrice_BQ": 2.1,
"unitPrice_VQ": 3.1,
"unitPrice_ProH": 4.1,
"unitPrice_eMall": 5.1,
"unitPrice_FEDLOG": 6.1
},
{
"year": 1,
"unitPrice_BQ": 2.1,
"unitPrice_VQ": 3.1,
"unitPrice_ProH": 4.1,
"unitPrice_eMall": 5.1,
"unitPrice_FEDLOG": 6.1
}
]
application/xml, text/xml
Sample:
<ArrayOfNSN_Price_History xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models">
<NSN_Price_History>
<UnitPrice_BQ>2.1</UnitPrice_BQ>
<UnitPrice_FEDLOG>6.1</UnitPrice_FEDLOG>
<UnitPrice_ProH>4.1</UnitPrice_ProH>
<UnitPrice_VQ>3.1</UnitPrice_VQ>
<UnitPrice_eMall>5.1</UnitPrice_eMall>
<Year>1</Year>
</NSN_Price_History>
<NSN_Price_History>
<UnitPrice_BQ>2.1</UnitPrice_BQ>
<UnitPrice_FEDLOG>6.1</UnitPrice_FEDLOG>
<UnitPrice_ProH>4.1</UnitPrice_ProH>
<UnitPrice_VQ>3.1</UnitPrice_VQ>
<UnitPrice_eMall>5.1</UnitPrice_eMall>
<Year>1</Year>
</NSN_Price_History>
</ArrayOfNSN_Price_History>