Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
POST | /AppSeatingTicketTypesInSectionSearch |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AppEventSeatingSectionTicketTypesSearchRequest
{
public Integer eventId = null;
public Integer ownerId = null;
public Integer eventSectionId = null;
public Boolean includeMyPaymentCards = null;
public String phoneVerificationNumber = null;
public String deviceId = null;
public Long requestUnixUTCTimeStamp = null;
public RequestSignature signature = null;
public Integer getEventId() { return eventId; }
public AppEventSeatingSectionTicketTypesSearchRequest setEventId(Integer value) { this.eventId = value; return this; }
public Integer getOwnerId() { return ownerId; }
public AppEventSeatingSectionTicketTypesSearchRequest setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getEventSectionId() { return eventSectionId; }
public AppEventSeatingSectionTicketTypesSearchRequest setEventSectionId(Integer value) { this.eventSectionId = value; return this; }
public Boolean isIncludeMyPaymentCards() { return includeMyPaymentCards; }
public AppEventSeatingSectionTicketTypesSearchRequest setIncludeMyPaymentCards(Boolean value) { this.includeMyPaymentCards = value; return this; }
public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
public AppEventSeatingSectionTicketTypesSearchRequest setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
public String getDeviceId() { return deviceId; }
public AppEventSeatingSectionTicketTypesSearchRequest setDeviceId(String value) { this.deviceId = value; return this; }
public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
public AppEventSeatingSectionTicketTypesSearchRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
public RequestSignature getSignature() { return signature; }
public AppEventSeatingSectionTicketTypesSearchRequest setSignature(RequestSignature value) { this.signature = value; return this; }
}
public static class RequestSignature
{
public String systemId = null;
public String systemSecret = null;
public String signature = null;
public String getSystemId() { return systemId; }
public RequestSignature setSystemId(String value) { this.systemId = value; return this; }
public String getSystemSecret() { return systemSecret; }
public RequestSignature setSystemSecret(String value) { this.systemSecret = value; return this; }
public String getSignature() { return signature; }
public RequestSignature setSignature(String value) { this.signature = value; return this; }
}
public static class AppEventSeatingSectionTicketTypesSearchResult
{
public Integer statusCode = null;
public String message = null;
public ArrayList<AppEventSeatingSectionOwnerTicketTypesItem> ownerTicketTypes = null;
public ArrayList<AppEventSeatingSectionSeriesTicketTypesItem> seriesTicketTypes = null;
public Integer getStatusCode() { return statusCode; }
public AppEventSeatingSectionTicketTypesSearchResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public AppEventSeatingSectionTicketTypesSearchResult setMessage(String value) { this.message = value; return this; }
public ArrayList<AppEventSeatingSectionOwnerTicketTypesItem> getOwnerTicketTypes() { return ownerTicketTypes; }
public AppEventSeatingSectionTicketTypesSearchResult setOwnerTicketTypes(ArrayList<AppEventSeatingSectionOwnerTicketTypesItem> value) { this.ownerTicketTypes = value; return this; }
public ArrayList<AppEventSeatingSectionSeriesTicketTypesItem> getSeriesTicketTypes() { return seriesTicketTypes; }
public AppEventSeatingSectionTicketTypesSearchResult setSeriesTicketTypes(ArrayList<AppEventSeatingSectionSeriesTicketTypesItem> value) { this.seriesTicketTypes = value; return this; }
}
public static class AppEventSeatingSectionOwnerTicketTypesItem
{
public EventSeriesOwnerTicketType ticketType = null;
public ArrayList<MyOwnerCards> myCards = null;
public EventSeriesOwnerTicketType getTicketType() { return ticketType; }
public AppEventSeatingSectionOwnerTicketTypesItem setTicketType(EventSeriesOwnerTicketType value) { this.ticketType = value; return this; }
public ArrayList<MyOwnerCards> getMyCards() { return myCards; }
public AppEventSeatingSectionOwnerTicketTypesItem setMyCards(ArrayList<MyOwnerCards> value) { this.myCards = value; return this; }
}
public static class EventSeriesOwnerTicketType
{
public Integer id = null;
public String name = null;
public BigDecimal defaultPrice = null;
public Integer seriesId = null;
public Integer ownerId = null;
public Integer ticketTypeListOrder = null;
public Boolean isActive = null;
public Integer maxTickets = null;
public String ticketColor = null;
public Boolean showUsedTickets = null;
public Boolean canOnlyBeBoughtWithTeamPass = null;
public Boolean isSpecialTicket = null;
public String specialTicketId = null;
public Boolean onlyForKsi = null;
public Date timestampCreated = null;
public Date timestampLastChanged = null;
public Boolean ticketsForSalePerEvent = null;
public String imageUrl = null;
public Boolean holderInfoRequired = null;
public Integer eventSeriesOwnerSeatingSectionId = null;
public Boolean canOnlyBeBought = null;
public Boolean canNotBeBought = null;
public Boolean blockTransfer = null;
public Integer maxTicketsPerTransaction = null;
public Boolean forceSingleTickets = null;
public Integer onlyForEvent = null;
public String currency = null;
public Integer getId() { return id; }
public EventSeriesOwnerTicketType setId(Integer value) { this.id = value; return this; }
public String getName() { return name; }
public EventSeriesOwnerTicketType setName(String value) { this.name = value; return this; }
public BigDecimal getDefaultPrice() { return defaultPrice; }
public EventSeriesOwnerTicketType setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
public Integer getSeriesId() { return seriesId; }
public EventSeriesOwnerTicketType setSeriesId(Integer value) { this.seriesId = value; return this; }
public Integer getOwnerId() { return ownerId; }
public EventSeriesOwnerTicketType setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getTicketTypeListOrder() { return ticketTypeListOrder; }
public EventSeriesOwnerTicketType setTicketTypeListOrder(Integer value) { this.ticketTypeListOrder = value; return this; }
public Boolean getIsActive() { return isActive; }
public EventSeriesOwnerTicketType setIsActive(Boolean value) { this.isActive = value; return this; }
public Integer getMaxTickets() { return maxTickets; }
public EventSeriesOwnerTicketType setMaxTickets(Integer value) { this.maxTickets = value; return this; }
public String getTicketColor() { return ticketColor; }
public EventSeriesOwnerTicketType setTicketColor(String value) { this.ticketColor = value; return this; }
public Boolean isShowUsedTickets() { return showUsedTickets; }
public EventSeriesOwnerTicketType setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
public Boolean isCanOnlyBeBoughtWithTeamPass() { return canOnlyBeBoughtWithTeamPass; }
public EventSeriesOwnerTicketType setCanOnlyBeBoughtWithTeamPass(Boolean value) { this.canOnlyBeBoughtWithTeamPass = value; return this; }
public Boolean getIsSpecialTicket() { return isSpecialTicket; }
public EventSeriesOwnerTicketType setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
public String getSpecialTicketId() { return specialTicketId; }
public EventSeriesOwnerTicketType setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
public Boolean isOnlyForKsi() { return onlyForKsi; }
public EventSeriesOwnerTicketType setOnlyForKsi(Boolean value) { this.onlyForKsi = value; return this; }
public Date getTimestampCreated() { return timestampCreated; }
public EventSeriesOwnerTicketType setTimestampCreated(Date value) { this.timestampCreated = value; return this; }
public Date getTimestampLastChanged() { return timestampLastChanged; }
public EventSeriesOwnerTicketType setTimestampLastChanged(Date value) { this.timestampLastChanged = value; return this; }
public Boolean isTicketsForSalePerEvent() { return ticketsForSalePerEvent; }
public EventSeriesOwnerTicketType setTicketsForSalePerEvent(Boolean value) { this.ticketsForSalePerEvent = value; return this; }
public String getImageUrl() { return imageUrl; }
public EventSeriesOwnerTicketType setImageUrl(String value) { this.imageUrl = value; return this; }
public Boolean isHolderInfoRequired() { return holderInfoRequired; }
public EventSeriesOwnerTicketType setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
public Integer getEventSeriesOwnerSeatingSectionId() { return eventSeriesOwnerSeatingSectionId; }
public EventSeriesOwnerTicketType setEventSeriesOwnerSeatingSectionId(Integer value) { this.eventSeriesOwnerSeatingSectionId = value; return this; }
public Boolean isCanOnlyBeBought() { return canOnlyBeBought; }
public EventSeriesOwnerTicketType setCanOnlyBeBought(Boolean value) { this.canOnlyBeBought = value; return this; }
public Boolean isCanNotBeBought() { return canNotBeBought; }
public EventSeriesOwnerTicketType setCanNotBeBought(Boolean value) { this.canNotBeBought = value; return this; }
public Boolean isBlockTransfer() { return blockTransfer; }
public EventSeriesOwnerTicketType setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
public Integer getMaxTicketsPerTransaction() { return maxTicketsPerTransaction; }
public EventSeriesOwnerTicketType setMaxTicketsPerTransaction(Integer value) { this.maxTicketsPerTransaction = value; return this; }
public Boolean isForceSingleTickets() { return forceSingleTickets; }
public EventSeriesOwnerTicketType setForceSingleTickets(Boolean value) { this.forceSingleTickets = value; return this; }
public Integer getOnlyForEvent() { return onlyForEvent; }
public EventSeriesOwnerTicketType setOnlyForEvent(Integer value) { this.onlyForEvent = value; return this; }
public String getCurrency() { return currency; }
public EventSeriesOwnerTicketType setCurrency(String value) { this.currency = value; return this; }
}
public static class MyOwnerCards
{
public Integer id = null;
public String phoneFullVerificationNumber = null;
public Integer ownerId = null;
public Integer cardTypeId = null;
public String name = null;
public String imageUrl = null;
public String description = null;
public Integer ticketTypeMaxTickets = null;
public Date cardValidFromUTC = null;
public Date cardValidToUTC = null;
public Integer currentAvailableTickets = null;
public Integer initialMaxTickets = null;
public String deviceId = null;
public String holderId = null;
public String holderName = null;
public String holderEmail = null;
public BigDecimal initialStoreCredit = null;
public BigDecimal currentStoreCredit = null;
public Boolean hasStoreCredit = null;
public Date timeStampBoughtUTC = null;
public Integer getId() { return id; }
public MyOwnerCards setId(Integer value) { this.id = value; return this; }
public String getPhoneFullVerificationNumber() { return phoneFullVerificationNumber; }
public MyOwnerCards setPhoneFullVerificationNumber(String value) { this.phoneFullVerificationNumber = value; return this; }
public Integer getOwnerId() { return ownerId; }
public MyOwnerCards setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getCardTypeId() { return cardTypeId; }
public MyOwnerCards setCardTypeId(Integer value) { this.cardTypeId = value; return this; }
public String getName() { return name; }
public MyOwnerCards setName(String value) { this.name = value; return this; }
public String getImageUrl() { return imageUrl; }
public MyOwnerCards setImageUrl(String value) { this.imageUrl = value; return this; }
public String getDescription() { return description; }
public MyOwnerCards setDescription(String value) { this.description = value; return this; }
public Integer getTicketTypeMaxTickets() { return ticketTypeMaxTickets; }
public MyOwnerCards setTicketTypeMaxTickets(Integer value) { this.ticketTypeMaxTickets = value; return this; }
public Date getCardValidFromUTC() { return cardValidFromUTC; }
public MyOwnerCards setCardValidFromUTC(Date value) { this.cardValidFromUTC = value; return this; }
public Date getCardValidToUTC() { return cardValidToUTC; }
public MyOwnerCards setCardValidToUTC(Date value) { this.cardValidToUTC = value; return this; }
public Integer getCurrentAvailableTickets() { return currentAvailableTickets; }
public MyOwnerCards setCurrentAvailableTickets(Integer value) { this.currentAvailableTickets = value; return this; }
public Integer getInitialMaxTickets() { return initialMaxTickets; }
public MyOwnerCards setInitialMaxTickets(Integer value) { this.initialMaxTickets = value; return this; }
public String getDeviceId() { return deviceId; }
public MyOwnerCards setDeviceId(String value) { this.deviceId = value; return this; }
public String getHolderId() { return holderId; }
public MyOwnerCards setHolderId(String value) { this.holderId = value; return this; }
public String getHolderName() { return holderName; }
public MyOwnerCards setHolderName(String value) { this.holderName = value; return this; }
public String getHolderEmail() { return holderEmail; }
public MyOwnerCards setHolderEmail(String value) { this.holderEmail = value; return this; }
public BigDecimal getInitialStoreCredit() { return initialStoreCredit; }
public MyOwnerCards setInitialStoreCredit(BigDecimal value) { this.initialStoreCredit = value; return this; }
public BigDecimal getCurrentStoreCredit() { return currentStoreCredit; }
public MyOwnerCards setCurrentStoreCredit(BigDecimal value) { this.currentStoreCredit = value; return this; }
public Boolean isHasStoreCredit() { return hasStoreCredit; }
public MyOwnerCards setHasStoreCredit(Boolean value) { this.hasStoreCredit = value; return this; }
public Date getTimeStampBoughtUTC() { return timeStampBoughtUTC; }
public MyOwnerCards setTimeStampBoughtUTC(Date value) { this.timeStampBoughtUTC = value; return this; }
}
public static class AppEventSeatingSectionSeriesTicketTypesItem
{
public EventSeriesTicketType ticketType = null;
public ArrayList<MySeriesControllerCards> myCards = null;
public EventSeriesTicketType getTicketType() { return ticketType; }
public AppEventSeatingSectionSeriesTicketTypesItem setTicketType(EventSeriesTicketType value) { this.ticketType = value; return this; }
public ArrayList<MySeriesControllerCards> getMyCards() { return myCards; }
public AppEventSeatingSectionSeriesTicketTypesItem setMyCards(ArrayList<MySeriesControllerCards> value) { this.myCards = value; return this; }
}
public static class EventSeriesTicketType
{
public Integer id = null;
public String name = null;
public BigDecimal defaultPrice = null;
public Integer seriesId = null;
public Integer ticketTypeListOrder = null;
public Boolean isActive = null;
public String ticketColor = null;
public Boolean showUsedTickets = null;
public Boolean isSpecialTicket = null;
public String specialTicketId = null;
public Boolean onlyForKsi = null;
public Boolean holderInfoRequired = null;
public Boolean blockTransfer = null;
public Integer maxTicketsPerTransaction = null;
public String currency = null;
public Integer getId() { return id; }
public EventSeriesTicketType setId(Integer value) { this.id = value; return this; }
public String getName() { return name; }
public EventSeriesTicketType setName(String value) { this.name = value; return this; }
public BigDecimal getDefaultPrice() { return defaultPrice; }
public EventSeriesTicketType setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
public Integer getSeriesId() { return seriesId; }
public EventSeriesTicketType setSeriesId(Integer value) { this.seriesId = value; return this; }
public Integer getTicketTypeListOrder() { return ticketTypeListOrder; }
public EventSeriesTicketType setTicketTypeListOrder(Integer value) { this.ticketTypeListOrder = value; return this; }
public Boolean getIsActive() { return isActive; }
public EventSeriesTicketType setIsActive(Boolean value) { this.isActive = value; return this; }
public String getTicketColor() { return ticketColor; }
public EventSeriesTicketType setTicketColor(String value) { this.ticketColor = value; return this; }
public Boolean isShowUsedTickets() { return showUsedTickets; }
public EventSeriesTicketType setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
public Boolean getIsSpecialTicket() { return isSpecialTicket; }
public EventSeriesTicketType setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
public String getSpecialTicketId() { return specialTicketId; }
public EventSeriesTicketType setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
public Boolean isOnlyForKsi() { return onlyForKsi; }
public EventSeriesTicketType setOnlyForKsi(Boolean value) { this.onlyForKsi = value; return this; }
public Boolean isHolderInfoRequired() { return holderInfoRequired; }
public EventSeriesTicketType setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
public Boolean isBlockTransfer() { return blockTransfer; }
public EventSeriesTicketType setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
public Integer getMaxTicketsPerTransaction() { return maxTicketsPerTransaction; }
public EventSeriesTicketType setMaxTicketsPerTransaction(Integer value) { this.maxTicketsPerTransaction = value; return this; }
public String getCurrency() { return currency; }
public EventSeriesTicketType setCurrency(String value) { this.currency = value; return this; }
}
public static class MySeriesControllerCards
{
public Integer id = null;
public String phoneFullVerificationNumber = null;
public String ownerId = null;
public String cardTypeId = null;
public String name = null;
public String description = null;
public String cardTypeOwner = null;
public Integer maxTicketsPerEvent = null;
public Date creationDate = null;
public String deviceId = null;
public String holderName = null;
public String canTransferToName = null;
public String canTransferToPhoneFullNumber = null;
public String expYear = null;
public String expMonth = null;
public Integer getId() { return id; }
public MySeriesControllerCards setId(Integer value) { this.id = value; return this; }
public String getPhoneFullVerificationNumber() { return phoneFullVerificationNumber; }
public MySeriesControllerCards setPhoneFullVerificationNumber(String value) { this.phoneFullVerificationNumber = value; return this; }
public String getOwnerId() { return ownerId; }
public MySeriesControllerCards setOwnerId(String value) { this.ownerId = value; return this; }
public String getCardTypeId() { return cardTypeId; }
public MySeriesControllerCards setCardTypeId(String value) { this.cardTypeId = value; return this; }
public String getName() { return name; }
public MySeriesControllerCards setName(String value) { this.name = value; return this; }
public String getDescription() { return description; }
public MySeriesControllerCards setDescription(String value) { this.description = value; return this; }
public String getCardTypeOwner() { return cardTypeOwner; }
public MySeriesControllerCards setCardTypeOwner(String value) { this.cardTypeOwner = value; return this; }
public Integer getMaxTicketsPerEvent() { return maxTicketsPerEvent; }
public MySeriesControllerCards setMaxTicketsPerEvent(Integer value) { this.maxTicketsPerEvent = value; return this; }
public Date getCreationDate() { return creationDate; }
public MySeriesControllerCards setCreationDate(Date value) { this.creationDate = value; return this; }
public String getDeviceId() { return deviceId; }
public MySeriesControllerCards setDeviceId(String value) { this.deviceId = value; return this; }
public String getHolderName() { return holderName; }
public MySeriesControllerCards setHolderName(String value) { this.holderName = value; return this; }
public String getCanTransferToName() { return canTransferToName; }
public MySeriesControllerCards setCanTransferToName(String value) { this.canTransferToName = value; return this; }
public String getCanTransferToPhoneFullNumber() { return canTransferToPhoneFullNumber; }
public MySeriesControllerCards setCanTransferToPhoneFullNumber(String value) { this.canTransferToPhoneFullNumber = value; return this; }
public String getExpYear() { return expYear; }
public MySeriesControllerCards setExpYear(String value) { this.expYear = value; return this; }
public String getExpMonth() { return expMonth; }
public MySeriesControllerCards setExpMonth(String value) { this.expMonth = value; return this; }
}
}
Java AppEventSeatingSectionTicketTypesSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AppSeatingTicketTypesInSectionSearch HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"eventId":0,"ownerId":0,"eventSectionId":0,"includeMyPaymentCards":false,"phoneVerificationNumber":"String","deviceId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"statusCode":0,"message":"String","ownerTicketTypes":[{"ticketType":{"id":0,"name":"String","defaultPrice":0,"seriesId":0,"ownerId":0,"ticketTypeListOrder":0,"isActive":false,"maxTickets":0,"ticketColor":"String","showUsedTickets":false,"canOnlyBeBoughtWithTeamPass":false,"isSpecialTicket":false,"specialTicketId":"String","onlyForKsi":false,"timestampCreated":"0001-01-01T00:00:00.0000000","timestampLastChanged":"0001-01-01T00:00:00.0000000","ticketsForSalePerEvent":false,"imageUrl":"String","holderInfoRequired":false,"eventSeriesOwnerSeatingSectionId":0,"canOnlyBeBought":false,"canNotBeBought":false,"blockTransfer":false,"maxTicketsPerTransaction":0,"forceSingleTickets":false,"onlyForEvent":0,"currency":"String"},"myCards":[{"id":0,"phoneFullVerificationNumber":"String","ownerId":0,"cardTypeId":0,"name":"String","imageUrl":"String","description":"String","ticketTypeMaxTickets":0,"cardValidFromUTC":"0001-01-01T00:00:00.0000000","cardValidToUTC":"0001-01-01T00:00:00.0000000","currentAvailableTickets":0,"initialMaxTickets":0,"deviceId":"String","holderId":"String","holderName":"String","holderEmail":"String","initialStoreCredit":0,"currentStoreCredit":0,"hasStoreCredit":false,"timeStampBoughtUTC":"0001-01-01T00:00:00.0000000"}]}],"seriesTicketTypes":[{"ticketType":{"id":0,"name":"String","defaultPrice":0,"seriesId":0,"ticketTypeListOrder":0,"isActive":false,"ticketColor":"String","showUsedTickets":false,"isSpecialTicket":false,"specialTicketId":"String","onlyForKsi":false,"holderInfoRequired":false,"blockTransfer":false,"maxTicketsPerTransaction":0,"currency":"String"},"myCards":[{"id":0,"phoneFullVerificationNumber":"String","ownerId":"String","cardTypeId":"String","name":"String","description":"String","cardTypeOwner":"String","maxTicketsPerEvent":0,"creationDate":"0001-01-01T00:00:00.0000000","deviceId":"String","holderName":"String","canTransferToName":"String","canTransferToPhoneFullNumber":"String","expYear":"String","expMonth":"String"}]}]}