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.*;

public class dtos
{

    public static class GetEventDetails
    {
        public Integer id = null;
        public String referenceId = null;
        
        public Integer getId() { return id; }
        public GetEventDetails setId(Integer value) { this.id = value; return this; }
        public String getReferenceId() { return referenceId; }
        public GetEventDetails setReferenceId(String value) { this.referenceId = value; return this; }
    }

    public static class EventDetails
    {
        public Integer id = null;
        public String name = null;
        public String description = null;
        public String externalReference = null;
        public Date timeOfEvent = null;
        public Integer eventLocationId = null;
        public Integer eventSeriesId = null;
        public Integer eventOwnerId = null;
        public Boolean eventActive = null;
        public String eventOwnerName = null;
        public String externalOwnerId = null;
        public String teamAwayId = null;
        public String teamAwayName = null;
        public String eventSeriesName = null;
        public String eventLocationName = null;
        public BigDecimal latitude = null;
        public BigDecimal longitude = null;
        public String defaultValues = null;
        public String externalReferenceType = null;
        public Boolean eventSeriesActive = null;
        public String allowedKsiCard = null;
        public String seriesId = null;
        public Boolean seriesShowByDefault = null;
        public Boolean postponedNoDate = null;
        public String awayTeamExternalId = null;
        public String sportGenderId = null;
        public String externalIdType = null;
        public Boolean seriesEventSaleSuspended = null;
        public Date seriesSaleSuspensionEventStartDate = null;
        public Date seriesSaleSuspensionEventEndDate = null;
        public Boolean saleIsActive = null;
        public Boolean hideEvent = null;
        public String imageUrl2 = null;
        public String directAccessCode = null;
        public String imageUrl = null;
        public String detailedDescription = null;
        public String ownerImageUrl = null;
        public String ownerImageUrl2 = null;
        public Boolean ownerCardsNotAllowed = null;
        public String seatingImageUrl = null;
        public Date endOfEvent = null;
        public Date endOfEventUTC = null;
        public String timeZone = null;
        public Date timeOfEventUTC = null;
        
