Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
POST | /ownerEventTicketPrice/Search | Search for event ticket prices |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class OwnerEventTicketPriceSearchRequest
{
public Integer ownerId = null;
public String ksiOwnerid = null;
public Integer getOwnerId() { return ownerId; }
public OwnerEventTicketPriceSearchRequest setOwnerId(Integer value) { this.ownerId = value; return this; }
public String getKsiOwnerid() { return ksiOwnerid; }
public OwnerEventTicketPriceSearchRequest setKsiOwnerid(String value) { this.ksiOwnerid = value; return this; }
}
public static class OwnerEventTicketPricesSearchResult
{
public ArrayList<OwnerEventTicketPriceInfo> ticketPrices = null;
public Integer statusCode = null;
public String message = null;
public ArrayList<OwnerEventTicketPriceInfo> getTicketPrices() { return ticketPrices; }
public OwnerEventTicketPricesSearchResult setTicketPrices(ArrayList<OwnerEventTicketPriceInfo> value) { this.ticketPrices = value; return this; }
public Integer getStatusCode() { return statusCode; }
public OwnerEventTicketPricesSearchResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public OwnerEventTicketPricesSearchResult setMessage(String value) { this.message = value; return this; }
}
public static class OwnerEventTicketPriceInfo
{
public Integer id = null;
public BigDecimal price = null;
public Integer ticketTypeId = null;
public Integer ticketOwnerTypeId = null;
public Integer eventId = null;
public Boolean hidden = null;
public Boolean isActive = null;
public Integer maxTickets = null;
public String seriesTicketName = null;
public BigDecimal seriesPrice = null;
public Boolean seriesTicketIsActive = null;
public String seriesTicketColor = null;
public String ownerTicketName = null;
public BigDecimal ownerPrice = null;
public Boolean ownerTicketIsActive = null;
public String ownerTicketColor = null;
public String seriesName = null;
public String ownerName = null;
public String eventName = null;
public String eventDescription = null;
public Date timeOfEvent = null;
public Integer eventOwnerId = null;
public Integer getId() { return id; }
public OwnerEventTicketPriceInfo setId(Integer value) { this.id = value; return this; }
public BigDecimal getPrice() { return price; }
public OwnerEventTicketPriceInfo setPrice(BigDecimal value) { this.price = value; return this; }
public Integer getTicketTypeId() { return ticketTypeId; }
public OwnerEventTicketPriceInfo setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; }
public Integer getTicketOwnerTypeId() { return ticketOwnerTypeId; }
public OwnerEventTicketPriceInfo setTicketOwnerTypeId(Integer value) { this.ticketOwnerTypeId = value; return this; }
public Integer getEventId() { return eventId; }
public OwnerEventTicketPriceInfo setEventId(Integer value) { this.eventId = value; return this; }
public Boolean isHidden() { return hidden; }
public OwnerEventTicketPriceInfo setHidden(Boolean value) { this.hidden = value; return this; }
public Boolean getIsActive() { return isActive; }
public OwnerEventTicketPriceInfo setIsActive(Boolean value) { this.isActive = value; return this; }
public Integer getMaxTickets() { return maxTickets; }
public OwnerEventTicketPriceInfo setMaxTickets(Integer value) { this.maxTickets = value; return this; }
public String getSeriesTicketName() { return seriesTicketName; }
public OwnerEventTicketPriceInfo setSeriesTicketName(String value) { this.seriesTicketName = value; return this; }
public BigDecimal getSeriesPrice() { return seriesPrice; }
public OwnerEventTicketPriceInfo setSeriesPrice(BigDecimal value) { this.seriesPrice = value; return this; }
public Boolean isSeriesTicketIsActive() { return seriesTicketIsActive; }
public OwnerEventTicketPriceInfo setSeriesTicketIsActive(Boolean value) { this.seriesTicketIsActive = value; return this; }
public String getSeriesTicketColor() { return seriesTicketColor; }
public OwnerEventTicketPriceInfo setSeriesTicketColor(String value) { this.seriesTicketColor = value; return this; }
public String getOwnerTicketName() { return ownerTicketName; }
public OwnerEventTicketPriceInfo setOwnerTicketName(String value) { this.ownerTicketName = value; return this; }
public BigDecimal getOwnerPrice() { return ownerPrice; }
public OwnerEventTicketPriceInfo setOwnerPrice(BigDecimal value) { this.ownerPrice = value; return this; }
public Boolean isOwnerTicketIsActive() { return ownerTicketIsActive; }
public OwnerEventTicketPriceInfo setOwnerTicketIsActive(Boolean value) { this.ownerTicketIsActive = value; return this; }
public String getOwnerTicketColor() { return ownerTicketColor; }
public OwnerEventTicketPriceInfo setOwnerTicketColor(String value) { this.ownerTicketColor = value; return this; }
public String getSeriesName() { return seriesName; }
public OwnerEventTicketPriceInfo setSeriesName(String value) { this.seriesName = value; return this; }
public String getOwnerName() { return ownerName; }
public OwnerEventTicketPriceInfo setOwnerName(String value) { this.ownerName = value; return this; }
public String getEventName() { return eventName; }
public OwnerEventTicketPriceInfo setEventName(String value) { this.eventName = value; return this; }
public String getEventDescription() { return eventDescription; }
public OwnerEventTicketPriceInfo setEventDescription(String value) { this.eventDescription = value; return this; }
public Date getTimeOfEvent() { return timeOfEvent; }
public OwnerEventTicketPriceInfo setTimeOfEvent(Date value) { this.timeOfEvent = value; return this; }
public Integer getEventOwnerId() { return eventOwnerId; }
public OwnerEventTicketPriceInfo setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
}
}
Java OwnerEventTicketPriceSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ownerEventTicketPrice/Search HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerId: 0,
ksiOwnerid: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketPrices: [ { id: 0, price: 0, ticketTypeId: 0, ticketOwnerTypeId: 0, eventId: 0, hidden: False, isActive: False, maxTickets: 0, seriesTicketName: String, seriesPrice: 0, seriesTicketIsActive: False, seriesTicketColor: String, ownerTicketName: String, ownerPrice: 0, ownerTicketIsActive: False, ownerTicketColor: String, seriesName: String, ownerName: String, eventName: String, eventDescription: String, timeOfEvent: 0001-01-01, eventOwnerId: 0 } ], statusCode: 0, message: String }