Entity Posting API - Site Add/Update

If the SiteID does not exist, a new Site record will be created. If it does, it will be updated.

Triggered Updates:

Standard ShowTimeAnalytics Message Parameters:

Fields for Site 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>
	<Sites>
		<Site id="XXX">
			<Name>XXX</Name>
			<Type>XXX</Type>
			<Tags>
				<Tag>XXX</Tag>
			</Tags>
			<DefaultLanguage>XXX</DefaultLanguage>
			<DefaultCurrency>XXX</DefaultCurrency>
			<Address id="XXX">
				<Line1>XXX</Line1>
				<Line2>XXX</Line2>
				<Line3>XXX</Line3>
				<Town>XXX</Town>
				<Region>XXX</Region>
				<Country>XXX</Country>
				<PostCode>XXX</PostCode>
				<Latitude>XXX</Latitude>
				<Longitude>XXX</Longitude>
			</Address>
			<Halls>
				<Hall id="XXX">
					<Name>XXX</Name>
					<Type>XXX</Type>
					<Tags>
						<Tag>XXX</Tag>
					</Tags>
					<HearingLoopEnabled>XXX</HearingLoopEnabled>
					<Capacity>XXX</Capacity>
				</Hall>
			</Halls>
			<Website>XXX</Website>
			<FacebookRefreshToken>XXX</FacebookRefreshToken>
			<TwitterRefreshToken>XXX</TwitterRefreshToken>
			<GoogleAnalyticsRefreshToken>XXX</GoogleAnalyticsRefreshToken>
			<YoutubeRefreshToken>XXX</YoutubeRefreshToken>
		</Site>
	</Sites>
</ShowTimeAnalytics>

Callback Post Fields:

Message Structure - XML:

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