TicketUserServices

<back to all web services

GetEventDetails

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/eventDetails/Reference/{ReferenceId}
GET POST/eventDetails/{Id}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class GetEventDetails
{
    var id:Int? = null
    var referenceId:String? = null
}

open class EventDetails
{
    var id:Int? = null
    var name:String? = null
    var description:String? = null
    var externalReference:String? = null
    var timeOfEvent:Date? = null
    var eventLocationId:Int? = null
    var eventSeriesId:Int? = null
    var eventOwnerId:Int? = null
    var eventActive:Boolean? = null
    var eventOwnerName:String? = null
    var externalOwnerId:String? = null
    var teamAwayId:String? = null
    var teamAwayName:String? = null
    var eventSeriesName:String? = null
    var eventLocationName:String? = null
    var latitude:BigDecimal? = null
    var longitude:BigDecimal? = null
    var defaultValues:String? = null
    var externalReferenceType:String? = null
    var eventSeriesActive:Boolean? = null
    var allowedKsiCard:String? = null
    var seriesId:String? = null
    var seriesShowByDefault:Boolean? = null
    var postponedNoDate:Boolean? = null
    var awayTeamExternalId:String? = null
    var sportGenderId:String? = null
    var externalIdType:String? = null
    var seriesEventSaleSuspended:Boolean? = null
    var seriesSaleSuspensionEventStartDate:Date? = null
    var seriesSaleSuspensionEventEndDate:Date? = null
    var saleIsActive:Boolean? = null
    var hideEvent:Boolean? = null
    var imageUrl2:String? = null
    var directAccessCode:String? = null
    var imageUrl:String? = null
    var detailedDescription:String? = null
    var ownerImageUrl:String? = null
    var ownerImageUrl2:String? = null
    var ownerCardsNotAllowed:Boolean? = null
    var seatingImageUrl:String? = null
    var endOfEvent:Date? = null
    var endOfEventUTC:Date? = null
    var timeZone:String? = null
    var timeOfEventUTC:Date? = null
}

Kotlin GetEventDetails DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /eventDetails/Reference/{ReferenceId} HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetEventDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Id>0</Id>
  <ReferenceId>String</ReferenceId>
</GetEventDetails>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
  <AllowedKsiCard>String</AllowedKsiCard>
  <AwayTeamExternalId>String</AwayTeamExternalId>
  <DefaultValues>String</DefaultValues>
  <Description>String</Description>
  <DetailedDescription>String</DetailedDescription>
  <DirectAccessCode>String</DirectAccessCode>
  <EndOfEvent>0001-01-01T00:00:00</EndOfEvent>
  <EndOfEventUTC>0001-01-01T00:00:00</EndOfEventUTC>
  <EventActive>false</EventActive>
  <EventLocationId>0</EventLocationId>
  <EventLocationName>String</EventLocationName>
  <EventOwnerId>0</EventOwnerId>
  <EventOwnerName>String</EventOwnerName>
  <EventSeriesActive>false</EventSeriesActive>
  <EventSeriesId>0</EventSeriesId>
  <EventSeriesName>String</EventSeriesName>
  <ExternalIdType>String</ExternalIdType>
  <ExternalOwnerId>String</ExternalOwnerId>
  <ExternalReference>String</ExternalReference>
  <ExternalReferenceType>String</ExternalReferenceType>
  <HideEvent>false</HideEvent>
  <ID>0</ID>
  <ImageUrl>String</ImageUrl>
  <ImageUrl2>String</ImageUrl2>
  <Latitude>0</Latitude>
  <Longitude>0</Longitude>
  <Name>String</Name>
  <OwnerCardsNotAllowed>false</OwnerCardsNotAllowed>
  <OwnerImageUrl>String</OwnerImageUrl>
  <OwnerImageUrl2>String</OwnerImageUrl2>
  <PostponedNoDate>false</PostponedNoDate>
  <SaleIsActive>false</SaleIsActive>
  <SeatingImageUrl>String</SeatingImageUrl>
  <SeriesEventSaleSuspended>false</SeriesEventSaleSuspended>
  <SeriesId>String</SeriesId>
  <SeriesSaleSuspensionEventEndDate>0001-01-01T00:00:00</SeriesSaleSuspensionEventEndDate>
  <SeriesSaleSuspensionEventStartDate>0001-01-01T00:00:00</SeriesSaleSuspensionEventStartDate>
  <SeriesShowByDefault>false</SeriesShowByDefault>
  <SportGenderId>String</SportGenderId>
  <TeamAwayId>String</TeamAwayId>
  <TeamAwayName>String</TeamAwayName>
  <TimeOfEvent>0001-01-01T00:00:00</TimeOfEvent>
  <TimeOfEventUTC>0001-01-01T00:00:00</TimeOfEventUTC>
  <TimeZone>String</TimeZone>
</EventDetails>