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}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class OwnerCardTypeConnectionsRequest
    {
        public Integer ownerId = null;
        public Boolean includeInactive = null;
        
        public Integer getOwnerId() { return ownerId; }
        public OwnerCardTypeConnectionsRequest setOwnerId(Integer value) { this.ownerId = value; return this; }
        public Boolean isIncludeInactive() { return includeInactive; }
        public OwnerCardTypeConnectionsRequest setIncludeInactive(Boolean value) { this.includeInactive = value; return this; }
    }

    public static class OwnerCardTypeConnectionsResult
    {
        public ArrayList<OwnerCardTypeConnectionsItem> items = null;
        public Integer entitlesNothingCount = null;
        public ArrayList<UncoveredSeriesItem> seriesWithoutCards = null;
        public Integer seriesWithoutCardsCount = null;
        public ArrayList<UncoveredSeriesItem> upcomingSeries = null;
        public Integer statusCode = null;
        public String message = null;
        
        public ArrayList<OwnerCardTypeConnectionsItem> getItems() { return items; }
        public OwnerCardTypeConnectionsResult setItems(ArrayList<OwnerCardTypeConnectionsItem> value) { this.items = value; return this; }
        public Integer getEntitlesNothingCount() { return entitlesNothingCount; }
        public OwnerCardTypeConnectionsResult setEntitlesNothingCount(Integer value) { this.entitlesNothingCount = value; return this; }
        public ArrayList<UncoveredSeriesItem> getSeriesWithoutCards() { return seriesWithoutCards; }
        public OwnerCardTypeConnectionsResult setSeriesWithoutCards(ArrayList<UncoveredSeriesItem> value) { this.seriesWithoutCards = value; return this; }
        public Integer getSeriesWithoutCardsCount() { return seriesWithoutCardsCount; }
        public OwnerCardTypeConnectionsResult setSeriesWithoutCardsCount(Integer value) { this.seriesWithoutCardsCount = value; return this; }
        public ArrayList<UncoveredSeriesItem> getUpcomingSeries() { return upcomingSeries; }
        public OwnerCardTypeConnectionsResult setUpcomingSeries(ArrayList<UncoveredSeriesItem> value) { this.upcomingSeries = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public OwnerCardTypeConnectionsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public OwnerCardTypeConnectionsResult setMessage(String value) { this.message = value; return this; }
    }

    public static class OwnerCardTypeConnectionsItem
    {
        public Integer ownerCardTypeId = null;
        public String name = null;
        public Boolean isActive = null;
        public Integer activeConnections = null;
        public Integer totalConnections = null;
        public Boolean entitlesNothing = null;
        public ArrayList<OwnerCardTypeSeriesItem> series = null;
        
        public Integer getOwnerCardTypeId() { return ownerCardTypeId; }
        public OwnerCardTypeConnectionsItem setOwnerCardTypeId(Integer value) { this.ownerCardTypeId = value; return this; }
        public String getName() { return name; }
        public OwnerCardTypeConnectionsItem setName(String value) { this.name = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public OwnerCardTypeConnectionsItem setIsActive(Boolean value) { this.isActive = value; return this; }
        public Integer getActiveConnections() { return activeConnections; }
        public OwnerCardTypeConnectionsItem setActiveConnections(Integer value) { this.activeConnections = value; return this; }
        public Integer getTotalConnections() { return totalConnections; }
        public OwnerCardTypeConnectionsItem setTotalConnections(Integer value) { this.totalConnections = value; return this; }
        public Boolean isEntitlesNothing() { return entitlesNothing; }
        public OwnerCardTypeConnectionsItem setEntitlesNothing(Boolean value) { this.entitlesNothing = value; return this; }
        public ArrayList<OwnerCardTypeSeriesItem> getSeries() { return series; }
        public OwnerCardTypeConnectionsItem setSeries(ArrayList<OwnerCardTypeSeriesItem> value) { this.series = value; return this; }
    }

    public static class OwnerCardTypeSeriesItem
    {
        public Integer id = null;
        public String name = null;
        public Boolean isActive = null;
        public Integer ticketTypeCount = null;
        
        public Integer getId() { return id; }
        public OwnerCardTypeSeriesItem setId(Integer value) { this.id = value; return this; }
        public String getName() { return name; }
        public OwnerCardTypeSeriesItem setName(String value) { this.name = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public OwnerCardTypeSeriesItem setIsActive(Boolean value) { this.isActive = value; return this; }
        public Integer getTicketTypeCount() { return ticketTypeCount; }
        public OwnerCardTypeSeriesItem setTicketTypeCount(Integer value) { this.ticketTypeCount = value; return this; }
    }

    public static class UncoveredSeriesItem
    {
        public Integer seriesId = null;
        public String name = null;
        public Integer upcomingEvents = null;
        public Date nextEventUTC = null;
        
        public Integer getSeriesId() { return seriesId; }
        public UncoveredSeriesItem setSeriesId(Integer value) { this.seriesId = value; return this; }
        public String getName() { return name; }
        public UncoveredSeriesItem setName(String value) { this.name = value; return this; }
        public Integer getUpcomingEvents() { return upcomingEvents; }
        public UncoveredSeriesItem setUpcomingEvents(Integer value) { this.upcomingEvents = value; return this; }
        public Date getNextEventUTC() { return nextEventUTC; }
        public UncoveredSeriesItem setNextEventUTC(Date value) { this.nextEventUTC = value; return this; }
    }

}

Java OwnerCardTypeConnectionsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			ownerCardTypeId: 0,
			name: String,
			isActive: False,
			activeConnections: 0,
			totalConnections: 0,
			entitlesNothing: False,
			series: 
			[
				{
					id: 0,
					name: String,
					isActive: False,
					ticketTypeCount: 0
				}
			]
		}
	],
	entitlesNothingCount: 0,
	seriesWithoutCards: 
	[
		{
			seriesId: 0,
			name: String,
			upcomingEvents: 0,
			nextEventUTC: 0001-01-01
		}
	],
	seriesWithoutCardsCount: 0,
	upcomingSeries: 
	[
		{
			seriesId: 0,
			name: String,
			upcomingEvents: 0,
			nextEventUTC: 0001-01-01
		}
	],
	statusCode: 0,
	message: String
}