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 .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"arrangementId":0,"venueId":0,"ticketTypes":[{"ownerTicketTypeId":0,"name":"String","defaultPrice":0,"currency":"String","maxTickets":0,"sectionCount":0,"sectionNames":["String"],"hiddenFromSale":false,"typeCreatedAt":"0001-01-01T00:00:00.0000000","lastSoldAt":"0001-01-01T00:00:00.0000000","connectionIds":[0]}],"statusCode":0,"message":"String"}