Entity Posting API - Performance Add/Update

If the PerformanceId does not exist, a new Performance record will be created. If it does, it will be updated.

NOTE: There are many fields which are required for a Performance but in many integrations, the required data is fed from disperate systems so we allow partial messages to be sent with only available fields and we will merge them to form complete entity. The complete Performance entity should contain the required fields denoted by *

Triggered Updates:

Standard ShowTimeAnalytics Message Parameters:

Fields for Performance 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>
	<Performances>
		<Performance id="XXX" siteId="XXX">
			<EventId>XXX</EventId>
			<DistributorId>XXX</DistributorId>
			<Tags>
				<Tag>XXX</Tag>
			</Tags>
			<Date>XXX</Date>
			<CinemaDate>XXX</CinemaDate>
			<Time>XXX</Time>
			<IsCancelled>XXX</IsCancelled>
			<PrintFormats>
				<PrintFormat>XXX</PrintFormat>
			</PrintFormats>
			<LangFormats>
				<LangFormat>XXX</LangFormat>
			</LangFormats>
			<Attributes>
				<Attribute>XXX</Attribute>
			</Attributes>
			<RunWeek>XXX</RunWeek>
			<IsPreview>XXX</IsPreview>
			<FreeListSuspended>XXX</FreeListSuspended>
			<HallId>XXX</HallId>
			<OnSale>true/false</OnSale>
			<SeatCapacities>
				<SeatCapacity>
					<SeatType>XXX</SeatType>
					<Capacity>XXX</Capacity>
				</SeatCapacity>
			</SeatCapacities>
			<DistributorPercentage precision="XXX">XXX</DistributorPercentage>
			<DistributorRate precision="XXX">XXX</DistributorRate>
		</Performance>
	</Performances>
</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="Performance">
            <Status>XXX</Status>
            <Warnings>
            	<Warning>XXX</Warning>
            </Warnings>
            <Errors>
            	<Error>XXX</Error>
            </Errors>
        </Response>
    </Responses>
</ShowTimeAnalyticsResponse>