TicketUserServices

<back to all web services

EventSeriesOwnerTicketTypesSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventSeriesOwnerTicketType/Search/{OwnerId}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventSeriesOwnerTicketTypesSearchRequest
    {
        public Integer ownerId = null;
        
        public Integer getOwnerId() { return ownerId; }
        public EventSeriesOwnerTicketTypesSearchRequest setOwnerId(Integer value) { this.ownerId = value; return this; }
    }

    public static class EventSeriesOwnerTicketTypesResult
    {
        public ArrayList<EventSeriesOwnerTicketType> items = null;
        public Integer statusCode = null;
        public String message = null;
        
        public ArrayList<EventSeriesOwnerTicketType> getItems() { return items; }
        public EventSeriesOwnerTicketTypesResult setItems(ArrayList<EventSeriesOwnerTicketType> value) { this.items = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventSeriesOwnerTicketTypesResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventSeriesOwnerTicketTypesResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventSeriesOwnerTicketType
    {
        public Integer id = null;
        public String name = null;
        public BigDecimal defaultPrice = null;
        public Integer seriesId = null;
        public Integer ownerId = null;
        public Integer ticketTypeListOrder = null;
        public Boolean isActive = null;
        public Integer maxTickets = null;
        public String ticketColor = null;
        public Boolean showUsedTickets = null;
        public Boolean canOnlyBeBoughtWithTeamPass = null;
        public Boolean isSpecialTicket = null;
        public String specialTicketId = null;
        public Boolean onlyForKsi = null;
        public Date timestampCreated = null;
        public Date timestampLastChanged = null;
        public Boolean ticketsForSalePerEvent = null;
        public String imageUrl = null;
        public Boolean holderInfoRequired = null;
        public Integer eventSeriesOwnerSeatingSectionId = null;
        public Boolean canOnlyBeBought = null;
        public Boolean canNotBeBought = null;
        public Boolean blockTransfer = null;
        public Integer maxTicketsPerTransaction = null;
        public Boolean forceSingleTickets = null;
        public Integer onlyForEvent = null;
        public String currency = null;
        
        public Integer getId() { return id; }
        public EventSeriesOwnerTicketType setId(Integer value) { this.id = value; return this; }
        public String getName() { return name; }
        public EventSeriesOwnerTicketType setName(String value) { this.name = value; return this; }
        public BigDecimal getDefaultPrice() { return defaultPrice; }
        public EventSeriesOwnerTicketType setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
        public Integer getSeriesId() { return seriesId; }
        public EventSeriesOwnerTicketType setSeriesId(Integer value) { this.seriesId = value; return this; }
        public Integer getOwnerId() { return ownerId; }
        public EventSeriesOwnerTicketType setOwnerId(Integer value) { this.ownerId = value; return this; }
        public Integer getTicketTypeListOrder() { return ticketTypeListOrder; }
        public EventSeriesOwnerTicketType setTicketTypeListOrder(Integer value) { this.ticketTypeListOrder = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public EventSeriesOwnerTicketType setIsActive(Boolean value) { this.isActive = value; return this; }
        public Integer getMaxTickets() { return maxTickets; }
        public EventSeriesOwnerTicketType setMaxTickets(Integer value) { this.maxTickets = value; return this; }
        public String getTicketColor() { return ticketColor; }
        public EventSeriesOwnerTicketType setTicketColor(String value) { this.ticketColor = value; return this; }
        public Boolean isShowUsedTickets() { return showUsedTickets; }
        public EventSeriesOwnerTicketType setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
        public Boolean isCanOnlyBeBoughtWithTeamPass() { return canOnlyBeBoughtWithTeamPass; }
        public EventSeriesOwnerTicketType setCanOnlyBeBoughtWithTeamPass(Boolean value) { this.canOnlyBeBoughtWithTeamPass = value; return this; }
        public Boolean getIsSpecialTicket() { return isSpecialTicket; }
        public EventSeriesOwnerTicketType setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
        public String getSpecialTicketId() { return specialTicketId; }
        public EventSeriesOwnerTicketType setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
        public Boolean isOnlyForKsi() { return onlyForKsi; }
        public EventSeriesOwnerTicketType setOnlyForKsi(Boolean value) { this.onlyForKsi = value; return this; }
        public Date getTimestampCreated() { return timestampCreated; }
        public EventSeriesOwnerTicketType setTimestampCreated(Date value) { this.timestampCreated = value; return this; }
        public Date getTimestampLastChanged() { return timestampLastChanged; }
        public EventSeriesOwnerTicketType setTimestampLastChanged(Date value) { this.timestampLastChanged = value; return this; }
        public Boolean isTicketsForSalePerEvent() { return ticketsForSalePerEvent; }
        public EventSeriesOwnerTicketType setTicketsForSalePerEvent(Boolean value) { this.ticketsForSalePerEvent = value; return this; }
        public String getImageUrl() { return imageUrl; }
        public EventSeriesOwnerTicketType setImageUrl(String value) { this.imageUrl = value; return this; }
        public Boolean isHolderInfoRequired() { return holderInfoRequired; }
        public EventSeriesOwnerTicketType setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
        public Integer getEventSeriesOwnerSeatingSectionId() { return eventSeriesOwnerSeatingSectionId; }
        public EventSeriesOwnerTicketType setEventSeriesOwnerSeatingSectionId(Integer value) { this.eventSeriesOwnerSeatingSectionId = value; return this; }
        public Boolean isCanOnlyBeBought() { return canOnlyBeBought; }
        public EventSeriesOwnerTicketType setCanOnlyBeBought(Boolean value) { this.canOnlyBeBought = value; return this; }
        public Boolean isCanNotBeBought() { return canNotBeBought; }
        public EventSeriesOwnerTicketType setCanNotBeBought(Boolean value) { this.canNotBeBought = value; return this; }
        public Boolean isBlockTransfer() { return blockTransfer; }
        public EventSeriesOwnerTicketType setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
        public Integer getMaxTicketsPerTransaction() { return maxTicketsPerTransaction; }
        public EventSeriesOwnerTicketType setMaxTicketsPerTransaction(Integer value) { this.maxTicketsPerTransaction = value; return this; }
        public Boolean isForceSingleTickets() { return forceSingleTickets; }
        public EventSeriesOwnerTicketType setForceSingleTickets(Boolean value) { this.forceSingleTickets = value; return this; }
        public Integer getOnlyForEvent() { return onlyForEvent; }
        public EventSeriesOwnerTicketType setOnlyForEvent(Integer value) { this.onlyForEvent = value; return this; }
        public String getCurrency() { return currency; }
        public EventSeriesOwnerTicketType setCurrency(String value) { this.currency = value; return this; }
    }

}

Java EventSeriesOwnerTicketTypesSearchRequest DTOs

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

{
	ownerId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			id: 0,
			name: String,
			defaultPrice: 0,
			seriesId: 0,
			ownerId: 0,
			ticketTypeListOrder: 0,
			isActive: False,
			maxTickets: 0,
			ticketColor: String,
			showUsedTickets: False,
			canOnlyBeBoughtWithTeamPass: False,
			isSpecialTicket: False,
			specialTicketId: String,
			onlyForKsi: False,
			timestampCreated: 0001-01-01,
			timestampLastChanged: 0001-01-01,
			ticketsForSalePerEvent: False,
			imageUrl: String,
			holderInfoRequired: False,
			eventSeriesOwnerSeatingSectionId: 0,
			canOnlyBeBought: False,
			canNotBeBought: False,
			blockTransfer: False,
			maxTicketsPerTransaction: 0,
			forceSingleTickets: False,
			onlyForEvent: 0,
			currency: String
		}
	],
	statusCode: 0,
	message: String
}