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 Foundation
import ServiceStack

public class OwnerSeriesTicketPriceRequest : Codable
{
    public var id:Int?
    public var ticketId:Int?
    public var eventOwnerId:Int?
    public var seriesId:Int?
    public var defaultPrice:Double?
    public var hide:Bool?
    public var active:Bool?
    public var maxTickets:Int?

    required public init(){}
}

public class OwnerSeriesTicketPriceResult : Codable
{
    public var ticketPrice:EventSeriesOwnerTicketPrice?
    public var statusCode:Int?
    public var message:String?

    required public init(){}
}

public class EventSeriesOwnerTicketPrice : Codable
{
    public var id:Int?
    public var ownerId:Int?
    public var defaultPrice:Double?
    public var ticketTypeId:Int?
    public var seriesId:Int?
    public var ticketTypeListOrder:Int?
    public var isHidden:Bool?
    public var isActive:Bool?
    public var maxTickets:Int?
    public var currency:String?

    required public init(){}
}


Swift OwnerSeriesTicketPriceRequest DTOs

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

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<OwnerSeriesTicketPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Active>false</Active>
  <DefaultPrice>0</DefaultPrice>
  <EventOwnerId>0</EventOwnerId>
  <Hide>false</Hide>
  <Id>0</Id>
  <MaxTickets>0</MaxTickets>
  <SeriesId>0</SeriesId>
  <TicketId>0</TicketId>
</OwnerSeriesTicketPriceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OwnerSeriesTicketPriceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <StatusCode>0</StatusCode>
  <TicketPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:Currency>String</d2p1:Currency>
    <d2p1:DefaultPrice>0</d2p1:DefaultPrice>
    <d2p1:ID>0</d2p1:ID>
    <d2p1:IsActive>false</d2p1:IsActive>
    <d2p1:IsHidden>false</d2p1:IsHidden>
    <d2p1:MaxTickets>0</d2p1:MaxTickets>
    <d2p1:OwnerId>0</d2p1:OwnerId>
    <d2p1:SeriesId>0</d2p1:SeriesId>
    <d2p1:TicketTypeId>0</d2p1:TicketTypeId>
    <d2p1:TicketTypeListOrder>0</d2p1:TicketTypeListOrder>
  </TicketPrice>
</OwnerSeriesTicketPriceResult>