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)
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Imports TicketUserServices.ServiceModel.Types

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class OwnerSeriesTicketPriceRequest
            Public Overridable Property Id As Integer
            Public Overridable Property TicketId As Nullable(Of Integer)
            Public Overridable Property EventOwnerId As Integer
            Public Overridable Property SeriesId As Integer
            Public Overridable Property DefaultPrice As Decimal
            Public Overridable Property Hide As Boolean
            Public Overridable Property Active As Boolean
            Public Overridable Property MaxTickets As Nullable(Of Integer)
        End Class

        Public Partial Class OwnerSeriesTicketPriceResult
            Public Overridable Property TicketPrice As EventSeriesOwnerTicketPrice
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel.Types

        Public Partial Class EventSeriesOwnerTicketPrice
            Public Overridable Property ID As Integer
            Public Overridable Property OwnerId As Integer
            Public Overridable Property DefaultPrice As Decimal
            Public Overridable Property TicketTypeId As Nullable(Of Integer)
            Public Overridable Property SeriesId As Nullable(Of Integer)
            Public Overridable Property TicketTypeListOrder As Integer
            Public Overridable Property IsHidden As Nullable(Of Boolean)
            Public Overridable Property IsActive As Nullable(Of Boolean)
            Public Overridable Property MaxTickets As Nullable(Of Integer)
            Public Overridable Property Currency As String
        End Class
    End Namespace
End Namespace

VB.NET 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"}