Entity Posting API - Stock Disposal Recorded

If the StockDisposalID does not exist, a new Stock Disposal record will be created. If it does, it will be updated.

Triggered Updates:

Standard ShowTimeAnalytics Message Parameters:

Fields for Customer Entity:

PLEASE NOTE: All field and attribute names are case sensitive

Message Structure - XML:

POST https://{{CIRCUIT_URL}}/data/pos/

POST - XML

<?xml version="1.0" encoding="UTF-8"?>
<ShowTimeAnalytics dataSupplierId="XXX" messageSequence="XXX">
	<CallbackUrl>https://XXX</CallbackUrl>
	<StockDisposals>
		<StockDisposal id="XXX" siteId="XXX">
			<StockId>XXX</StockId>
			<Type>XXX</Type>
			<Tags>
				<Tag>XXX</Tag>
			</Tags>
			<SaleLocationId>XXX</SaleLocationId>
			<DisposalDate>XXX</DisposalDate>
			<Reason>XXX</Reason>
			<NumberItems>XXX</NumberItems>
			<Currency>XXX</Currency>
			<ItemCost precision="XXX">XXX</ItemCost>
		</StockDisposal>
	</StockDisposals>
</ShowTimeAnalytics>

Callback Post Fields:

Message Structure - XML:

<?xml version="1.0" encoding="UTF-8"?>
<ShowTimeAnalyticsResponse dataSupplierId="XXX" messageSequence="XXX">
    <Responses>
        <Response id="XXX" siteId="XXX" entity="StockDisposal">
            <Status>XXX</Status>
            <Warnings>
            	<Warning>XXX</Warning>
            </Warnings>
            <Errors>
            	<Error>XXX</Error>
            </Errors>
        </Response>
    </Responses>
</ShowTimeAnalyticsResponse>