TicketUserServices

<back to all web services

OwnerCardTypeConnectionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:ReadData
The following routes are available for this service:
GET/ownerCardTypes/connections/{OwnerId}
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 OwnerCardTypeConnectionsItem
            Public Sub New()
                Series = New List(Of OwnerCardTypeSeriesItem)
            End Sub

            Public Overridable Property OwnerCardTypeId As Integer
            Public Overridable Property Name As String
            Public Overridable Property IsActive As Boolean
            Public Overridable Property ActiveConnections As Integer
            Public Overridable Property TotalConnections As Integer
            Public Overridable Property EntitlesNothing As Boolean
            Public Overridable Property Series As List(Of OwnerCardTypeSeriesItem)
        End Class

        Public Partial Class OwnerCardTypeConnectionsRequest
            Public Overridable Property OwnerId As Integer
            Public Overridable Property IncludeInactive As Boolean
        End Class

        Public Partial Class OwnerCardTypeConnectionsResult
            Public Sub New()
                Items = New List(Of OwnerCardTypeConnectionsItem)
                SeriesWithoutCards = New List(Of UncoveredSeriesItem)
                UpcomingSeries = New List(Of UncoveredSeriesItem)
            End Sub

            Public Overridable Property Items As List(Of OwnerCardTypeConnectionsItem)
            Public Overridable Property EntitlesNothingCount As Integer
            Public Overridable Property SeriesWithoutCards As List(Of UncoveredSeriesItem)
            Public Overridable Property SeriesWithoutCardsCount As Integer
            Public Overridable Property UpcomingSeries As List(Of UncoveredSeriesItem)
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class

        Public Partial Class OwnerCardTypeSeriesItem
            Public Overridable Property Id As Integer
            Public Overridable Property Name As String
            Public Overridable Property IsActive As Boolean
            Public Overridable Property TicketTypeCount As Integer
        End Class

        Public Partial Class UncoveredSeriesItem
            Public Overridable Property SeriesId As Integer
            Public Overridable Property Name As String
            Public Overridable Property UpcomingEvents As Integer
            Public Overridable Property NextEventUTC As Date
        End Class
    End Namespace
End Namespace

VB.NET OwnerCardTypeConnectionsRequest 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 /ownerCardTypes/connections/{OwnerId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OwnerCardTypeConnectionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <EntitlesNothingCount>0</EntitlesNothingCount>
  <Items>
    <OwnerCardTypeConnectionsItem>
      <ActiveConnections>0</ActiveConnections>
      <EntitlesNothing>false</EntitlesNothing>
      <IsActive>false</IsActive>
      <Name>String</Name>
      <OwnerCardTypeId>0</OwnerCardTypeId>
      <Series>
        <OwnerCardTypeSeriesItem>
          <Id>0</Id>
          <IsActive>false</IsActive>
          <Name>String</Name>
          <TicketTypeCount>0</TicketTypeCount>
        </OwnerCardTypeSeriesItem>
      </Series>
      <TotalConnections>0</TotalConnections>
    </OwnerCardTypeConnectionsItem>
  </Items>
  <Message>String</Message>
  <SeriesWithoutCards>
    <UncoveredSeriesItem>
      <Name>String</Name>
      <NextEventUTC>0001-01-01T00:00:00</NextEventUTC>
      <SeriesId>0</SeriesId>
      <UpcomingEvents>0</UpcomingEvents>
    </UncoveredSeriesItem>
  </SeriesWithoutCards>
  <SeriesWithoutCardsCount>0</SeriesWithoutCardsCount>
  <StatusCode>0</StatusCode>
  <UpcomingSeries>
    <UncoveredSeriesItem>
      <Name>String</Name>
      <NextEventUTC>0001-01-01T00:00:00</NextEventUTC>
      <SeriesId>0</SeriesId>
      <UpcomingEvents>0</UpcomingEvents>
    </UncoveredSeriesItem>
  </UpcomingSeries>
</OwnerCardTypeConnectionsResult>