TicketUserServices

<back to all web services

EventsSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
POST/Event/Search
EventsSearchRequest Parameters:
NameParameterData TypeRequiredDescription
NamebodystringNo
ExternalIDbodystringNo
ExternalIdTypebodystringNo
EventsResult Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<Event>No
StatusCodeformintNo
MessageformstringNo
Event Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
DescriptionformstringNo
ExternalReferenceformstringNo
TimeOfEventformDateTimeNo
EventLocationIdformint?No
EventSeriesIdformint?No
EventOwnerIdformint?No
EventActiveformboolNo
DefaultValuesformstringNo
ExternalReferenceTypeformstringNo
PostponedNoDateformbool?No
AwayTeamExternalIdformstringNo
SportGenderIdformstringNo
SaleIsActiveformbool?No
SeatingImageUrlformstringNo
VenueIdformint?No
AwayTeamOwnerIdformint?No
DetailedDescriptionformstringNo
ImageUrlformstringNo
DirectAccessCodeformstringNo
ImageUrl2formstringNo
HideEventformbool?No
OwnerCardsNotAllowedformbool?No
EndOfEventformDateTime?No
EndOfEventUTCformDateTime?No
TimeZoneformstringNo
TimeOfEventUTCformDateTime?No

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Event/Search HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"name":"String","externalID":"String","externalIdType":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"items":[{"id":0,"name":"String","description":"String","externalReference":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","eventLocationId":0,"eventSeriesId":0,"eventOwnerId":0,"eventActive":false,"defaultValues":"String","externalReferenceType":"String","postponedNoDate":false,"awayTeamExternalId":"String","sportGenderId":"String","saleIsActive":false,"seatingImageUrl":"String","venueId":0,"awayTeamOwnerId":0,"detailedDescription":"String","imageUrl":"String","directAccessCode":"String","imageUrl2":"String","hideEvent":false,"ownerCardsNotAllowed":false,"endOfEvent":"0001-01-01T00:00:00.0000000","endOfEventUTC":"0001-01-01T00:00:00.0000000","timeZone":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}