TicketUserServices

<back to all web services

OwnerEventTicketPriceRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileAppRequired permissions:Tickets.Add, Tickets.Add
The following routes are available for this service:
GET PUT POST/ownerEventTicketPriceChange Tickets prices for EventId only when changing (PUT). isOwnerTicket is false if the Ticket is default ticket for series
OwnerEventTicketPriceRequest Parameters:
NameParameterData TypeRequiredDescription
IdbodyintNo
IsOwnerTicketbodyboolNo
EventIdbodyintNo
TicketIdbodyintNo
EventOwnerIdbodyintNo
SeriesIdbodyintNo
PricebodydecimalNo
HidebodyboolNo
ActivebodyboolNo
MaxTicketsbodyint?No
OwnerEventTicketPriceResult Parameters:
NameParameterData TypeRequiredDescription
TicketPriceformEventTicketPriceNo
StatusCodeformintNo
MessageformstringNo
EventTicketPrice Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
PriceformdecimalNo
TicketTypeIdformint?No
TicketOwnerTypeIdformint?No
EventIdformint?No
Hiddenformbool?No
isActiveformbool?No
MaxTicketsformint?No
CurrencyformstringNo

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 /ownerEventTicketPrice HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	isOwnerTicket: False,
	eventId: 0,
	ticketId: 0,
	eventOwnerId: 0,
	seriesId: 0,
	price: 0,
	hide: False,
	active: False,
	maxTickets: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ticketPrice: 
	{
		id: 0,
		name: String,
		price: 0,
		ticketTypeId: 0,
		ticketOwnerTypeId: 0,
		eventId: 0,
		hidden: False,
		isActive: False,
		maxTickets: 0,
		currency: String
	},
	statusCode: 0,
	message: String
}