Entity Posting API - Discount Type Add/Update

If the DiscountID does not exist, a new Discount Type record will be created. If it does, it will be updated.

Triggered Updates:

Standard ShowTimeAnalytics Message Parameters:

Fields for Discount Type Entity:

Discount Types can be modelled at an overall circuit (HQ) level where all sites in the circuit have the exact same discount types with the exact same IDs or at an individual site level where each site manages their own list of discount types locally.

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>
	<DiscountTypes>
		<DiscountType id="XXX" siteId="XXX">
			<Name>XXX</Name>
			<Type>XXX</Type>
			<Tags>
				<Tag>XXX</Tag>
			</Tags>
			<Description>XXX</Description>
		</DiscountType>
	</DiscountTypes>
</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="DiscountType">
            <Status>XXX</Status>
            <Warnings>
            	<Warning>XXX</Warning>
            </Warnings>
            <Errors>
            	<Error>XXX</Error>
            </Errors>
        </Response>
    </Responses>
</ShowTimeAnalyticsResponse>