TicketUserServices

<back to all web services

OwnerSeriesTicketPriceRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileAppRequired permissions:Tickets.Add, Tickets.Add, Tickets.Add
The following routes are available for this service:
GET PUT POST/ownerTicketPriceChange Tickets prices for Owner in SeriesId only when changing (PUT)
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class OwnerSeriesTicketPriceRequest
    {
        public Integer id = null;
        public Integer ticketId = null;
        public Integer eventOwnerId = null;
        public Integer seriesId = null;
        public BigDecimal defaultPrice = null;
        public Boolean hide = null;
        public Boolean active = null;
        public Integer maxTickets = null;
        
        public Integer getId() { return id; }
        public OwnerSeriesTicketPriceRequest setId(Integer value) { this.id = value; return this; }
        public Integer getTicketId() { return ticketId; }
        public OwnerSeriesTicketPriceRequest setTicketId(Integer value) { this.ticketId = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public OwnerSeriesTicketPriceRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Integer getSeriesId() { return seriesId; }
        public OwnerSeriesTicketPriceRequest setSeriesId(Integer value) { this.seriesId = value; return this; }
        public BigDecimal getDefaultPrice() { return defaultPrice; }
        public OwnerSeriesTicketPriceRequest setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
        public Boolean isHide() { return hide; }
        public OwnerSeriesTicketPriceRequest setHide(Boolean value) { this.hide = value; return this; }
        public Boolean isActive() { return active; }
        public OwnerSeriesTicketPriceRequest setActive(Boolean value) { this.active = value; return this; }
        public Integer getMaxTickets() { return maxTickets; }
        public OwnerSeriesTicketPriceRequest setMaxTickets(Integer value) { this.maxTickets = value; return this; }
    }

    public static class OwnerSeriesTicketPriceResult
    {
        public EventSeriesOwnerTicketPrice ticketPrice = null;
        public Integer statusCode = null;
        public String message = null;
        
        public EventSeriesOwnerTicketPrice getTicketPrice() { return ticketPrice; }
        public OwnerSeriesTicketPriceResult setTicketPrice(EventSeriesOwnerTicketPrice value) { this.ticketPrice = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public OwnerSeriesTicketPriceResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public OwnerSeriesTicketPriceResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventSeriesOwnerTicketPrice
    {
        public Integer id = null;
        public Integer ownerId = null;
        public BigDecimal defaultPrice = null;
        public Integer ticketTypeId = null;
        public Integer seriesId = null;
        public Integer ticketTypeListOrder = null;
        public Boolean isHidden = null;
        public Boolean isActive = null;
        public Integer maxTickets = null;
        public String currency = null;
        
        public Integer getId() { return id; }
        public EventSeriesOwnerTicketPrice setId(Integer value) { this.id = value; return this; }
        public Integer getOwnerId() { return ownerId; }
        public EventSeriesOwnerTicketPrice setOwnerId(Integer value) { this.ownerId = value; return this; }
        public BigDecimal getDefaultPrice() { return defaultPrice; }
        public EventSeriesOwnerTicketPrice setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
        public Integer getTicketTypeId() { return ticketTypeId; }
        public EventSeriesOwnerTicketPrice setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; }
        public Integer getSeriesId() { return seriesId; }
        public EventSeriesOwnerTicketPrice setSeriesId(Integer value) { this.seriesId = value; return this; }
        public Integer getTicketTypeListOrder() { return ticketTypeListOrder; }
        public EventSeriesOwnerTicketPrice setTicketTypeListOrder(Integer value) { this.ticketTypeListOrder = value; return this; }
        public Boolean getIsHidden() { return isHidden; }
        public EventSeriesOwnerTicketPrice setIsHidden(Boolean value) { this.isHidden = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public EventSeriesOwnerTicketPrice setIsActive(Boolean value) { this.isActive = value; return this; }
        public Integer getMaxTickets() { return maxTickets; }
        public EventSeriesOwnerTicketPrice setMaxTickets(Integer value) { this.maxTickets = value; return this; }
        public String getCurrency() { return currency; }
        public EventSeriesOwnerTicketPrice setCurrency(String value) { this.currency = value; return this; }
    }

}

Java OwnerSeriesTicketPriceRequest DTOs

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

{"id":0,"ticketId":0,"eventOwnerId":0,"seriesId":0,"defaultPrice":0,"hide":false,"active":false,"maxTickets":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ticketPrice":{"id":0,"ownerId":0,"defaultPrice":0,"ticketTypeId":0,"seriesId":0,"ticketTypeListOrder":0,"isHidden":false,"isActive":false,"maxTickets":0,"currency":"String"},"statusCode":0,"message":"String"}