Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
POST | /VenueOwnerTicketTypeConnections |
---|
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 VenueOwnerTicketTypeConnectionSearchRequest
Public Overridable Property VenueId As Integer
Public Overridable Property SectionId As Integer
Public Overridable Property OwnerId As Integer
Public Overridable Property TicketTypeId As Integer
End Class
Public Partial Class VenueOwnerTicketTypeConnectionSearchResult
Public Sub New()
Items = New List(Of VenueOwnerTicketTypeConnection)
End Sub
Public Overridable Property Items As List(Of VenueOwnerTicketTypeConnection)
Public Overridable Property StatusCode As Integer
Public Overridable Property Message As String
End Class
End Namespace
Namespace TicketUserServices.ServiceModel.Types
Public Partial Class VenueOwnerTicketTypeConnection
Public Overridable Property ID As Integer
Public Overridable Property VenueSeatingSectionId As Integer
Public Overridable Property OwnerTicketId As Integer
Public Overridable Property MaxTickets As Integer
Public Overridable Property VenueId As Nullable(Of Integer)
End Class
End Namespace
End Namespace
VB.NET VenueOwnerTicketTypeConnectionSearchRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /VenueOwnerTicketTypeConnections HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"venueId":0,"sectionId":0,"ownerId":0,"ticketTypeId":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"items":[{"id":0,"venueSeatingSectionId":0,"ownerTicketId":0,"maxTickets":0,"venueId":0}],"statusCode":0,"message":"String"}