Entity Posting API - Order

If the OrderID does not exist, a new Order record will be created. If it does, it will be updated.

Triggered Updates:

Standard ShowTimeAnalytics Message Parameters:

Fields for Order 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>
	<Orders>
		<Order id="XXX" siteId="XXX">
			<Currency>XXX</Currency>
			<TransactionTimestamp>XXX</TransactionTimestamp>
			<CinemaDate>XXX</CinemaDate>
			<SaleLocationId>XXX</SaleLocationId>
			<SaleDeviceId>XXX</SaleDeviceId>
			<StaffId>XXX</StaffId>
			<CustomerId>XXX</CustomerId>
			<CustomerEmail>XXX</CustomerEmail>
			<CustomerName>XXX</CustomerName>
			<CustomerLastName>XXX</CustomerLastName>
			<CustomerAccountId>XXX</CustomerAccountId>
			<CustomerAccountType>XXX</CustomerAccountType>
			<ThirdPartyOrderReference>XXX</ThirdPartyOrderReference>
			<MarketingAcceptEmail>XXX</MarketingAcceptEmail>
			<TicketSales>
				<TicketSale id="XXX">
					<TicketTypeId>XXX</TicketTypeId>
					<Quantity>XXX</Quantity>
					<PerformanceId>XXX</PerformanceId>
					<SalePrice precision="XXX">XXX</SalePrice>
					<SalePriceDrp precision="XXX">XXX</SalePriceDrp>
					<VoucherId>XXX</VoucherId>
					<IsPass>true/false</IsPass>
					<IsFree>true/false</IsFree>
					<IsNoShow>true/false</IsNoShow>
					<Deleted>true/false</Deleted>
					<SeatRow>XXX</SeatRow>
					<SeatNum>XXX</SeatNum>
					<SeatType>XXX</SeatType>
					<Taxes>
						<Tax id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
						</Tax>
					</Taxes>
					<Fees>
						<Fee id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
							<Taxes>
							    <Tax id="XXX">
							        <Amount precision="XXX">XXX</Amount>
							        <Quantity precision="XXX">XXX</Quantity>
							        <Type>XXX</Type>
							    </Tax>
							</Taxes>
						</Fee>
					</Fees>
					<Discounts>
						<Discount id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
						</Discount>
					</Discounts>
				</TicketSale>
			</TicketSales>
			<ShopSales>
				<ShopSale id="XXX">
					<StockId>XXX</StockId>
					<Quantity precision="XXX">XXX</Quantity>
					<Cost precision="XXX">XXX</Cost>
					<SalePrice precision="XXX">XXX</SalePrice>
					<VoucherId>XXX</VoucherId>
					<Deleted>true/false</Deleted>
					<Taxes>
						<Tax id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
						</Tax>
					</Taxes>
					<Fees>
						<Fee id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
							<Taxes>
							    <Tax id="XXX">
							        <Amount precision="XXX">XXX</Amount>
							        <Quantity precision="XXX">XXX</Quantity>
							        <Type>XXX</Type>
							    </Tax>
							</Taxes>
						</Fee>
					</Fees>
					<Discounts>
						<Discount id="XXX">
							<Amount precision="XXX">XXX</Amount>
							<Quantity precision="XXX">XXX</Quantity>
							<Type>XXX</Type>
						</Discount>
					</Discounts>
					<Components>
						<Component id="XXX">
							<StockId>XXX</StockId>
							<Quantity precision="XXX">XXX</Quantity>
							<Cost precision="XXX">XXX</Cost>
							<SalePrice precision="XXX">XXX</SalePrice>
						</Component>
					</Components>
				</ShopSale>
			</ShopSales>
			<AdditionalFees>
				<Fee id="XXX">
					<Amount precision="XXX">XXX</Amount>
					<Quantity precision="XXX">XXX</Quantity>
					<Type>XXX</Type>
					<Taxes>
					    <Tax id="XXX">
					        <Amount precision="XXX">XXX</Amount>
					        <Quantity precision="XXX">XXX</Quantity>
					        <Type>XXX</Type>
					    </Tax>
					</Taxes>
				</Fee>
			</AdditionalFees>
			<AdditionalTaxes>
				<Tax id="XXX">
					<Amount precision="XXX">XXX</Amount>
					<Quantity precision="XXX">XXX</Quantity>
					<Type>XXX</Type>
				</Tax>
			</AdditionalTaxes>
			<Vouchers>
				<Voucher id="XXX">
					<Code>XXX</Code>
					<Type>XXX</Type>
					<Total precision="XXX">XXX</Total>
					<DateIssued>XXX</DateIssued>
					<ExpiryDate>XXX</ExpiryDate>
				</Voucher>
			</Vouchers>
			<Payments>
				<Payment id="XXX">
					<Type>XXX</Type>
					<Total precision="XXX">XXX</Total>
					<TenderedCurrency>XXX</TenderedCurrency>
					<TenderedAmount precision="XXX">XXX</TenderedAmount>
				</Payment>
			</Payments>
		</Order>
	</Orders>
</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="Order">
            <Status>XXX</Status>
            <Warnings>
            	<Warning>XXX</Warning>
            </Warnings>
            <Errors>
            	<Error>XXX</Error>
            </Errors>
        </Response>
    </Responses>
</ShowTimeAnalyticsResponse>