        public Integer getId() { return id; }
        public EventDetails setId(Integer value) { this.id = value; return this; }
        public String getName() { return name; }
        public EventDetails setName(String value) { this.name = value; return this; }
        public String getDescription() { return description; }
        public EventDetails setDescription(String value) { this.description = value; return this; }
        public String getExternalReference() { return externalReference; }
        public EventDetails setExternalReference(String value) { this.externalReference = value; return this; }
        public Date getTimeOfEvent() { return timeOfEvent; }
        public EventDetails setTimeOfEvent(Date value) { this.timeOfEvent = value; return this; }
        public Integer getEventLocationId() { return eventLocationId; }
        public EventDetails setEventLocationId(Integer value) { this.eventLocationId = value; return this; }
        public Integer getEventSeriesId() { return eventSeriesId; }
        public EventDetails setEventSeriesId(Integer value) { this.eventSeriesId = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventDetails setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Boolean isEventActive() { return eventActive; }
        public EventDetails setEventActive(Boolean value) { this.eventActive = value; return this; }
        public String getEventOwnerName() { return eventOwnerName; }
        public EventDetails setEventOwnerName(String value) { this.eventOwnerName = value; return this; }
        public String getExternalOwnerId() { return externalOwnerId; }
        public EventDetails setExternalOwnerId(String value) { this.externalOwnerId = value; return this; }
        public String getTeamAwayId() { return teamAwayId; }
        public EventDetails setTeamAwayId(String value) { this.teamAwayId = value; return this; }
        public String getTeamAwayName() { return teamAwayName; }
        public EventDetails setTeamAwayName(String value) { this.teamAwayName = value; return this; }
        public String getEventSeriesName() { return eventSeriesName; }
        public EventDetails setEventSeriesName(String value) { this.eventSeriesName = value; return this; }
        public String getEventLocationName() { return eventLocationName; }
        public EventDetails setEventLocationName(String value) { this.eventLocationName = value; return this; }
        public BigDecimal getLatitude() { return latitude; }
        public EventDetails setLatitude(BigDecimal value) { this.latitude = value; return this; }
        public BigDecimal getLongitude() { return longitude; }
        public EventDetails setLongitude(BigDecimal value) { this.longitude = value; return this; }
        public String getDefaultValues() { return defaultValues; }
        public EventDetails setDefaultValues(String value) { this.defaultValues = value; return this; }
        public String getExternalReferenceType() { return externalReferenceType; }
        public EventDetails setExternalReferenceType(String value) { this.externalReferenceType = value; return this; }
        public Boolean isEventSeriesActive() { return eventSeriesActive; }
        public EventDetails setEventSeriesActive(Boolean value) { this.eventSeriesActive = value; return this; }
        public String getAllowedKsiCard() { return allowedKsiCard; }
        public EventDetails setAllowedKsiCard(String value) { this.allowedKsiCard = value; return this; }
        public String getSeriesId() { return seriesId; }
        public EventDetails setSeriesId(String value) { this.seriesId = value; return this; }
        public Boolean isSeriesShowByDefault() { return seriesShowByDefault; }
        public EventDetails setSeriesShowByDefault(Boolean value) { this.seriesShowByDefault = value; return this; }
        public Boolean isPostponedNoDate() { return postponedNoDate; }
        public EventDetails setPostponedNoDate(Boolean value) { this.postponedNoDate = value; return this; }
        public String getAwayTeamExternalId() { return awayTeamExternalId; }
        public EventDetails setAwayTeamExternalId(String value) { this.awayTeamExternalId = value; return this; }
        public String getSportGenderId() { return sportGenderId; }
        public EventDetails setSportGenderId(String value) { this.sportGenderId = value; return this; }
        public String getExternalIdType() { return externalIdType; }
        public EventDetails setExternalIdType(String value) { this.externalIdType = value; return this; }
        public Boolean isSeriesEventSaleSuspended() { return seriesEventSaleSuspended; }
        public EventDetails setSeriesEventSaleSuspended(Boolean value) { this.seriesEventSaleSuspended = value; return this; }
        public Date getSeriesSaleSuspensionEventStartDate() { return seriesSaleSuspensionEventStartDate; }
        public EventDetails setSeriesSaleSuspensionEventStartDate(Date value) { this.seriesSaleSuspensionEventStartDate = value; return this; }
        public Date getSeriesSaleSuspensionEventEndDate() { return seriesSaleSuspensionEventEndDate; }
        public EventDetails setSeriesSaleSuspensionEventEndDate(Date value) { this.seriesSaleSuspensionEventEndDate = value; return this; }
        public Boolean isSaleIsActive() { return saleIsActive; }
        public EventDetails setSaleIsActive(Boolean value) { this.saleIsActive = value; return this; }
        public Boolean isHideEvent() { return hideEvent; }
        public EventDetails setHideEvent(Boolean value) { this.hideEvent = value; return this; }
        public String getImageUrl2() { return imageUrl2; }
        public EventDetails setImageUrl2(String value) { this.imageUrl2 = value; return this; }
        public String getDirectAccessCode() { return directAccessCode; }
        public EventDetails setDirectAccessCode(String value) { this.directAccessCode = value; return this; }
        public String getImageUrl() { return imageUrl; }
        public EventDetails setImageUrl(String value) { this.imageUrl = value; return this; }
        public String getDetailedDescription() { return detailedDescription; }
        public EventDetails setDetailedDescription(String value) { this.detailedDescription = value; return this; }
        public String getOwnerImageUrl() { return ownerImageUrl; }
        public EventDetails setOwnerImageUrl(String value) { this.ownerImageUrl = value; return this; }
        public String getOwnerImageUrl2() { return ownerImageUrl2; }
        public EventDetails setOwnerImageUrl2(String value) { this.ownerImageUrl2 = value; return this; }
        public Boolean isOwnerCardsNotAllowed() { return ownerCardsNotAllowed; }
        public EventDetails setOwnerCardsNotAllowed(Boolean value) { this.ownerCardsNotAllowed = value; return this; }
        public String getSeatingImageUrl() { return seatingImageUrl; }
        public EventDetails setSeatingImageUrl(String value) { this.seatingImageUrl = value; return this; }
        public Date getEndOfEvent() { return endOfEvent; }
        public EventDetails setEndOfEvent(Date value) { this.endOfEvent = value; return this; }
        public Date getEndOfEventUTC() { return endOfEventUTC; }
        public EventDetails setEndOfEventUTC(Date value) { this.endOfEventUTC = value; return this; }
        public String getTimeZone() { return timeZone; }
        public EventDetails setTimeZone(String value) { this.timeZone = value; return this; }
        public Date getTimeOfEventUTC() { return timeOfEventUTC; }
        public EventDetails setTimeOfEventUTC(Date value) { this.timeOfEventUTC = value; return this; }
    }

}

Java 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>