TicketUserServices

<back to all web services

VenueSeatingArrangementTicketTypePreviewRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
GET/VenueSeatingArrangement/TicketTypePreview/{ArrangementId}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class VenueSeatingArrangementTicketTypePreviewRequest
{
    var arrangementId:Int? = null
}

open class VenueSeatingArrangementTicketTypePreviewResponse
{
    var arrangementId:Int? = null
    var venueId:Int? = null
    var ticketTypes:ArrayList<TemplateTicketTypePreviewItem> = ArrayList<TemplateTicketTypePreviewItem>()
    var statusCode:Int? = null
    var message:String? = null
}

open class TemplateTicketTypePreviewItem
{
    var ownerTicketTypeId:Int? = null
    var name:String? = null
    var defaultPrice:BigDecimal? = null
    var currency:String? = null
    var maxTickets:Int? = null
    var sectionCount:Int? = null
    var sectionNames:ArrayList<String> = ArrayList<String>()
    var hiddenFromSale:Boolean? = null
    var typeCreatedAt:Date? = null
    var lastSoldAt:Date? = null
    var connectionIds:ArrayList<Int> = ArrayList<Int>()
}

Kotlin VenueSeatingArrangementTicketTypePreviewRequest 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.

GET /VenueSeatingArrangement/TicketTypePreview/{ArrangementId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VenueSeatingArrangementTicketTypePreviewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <ArrangementId>0</ArrangementId>
  <Message>String</Message>
  <StatusCode>0</StatusCode>
  <TicketTypes>
    <TemplateTicketTypePreviewItem>
      <ConnectionIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </ConnectionIds>
      <Currency>String</Currency>
      <DefaultPrice>0</DefaultPrice>
      <HiddenFromSale>false</HiddenFromSale>
      <LastSoldAt>0001-01-01T00:00:00</LastSoldAt>
      <MaxTickets>0</MaxTickets>
      <Name>String</Name>
      <OwnerTicketTypeId>0</OwnerTicketTypeId>
      <SectionCount>0</SectionCount>
      <SectionNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </SectionNames>
      <TypeCreatedAt>0001-01-01T00:00:00</TypeCreatedAt>
    </TemplateTicketTypePreviewItem>
  </TicketTypes>
  <VenueId>0</VenueId>
</VenueSeatingArrangementTicketTypePreviewResponse>