Set Serial Number Status Message Examples

Set Serial Number Status request example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:tracelink:soap">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:SetSerialNumberStatus>
         <SerialNumberStatusRequest>
            <SerialNumberList sn="00008820200000047506" namespace="?"/>
            <SerialNumberState>COMMISSIONED</SerialNumberState>
            <ItemState>AVAILABLE</ItemState>
            <QualityReleased>false</QualityReleased>
            <Sampled>false</Sampled>
            <Damaged>false</Damaged>
            <Recalled>false</Recalled>
            <Expired>false</Expired>
            <Misplaced>false</Misplaced>     
            <Dispensed>false</Dispensed>
            <Disposed>false</Disposed>
            <Repackaged>false</Repackaged>
            <SampledByAuthorities>false</SampledByAuthorities>
            <Stolen>false</Stolen>
            <Withdrawn>false</Withdrawn>
            <ReasonCode>INCORRECTSTATUS</ReasonCode>
            <EventDateTime>2015-06-01T17:10:16</EventDateTime>
            <Location>8888882.02867.0</Location>
            <ReasonDescription>Item was previously unavailable</ReasonDescription>
            <ReportingParty>DEA|123456</ReportingParty>
         </SerialNumberStatusRequest>
      </urn:SetSerialNumberStatus>
   </soapenv:Body>
</soapenv:Envelope>

Set Serial Number Status response example:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:SetSerialNumberStatusResponse xmlns:ns2="urn:tracelink:soap" xmlns:ns3="http://tracelink.com/som">
         <TLResponse>
            <Success>true</Success>
         </TLResponse>
      </ns2:SetSerialNumberStatusResponse>
   </S:Body>
</S:Envelope>