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}
namespace TicketUserServices.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type OwnerCardTypeSeriesItem() = 
        member val Id:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val IsActive:Boolean = new Boolean() with get,set
        member val TicketTypeCount:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type OwnerCardTypeConnectionsItem() = 
        member val OwnerCardTypeId:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val IsActive:Boolean = new Boolean() with get,set
        member val ActiveConnections:Int32 = new Int32() with get,set
        member val TotalConnections:Int32 = new Int32() with get,set
        member val EntitlesNothing:Boolean = new Boolean() with get,set
        member val Series:ResizeArray<OwnerCardTypeSeriesItem> = new ResizeArray<OwnerCardTypeSeriesItem>() with get,set

    [<AllowNullLiteral>]
    type UncoveredSeriesItem() = 
        member val SeriesId:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val UpcomingEvents:Int32 = new Int32() with get,set
        member val NextEventUTC:DateTime = new DateTime() with get,set

    [<AllowNullLiteral>]
    type OwnerCardTypeConnectionsResult() = 
        member val Items:ResizeArray<OwnerCardTypeConnectionsItem> = new ResizeArray<OwnerCardTypeConnectionsItem>() with get,set
        member val EntitlesNothingCount:Int32 = new Int32() with get,set
        member val SeriesWithoutCards:ResizeArray<UncoveredSeriesItem> = new ResizeArray<UncoveredSeriesItem>() with get,set
        member val SeriesWithoutCardsCount:Int32 = new Int32() with get,set
        member val UpcomingSeries:ResizeArray<UncoveredSeriesItem> = new ResizeArray<UncoveredSeriesItem>() with get,set
        member val StatusCode:Int32 = new Int32() with get,set
        member val Message:String = null with get,set

    [<AllowNullLiteral>]
    type OwnerCardTypeConnectionsRequest() = 
        member val OwnerId:Int32 = new Int32() with get,set
        member val IncludeInactive:Boolean = new Boolean() with get,set

F# 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>