Decommission Message Examples

Decommission request example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:tracelink:soap">
    <soapenv:Header/>
    <soapenv:Body>
        <urn:Decommission>
            <DecommissionRequest>
                <DisaggregateFromParent>true</DisaggregateFromParent>
                <SerialNumberList>
                    <SerialNumber sn="00008820200000047506" namespace="?"/>
                </SerialNumberList>
                <Sampled>false</Sampled>
                <Damaged>false</Damaged>
                <Recalled>false</Recalled>
                <Expired>false</Expired>
                <MarketReleased>false</MarketReleased>
                <Misplaced>false</Misplaced>
                <Dispensed>false</Dispensed>
                <Disposed>false</Disposed>
                <Repackaged>false</Repackaged>
                <SampledByAuthorities>false</SampledByAuthorities>
                <Stolen>false</Stolen>
                <Withdrawn>false</Withdrawn>
                <SampledArchival>false</SampledArchival>
                <SampledCustomsControl>false</SampledCustomsControl>
                <SampledFederalInspection>false</SampledFederalInspection>
                <SampledClinicalStudy>false</SampledClinicalStudy>
                <SampledPharmaStudy>false</SampledPharmaStudy>
                <SampledMarketingDemo>false</SampledMarketingDemo>
                <SampledSelectiveControl>false</SampledSelectiveControl>
                <Spoilage>false</Spoilage>
                <WithdrawnExperiment>false</WithdrawnExperiment>
                <Defective>false</Defective>
                <InappropriatelyStored>false</InappropriatelyStored>
                <Returned>false</Returned>
                <Other>false</Other>
                <ReasonCode>STATUSUPDATE</ReasonCode>
                <EventDateTime>2015-06-01T17:10:16Z</EventDateTime>
                <Transactions>
                    <Transaction>
                        <ItemID>100250</ItemID>
                        <ItemType>DESTRUCTION</ItemType>
                        <Date>2015-06-01</Date>
                    </Transaction>
                </Transactions>
                <ReasonDescription>Depoda Hasarlı mallar</ReasonDescription>
                <ReportingPartyIdentifier identifiertype="COMPANYID" identifiervalue="8888882028677"/>
                <MarketCountryCode>TR</MarketCountryCode>
		 <LocationType>SGLN</LocationType>
                <Location>8888882.02867.0</Location>
            </DecommissionRequest>
        </urn:Decommission>
    </soapenv:Body>
</soapenv:Envelope>

Decommission response example:

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