Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | ReadData |
GET | /OwnerCardType/{Id} |
---|
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 OwnerCardTypeGetRequest
Public Overridable Property Id As Integer
End Class
Public Partial Class OwnerCardTypeResult
Public Overridable Property Item As OwnerCardType
Public Overridable Property StatusCode As Integer
Public Overridable Property Message As String
End Class
End Namespace
Namespace TicketUserServices.ServiceModel.Types
Public Partial Class OwnerCardType
Public Overridable Property ID As Integer
Public Overridable Property OwnerId As Integer
Public Overridable Property MaxTickets As Nullable(Of Integer)
Public Overridable Property TimeStampCreatedUTC As Nullable(Of Date)
Public Overridable Property TimeStampLastChangedUTC As Nullable(Of Date)
Public Overridable Property SaleStartDateUTC As Nullable(Of Date)
Public Overridable Property SaleEndDateUTC As Nullable(Of Date)
Public Overridable Property ValidStartDateForNewCardsUTC As Nullable(Of Date)
Public Overridable Property ValidEndDateForNewCardsUTC As Nullable(Of Date)
Public Overridable Property HasStoreCredit As Boolean
Public Overridable Property IsActive As Boolean
Public Overridable Property OnlyForTeamUse As Nullable(Of Boolean)
Public Overridable Property Price As Decimal
Public Overridable Property InitialStoreCredit As Decimal
Public Overridable Property Description As String
Public Overridable Property Name As String
Public Overridable Property ImageUrl As String
Public Overridable Property Currency As String
Public Overridable Property MaxTicketsPerEvent As Nullable(Of Integer)
Public Overridable Property BackgroundImageUrl As String
Public Overridable Property ValidForConnectedOwners As Nullable(Of Boolean)
Public Overridable Property SuperOwnerId As Nullable(Of Integer)
End Class
End Namespace
End Namespace
VB.NET OwnerCardTypeGetRequest 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 /OwnerCardType/{Id} HTTP/1.1 Host: stubbur-autoupdates-live.smartnewapis.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { item: { id: 0, ownerId: 0, maxTickets: 0, timeStampCreatedUTC: 0001-01-01, timeStampLastChangedUTC: 0001-01-01, saleStartDateUTC: 0001-01-01, saleEndDateUTC: 0001-01-01, validStartDateForNewCardsUTC: 0001-01-01, validEndDateForNewCardsUTC: 0001-01-01, hasStoreCredit: False, isActive: False, onlyForTeamUse: False, price: 0, initialStoreCredit: 0, description: String, name: String, imageUrl: String, currency: String, maxTicketsPerEvent: 0, backgroundImageUrl: String, validForConnectedOwners: False, superOwnerId: 0 }, statusCode: 0, message: String }