| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
| GET | /VenueSeatingArrangement/TicketTypePreview/{ArrangementId} |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Namespace Global
Namespace TicketUserServices.ServiceModel
Public Partial Class TemplateTicketTypePreviewItem
Public Sub New()
SectionNames = New List(Of String)
ConnectionIds = New List(Of Integer)
End Sub
Public Overridable Property OwnerTicketTypeId As Integer
Public Overridable Property Name As String
Public Overridable Property DefaultPrice As Decimal
Public Overridable Property Currency As String
Public Overridable Property MaxTickets As Integer
Public Overridable Property SectionCount As Integer
Public Overridable Property SectionNames As List(Of String)
Public Overridable Property HiddenFromSale As Boolean
Public Overridable Property TypeCreatedAt As Nullable(Of Date)
Public Overridable Property LastSoldAt As Nullable(Of Date)
Public Overridable Property ConnectionIds As List(Of Integer)
End Class
Public Partial Class VenueSeatingArrangementTicketTypePreviewRequest
Public Overridable Property ArrangementId As Integer
End Class
Public Partial Class VenueSeatingArrangementTicketTypePreviewResponse
Public Sub New()
TicketTypes = New List(Of TemplateTicketTypePreviewItem)
End Sub
Public Overridable Property ArrangementId As Integer
Public Overridable Property VenueId As Integer
Public Overridable Property TicketTypes As List(Of TemplateTicketTypePreviewItem)
Public Overridable Property StatusCode As Integer
Public Overridable Property Message As String
End Class
End Namespace
End Namespace
VB.NET VenueSeatingArrangementTicketTypePreviewRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
lastSoldAt: 0001-01-01,
connectionIds:
[
0
]
}
],
statusCode: 0,
message: String
}