GET api/NSNItem/{id}/Cancelled

Get the cancelled 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_Cancelled
NameDescriptionTypeAdditional information
CancellationCode

string

None.

CancellationStatus

string

None.

ReplacementNsn

string

Matching regular expression pattern: ^\d{4}(\-)?\d{2}(\-)?\d{3}(\-)?\d{4}$

String length: inclusive between 0 and 13

CancelDate

string

None.

RecordUpdated

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "cancellationCode": "sample string 1",
    "cancellationStatus": "sample string 2",
    "replacementNsn": "sample string 3",
    "cancelDate": "sample string 4",
    "recordUpdated": "2024-12-22T18:56:21.1541575-05:00"
  },
  {
    "cancellationCode": "sample string 1",
    "cancellationStatus": "sample string 2",
    "replacementNsn": "sample string 3",
    "cancelDate": "sample string 4",
    "recordUpdated": "2024-12-22T18:56:21.1541575-05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNSN_Cancelled xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models">
  <NSN_Cancelled>
    <CancelDate>sample string 4</CancelDate>
    <CancellationCode>sample string 1</CancellationCode>
    <CancellationStatus>sample string 2</CancellationStatus>
    <RecordUpdated>2024-12-22T18:56:21.1541575-05:00</RecordUpdated>
    <ReplacementNsn>sample string 3</ReplacementNsn>
  </NSN_Cancelled>
  <NSN_Cancelled>
    <CancelDate>sample string 4</CancelDate>
    <CancellationCode>sample string 1</CancellationCode>
    <CancellationStatus>sample string 2</CancellationStatus>
    <RecordUpdated>2024-12-22T18:56:21.1541575-05:00</RecordUpdated>
    <ReplacementNsn>sample string 3</ReplacementNsn>
  </NSN_Cancelled>
</ArrayOfNSN_Cancelled>