TicketUserServices

<back to all web services

FindKSIEventsFromFixtures

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/EventsFromKsiFixtures/search
GET POST/EventsFromKsiFixtures/searchClub/{MenWomenBoth}/{HomeAwayBoth}/{ksiTeamID}
GET POST/EventsFromKsiFixtures/searchClub/{MenWomenBoth}/{HomeAwayBoth}/{ksiTeamID}/DATES/{FromDate}/{ToDate}
GET POST/EventsFromKsiFixtures/searchCompetition/{ksiCompetitionId}
GET POST/EventsFromKsiFixtures/searchCompetition/{ksiCompetitionId}/DATES/{FromDate}/{ToDate}
GET POST/EventsFromKsiFixtures/searchDates/{FromDate}/{ToDate}
FindKSIEventsFromFixtures Parameters:
NameParameterData TypeRequiredDescription
PhoneVerificationNumberbodystringNo
DeviceIdbodystringNo
MenWomenBothpathstringNo
HomeAwayBothpathstringNo
ksiTeamIDpathstringNo
ksiCompetitionIdpathstringNo
FromDatepathDateTime?No
ToDatepathDateTime?No
GetTicketPricesbodybool?No
ReturnSoldOutTicketsbodybool?No
ReturnHiddenEventsbodybool?No
OwnerIdbodyint?No

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

HTTP + JSV

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

POST /EventsFromKsiFixtures/search HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	phoneVerificationNumber: String,
	deviceId: String,
	menWomenBoth: String,
	homeAwayBoth: String,
	ksiTeamID: String,
	ksiCompetitionId: String,
	fromDate: 0001-01-01,
	toDate: 0001-01-01,
	getTicketPrices: False,
	returnSoldOutTickets: False,
	returnHiddenEvents: False,
	ownerId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		eventDetails: 
		{
			id: 0,
			name: String,
			description: String,
			externalReference: String,
			timeOfEvent: 0001-01-01,
			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-01,
			seriesSaleSuspensionEventEndDate: 0001-01-01,
			saleIsActive: False,
			hideEvent: False,
			imageUrl2: String,
			directAccessCode: String,
			imageUrl: String,
			detailedDescription: String,
			ownerImageUrl: String,
			ownerImageUrl2: String,
			ownerCardsNotAllowed: False,
			seatingImageUrl: String,
			endOfEvent: 0001-01-01,
			endOfEventUTC: 0001-01-01,
			timeZone: String,
			timeOfEventUTC: 0001-01-01
		},
		prices: 
		[
			{
				price: 0,
				ticketTypeId: 0,
				ticketOwnerTypeId: 0,
				name: String,
				eventId: 0,
				hidden: False,
				soldOut: False,
				ticketsLeft: 0,
				isActive: False,
				limitedTickets: False,
				sortOrder: 0,
				specialTicketId: String,
				imageUrl: String,
				holderInfoRequired: False,
				totalTickets: 0,
				canOnlyBeBought: False,
				canNotBeBought: False,
				canOnlyBeBoughtWithTeamPass: False,
				blockTransfer: False,
				maxTicketsPerTransaction: 0,
				currency: String,
				ticketColor: String,
				onlyForEvent: 0
			}
		]
	}
]