TicketUserServices

<back to all web services

OwnerTicketTypeSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
POST/ownerTicketType/SearchSearch for event ticket prices
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
using TicketUserServices.ServiceModel.Types;

namespace TicketUserServices.ServiceModel
{
    public partial class OwnerTicketTypeResult
    {
        public virtual EventSeriesOwnerTicketType TicketType { get; set; }
        public virtual int StatusCode { get; set; }
        public virtual string Message { get; set; }
    }

    public partial class OwnerTicketTypeSearchRequest
    {
        public virtual int? OwnerId { get; set; }
        public virtual string ksiOwnerid { get; set; }
    }

}

namespace TicketUserServices.ServiceModel.Types
{
    public partial class EventSeriesOwnerTicketType
    {
        public virtual int ID { get; set; }
        public virtual string Name { get; set; }
        public virtual decimal DefaultPrice { get; set; }
        public virtual int? SeriesId { get; set; }
        public virtual int OwnerId { get; set; }
        public virtual int TicketTypeListOrder { get; set; }
        public virtual bool? IsActive { get; set; }
        public virtual int? MaxTickets { get; set; }
        public virtual string TicketColor { get; set; }
        public virtual bool? ShowUsedTickets { get; set; }
        public virtual bool? CanOnlyBeBoughtWithTeamPass { get; set; }
        public virtual bool? IsSpecialTicket { get; set; }
        public virtual string SpecialTicketId { get; set; }
        public virtual bool? OnlyForKsi { get; set; }
        public virtual DateTime? TimestampCreated { get; set; }
        public virtual DateTime? TimestampLastChanged { get; set; }
        public virtual bool? TicketsForSalePerEvent { get; set; }
        public virtual string ImageUrl { get; set; }
        public virtual bool? HolderInfoRequired { get; set; }
        public virtual int? EventSeriesOwnerSeatingSectionId { get; set; }
        public virtual bool? CanOnlyBeBought { get; set; }
        public virtual bool? CanNotBeBought { get; set; }
        public virtual bool? BlockTransfer { get; set; }
        public virtual int? MaxTicketsPerTransaction { get; set; }
        public virtual bool? ForceSingleTickets { get; set; }
        public virtual int? OnlyForEvent { get; set; }
        public virtual string Currency { get; set; }
    }

}

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

{"ownerId":0,"ksiOwnerid":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ticketType":{"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-01T00:00:00.0000000","timestampLastChanged":"0001-01-01T00:00:00.0000000","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"}