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}

export class EventDetails
{
    public id?: number;
    public name?: string;
    public description?: string;
    public externalReference?: string;
    public timeOfEvent?: string;
    public eventLocationId?: number;
    public eventSeriesId?: number;
    public eventOwnerId?: number;
    public eventActive?: boolean;
    public eventOwnerName?: string;
    public externalOwnerId?: string;
    public teamAwayId?: string;
    public teamAwayName?: string;
    public eventSeriesName?: string;
    public eventLocationName?: string;
    public latitude?: number;
    public longitude?: number;
    public defaultValues?: string;
    public externalReferenceType?: string;
    public eventSeriesActive?: boolean;
    public allowedKsiCard?: string;
    public seriesId?: string;
    public seriesShowByDefault?: boolean;
    public postponedNoDate?: boolean;
    public awayTeamExternalId?: string;
    public sportGenderId?: string;
    public externalIdType?: string;
    public seriesEventSaleSuspended?: boolean;
    public seriesSaleSuspensionEventStartDate?: string;
    public seriesSaleSuspensionEventEndDate?: string;
    public saleIsActive?: boolean;
    public hideEvent?: boolean;
    public imageUrl2?: string;
    public directAccessCode?: string;
    public imageUrl?: string;
    public detailedDescription?: string;
    public ownerImageUrl?: string;
    public ownerImageUrl2?: string;
    public ownerCardsNotAllowed?: boolean;
    public seatingImageUrl?: string;
    public endOfEvent?: string;
    public endOfEventUTC?: string;
    public timeZone?: string;
    public timeOfEventUTC?: string;

    public constructor(init?: Partial<EventDetails>) { (Object as any).assign(this, init); }
}

export class GetEventDetails
{
    public id?: number;
    public referenceId?: string;

    public constructor(init?: Partial<GetEventDetails>) { (Object as any).assign(this, init); }
}

TypeScript GetEventDetails DTOs

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

HTTP + CSV

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: text/csv
Content-Type: text/csv
Content-Length: length

{"id":0,"referenceId":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"id":0,"name":"String","description":"String","externalReference":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","eventLocationId":0,"eventSeriesId":0,"eventOwnerId":0,"eventActive":false,"eventOwnerName":"String","externalOwnerId":"String","teamAwayId":"String","teamAwayName":"String","eventSeriesName":"String","eventLocationName":"String","latitude":0,"longitude":0,"defaultValues":"String","externalReferenceType":"String","eventSeriesActive":false,"allowedKsiCard":"String","seriesId":"String","seriesShowByDefault":false,"postponedNoDate":false,"awayTeamExternalId":"String","sportGenderId":"String","externalIdType":"String","seriesEventSaleSuspended":false,"seriesSaleSuspensionEventStartDate":"0001-01-01T00:00:00.0000000","seriesSaleSuspensionEventEndDate":"0001-01-01T00:00:00.0000000","saleIsActive":false,"hideEvent":false,"imageUrl2":"String","directAccessCode":"String","imageUrl":"String","detailedDescription":"String","ownerImageUrl":"String","ownerImageUrl2":"String","ownerCardsNotAllowed":false,"seatingImageUrl":"String","endOfEvent":"0001-01-01T00:00:00.0000000","endOfEventUTC":"0001-01-01T00:00:00.0000000","timeZone":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000"}