TicketUserServices

<back to all web services

FindTicketsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/ticketOrder/find
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class FindTicketsRequest
    {
        public String phoneVerificationNumber = null;
        public String deviceId = null;
        public Boolean onlyFromCurrentDate = null;
        public Boolean onlyUnUsed = null;
        public Long requestUnixUTCTimeStamp = null;
        public RequestSignature signature = null;
        public Boolean includeTransferredTickets = null;
        public Date fromDate = null;
        
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public FindTicketsRequest setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public String getDeviceId() { return deviceId; }
        public FindTicketsRequest setDeviceId(String value) { this.deviceId = value; return this; }
        public Boolean isOnlyFromCurrentDate() { return onlyFromCurrentDate; }
        public FindTicketsRequest setOnlyFromCurrentDate(Boolean value) { this.onlyFromCurrentDate = value; return this; }
        public Boolean isOnlyUnUsed() { return onlyUnUsed; }
        public FindTicketsRequest setOnlyUnUsed(Boolean value) { this.onlyUnUsed = value; return this; }
        public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
        public FindTicketsRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
        public RequestSignature getSignature() { return signature; }
        public FindTicketsRequest setSignature(RequestSignature value) { this.signature = value; return this; }
        public Boolean isIncludeTransferredTickets() { return includeTransferredTickets; }
        public FindTicketsRequest setIncludeTransferredTickets(Boolean value) { this.includeTransferredTickets = value; return this; }
        public Date getFromDate() { return fromDate; }
        public FindTicketsRequest setFromDate(Date value) { this.fromDate = 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 TicketOrdersResult
    {
        public EventTicketWithDetails ticketAndDetails = null;
        public ArrayList<EventTicketWithDetails> ticketsAndDetails = null;
        public Boolean needs3DVerification = null;
        public String redirectToACSForm = null;
        public ArrayList<RedirectionACSField> redirectionACSFields = null;
        public Integer statusCode = null;
        public String message = null;
        
        public EventTicketWithDetails getTicketAndDetails() { return ticketAndDetails; }
        public TicketOrdersResult setTicketAndDetails(EventTicketWithDetails value) { this.ticketAndDetails = value; return this; }
        public ArrayList<EventTicketWithDetails> getTicketsAndDetails() { return ticketsAndDetails; }
        public TicketOrdersResult setTicketsAndDetails(ArrayList<EventTicketWithDetails> value) { this.ticketsAndDetails = value; return this; }
        public Boolean isNeeds3DVerification() { return needs3DVerification; }
        public TicketOrdersResult setNeeds3DVerification(Boolean value) { this.needs3DVerification = value; return this; }
        public String getRedirectToACSForm() { return redirectToACSForm; }
        public TicketOrdersResult setRedirectToACSForm(String value) { this.redirectToACSForm = value; return this; }
        public ArrayList<RedirectionACSField> getRedirectionACSFields() { return redirectionACSFields; }
        public TicketOrdersResult setRedirectionACSFields(ArrayList<RedirectionACSField> value) { this.redirectionACSFields = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public TicketOrdersResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public TicketOrdersResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventTicketWithDetails
    {
        public Ticket eventTicket = null;
        public ArrayList<TicketDetailsInfo> eventTicketDetails = null;
        public EventDetails eventInfo = null;
        public Boolean eventIsToday = null;
        public Boolean eventisLive = null;
        public Long minutesToEvent = null;
        
        public Ticket getEventTicket() { return eventTicket; }
        public EventTicketWithDetails setEventTicket(Ticket value) { this.eventTicket = value; return this; }
        public ArrayList<TicketDetailsInfo> getEventTicketDetails() { return eventTicketDetails; }
        public EventTicketWithDetails setEventTicketDetails(ArrayList<TicketDetailsInfo> value) { this.eventTicketDetails = value; return this; }
        public EventDetails getEventInfo() { return eventInfo; }
        public EventTicketWithDetails setEventInfo(EventDetails value) { this.eventInfo = value; return this; }
        public Boolean isEventIsToday() { return eventIsToday; }
        public EventTicketWithDetails setEventIsToday(Boolean value) { this.eventIsToday = value; return this; }
        public Boolean isEventisLive() { return eventisLive; }
        public EventTicketWithDetails setEventisLive(Boolean value) { this.eventisLive = value; return this; }
        public Long getMinutesToEvent() { return minutesToEvent; }
        public EventTicketWithDetails setMinutesToEvent(Long value) { this.minutesToEvent = value; return this; }
    }

    public static class Ticket
    {
        public Integer id = null;
        public Integer userId = null;
        public Integer userAuthId = null;
        public Integer eventId = null;
        public Date timestampBought = null;
        public Date timestampActivated = null;
        public Date timeStampOrdered = null;
        public String deviceId = null;
        public Integer phoneVerificationId = null;
        public String paymentMethodId = null;
        public String paymentReference = null;
        public String ticketStatus = null;
        public String phoneVerificationNumber = null;
        public String ticketTokenId = null;
        public String paymentPhoneNumber = null;
        public Integer ticketTransferredFrom = null;
        public String originalPhoneVerificationNumber = null;
        public Integer teamPassId = null;
        public String paymentId = null;
        public Boolean isFree = null;
        public String freeTicketFromId = null;
        public String freeTicketFromTypeId = null;
        public String freeTicketCardTypeId = null;
        public Integer freeTicketCardId = null;
        public BigDecimal totalPaidForTicket = null;
        public String seatsReservationId = null;
        public Date timeStampLastStatusChange = null;
        public String lastTicketStatus = null;
        public String scanCode = null;
        public String scanCodeType = null;
        public Boolean scanCodeNotActive = null;
        public Boolean multipleScanCodes = null;
        public String currency = null;
        public Boolean ticketHasExpired = null;
        
        public Integer getId() { return id; }
        public Ticket setId(Integer value) { this.id = value; return this; }
        public Integer getUserId() { return userId; }
        public Ticket setUserId(Integer value) { this.userId = value; return this; }
        public Integer getUserAuthId() { return userAuthId; }
        public Ticket setUserAuthId(Integer value) { this.userAuthId = value; return this; }
        public Integer getEventId() { return eventId; }
        public Ticket setEventId(Integer value) { this.eventId = value; return this; }
        public Date getTimestampBought() { return timestampBought; }
        public Ticket setTimestampBought(Date value) { this.timestampBought = value; return this; }
        public Date getTimestampActivated() { return timestampActivated; }
        public Ticket setTimestampActivated(Date value) { this.timestampActivated = value; return this; }
        public Date getTimeStampOrdered() { return timeStampOrdered; }
        public Ticket setTimeStampOrdered(Date value) { this.timeStampOrdered = value; return this; }
        public String getDeviceId() { return deviceId; }
        public Ticket setDeviceId(String value) { this.deviceId = value; return this; }
        public Integer getPhoneVerificationId() { return phoneVerificationId; }
        public Ticket setPhoneVerificationId(Integer value) { this.phoneVerificationId = value; return this; }
        public String getPaymentMethodId() { return paymentMethodId; }
        public Ticket setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
        public String getPaymentReference() { return paymentReference; }
        public Ticket setPaymentReference(String value) { this.paymentReference = value; return this; }
        public String getTicketStatus() { return ticketStatus; }
        public Ticket setTicketStatus(String value) { this.ticketStatus = value; return this; }
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public Ticket setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public String getTicketTokenId() { return ticketTokenId; }
        public Ticket setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
        public String getPaymentPhoneNumber() { return paymentPhoneNumber; }
        public Ticket setPaymentPhoneNumber(String value) { this.paymentPhoneNumber = value; return this; }
        public Integer getTicketTransferredFrom() { return ticketTransferredFrom; }
        public Ticket setTicketTransferredFrom(Integer value) { this.ticketTransferredFrom = value; return this; }
        public String getOriginalPhoneVerificationNumber() { return originalPhoneVerificationNumber; }
        public Ticket setOriginalPhoneVerificationNumber(String value) { this.originalPhoneVerificationNumber = value; return this; }
        public Integer getTeamPassId() { return teamPassId; }
        public Ticket setTeamPassId(Integer value) { this.teamPassId = value; return this; }
        public String getPaymentId() { return paymentId; }
        public Ticket setPaymentId(String value) { this.paymentId = value; return this; }
        public Boolean getIsFree() { return isFree; }
        public Ticket setIsFree(Boolean value) { this.isFree = value; return this; }
        public String getFreeTicketFromId() { return freeTicketFromId; }
        public Ticket setFreeTicketFromId(String value) { this.freeTicketFromId = value; return this; }
        public String getFreeTicketFromTypeId() { return freeTicketFromTypeId; }
        public Ticket setFreeTicketFromTypeId(String value) { this.freeTicketFromTypeId = value; return this; }
        public String getFreeTicketCardTypeId() { return freeTicketCardTypeId; }
        public Ticket setFreeTicketCardTypeId(String value) { this.freeTicketCardTypeId = value; return this; }
        public Integer getFreeTicketCardId() { return freeTicketCardId; }
        public Ticket setFreeTicketCardId(Integer value) { this.freeTicketCardId = value; return this; }
        public BigDecimal getTotalPaidForTicket() { return totalPaidForTicket; }
        public Ticket setTotalPaidForTicket(BigDecimal value) { this.totalPaidForTicket = value; return this; }
        public String getSeatsReservationId() { return seatsReservationId; }
        public Ticket setSeatsReservationId(String value) { this.seatsReservationId = value; return this; }
        public Date getTimeStampLastStatusChange() { return timeStampLastStatusChange; }
        public Ticket setTimeStampLastStatusChange(Date value) { this.timeStampLastStatusChange = value; return this; }
        public String getLastTicketStatus() { return lastTicketStatus; }
        public Ticket setLastTicketStatus(String value) { this.lastTicketStatus = value; return this; }
        public String getScanCode() { return scanCode; }
        public Ticket setScanCode(String value) { this.scanCode = value; return this; }
        public String getScanCodeType() { return scanCodeType; }
        public Ticket setScanCodeType(String value) { this.scanCodeType = value; return this; }
        public Boolean isScanCodeNotActive() { return scanCodeNotActive; }
        public Ticket setScanCodeNotActive(Boolean value) { this.scanCodeNotActive = value; return this; }
        public Boolean isMultipleScanCodes() { return multipleScanCodes; }
        public Ticket setMultipleScanCodes(Boolean value) { this.multipleScanCodes = value; return this; }
        public String getCurrency() { return currency; }
        public Ticket setCurrency(String value) { this.currency = value; return this; }
        public Boolean isTicketHasExpired() { return ticketHasExpired; }
        public Ticket setTicketHasExpired(Boolean value) { this.ticketHasExpired = value; return this; }
    }

    public static class TicketDetailsInfo extends TicketDetails
    {
        public Boolean holderInfoRequired = null;
        public Boolean blockTransfer = null;
        public String ticketTypeImageUrl = null;
        public ArrayList<TicketHolderInfo> ticketHolders = null;
        public ArrayList<ExternalGateAccessCodeInfo> gateAccessCodes = null;
        
        public Boolean isHolderInfoRequired() { return holderInfoRequired; }
        public TicketDetailsInfo setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
        public Boolean isBlockTransfer() { return blockTransfer; }
        public TicketDetailsInfo setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
        public String getTicketTypeImageUrl() { return ticketTypeImageUrl; }
        public TicketDetailsInfo setTicketTypeImageUrl(String value) { this.ticketTypeImageUrl = value; return this; }
        public ArrayList<TicketHolderInfo> getTicketHolders() { return ticketHolders; }
        public TicketDetailsInfo setTicketHolders(ArrayList<TicketHolderInfo> value) { this.ticketHolders = value; return this; }
        public ArrayList<ExternalGateAccessCodeInfo> getGateAccessCodes() { return gateAccessCodes; }
        public TicketDetailsInfo setGateAccessCodes(ArrayList<ExternalGateAccessCodeInfo> value) { this.gateAccessCodes = value; return this; }
    }

    public static class TicketDetails
    {
        public Integer id = null;
        public Integer ticketId = null;
        public Integer eventSeriesTicketType = null;
        public Integer eventSeriesOwnerTicketType = null;
        public BigDecimal ticketPrice = null;
        public BigDecimal totalPrice = null;
        public Integer count = null;
        public String ticketColor = null;
        public Boolean showUsedTickets = null;
        public String ticketName = null;
        public String ticketDisplayString = null;
        public Integer ticketDetailsTransferredFrom = null;
        public Integer teamPassId = null;
        public Boolean isSpecialTicket = null;
        public String specialTicketId = null;
        public Boolean justChangedBySQL = null;
        public Date sqlJustChangedTimeStamp = null;
        public String currency = null;
        
        public Integer getId() { return id; }
        public TicketDetails setId(Integer value) { this.id = value; return this; }
        public Integer getTicketId() { return ticketId; }
        public TicketDetails setTicketId(Integer value) { this.ticketId = value; return this; }
        public Integer getEventSeriesTicketType() { return eventSeriesTicketType; }
        public TicketDetails setEventSeriesTicketType(Integer value) { this.eventSeriesTicketType = value; return this; }
        public Integer getEventSeriesOwnerTicketType() { return eventSeriesOwnerTicketType; }
        public TicketDetails setEventSeriesOwnerTicketType(Integer value) { this.eventSeriesOwnerTicketType = value; return this; }
        public BigDecimal getTicketPrice() { return ticketPrice; }
        public TicketDetails setTicketPrice(BigDecimal value) { this.ticketPrice = value; return this; }
        public BigDecimal getTotalPrice() { return totalPrice; }
        public TicketDetails setTotalPrice(BigDecimal value) { this.totalPrice = value; return this; }
        public Integer getCount() { return count; }
        public TicketDetails setCount(Integer value) { this.count = value; return this; }
        public String getTicketColor() { return ticketColor; }
        public TicketDetails setTicketColor(String value) { this.ticketColor = value; return this; }
        public Boolean isShowUsedTickets() { return showUsedTickets; }
        public TicketDetails setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
        public String getTicketName() { return ticketName; }
        public TicketDetails setTicketName(String value) { this.ticketName = value; return this; }
        public String getTicketDisplayString() { return ticketDisplayString; }
        public TicketDetails setTicketDisplayString(String value) { this.ticketDisplayString = value; return this; }
        public Integer getTicketDetailsTransferredFrom() { return ticketDetailsTransferredFrom; }
        public TicketDetails setTicketDetailsTransferredFrom(Integer value) { this.ticketDetailsTransferredFrom = value; return this; }
        public Integer getTeamPassId() { return teamPassId; }
        public TicketDetails setTeamPassId(Integer value) { this.teamPassId = value; return this; }
        public Boolean getIsSpecialTicket() { return isSpecialTicket; }
        public TicketDetails setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
        public String getSpecialTicketId() { return specialTicketId; }
        public TicketDetails setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
        public Boolean isJustChangedBySQL() { return justChangedBySQL; }
        public TicketDetails setJustChangedBySQL(Boolean value) { this.justChangedBySQL = value; return this; }
        public Date getSqlJustChangedTimeStamp() { return sqlJustChangedTimeStamp; }
        public TicketDetails setSqlJustChangedTimeStamp(Date value) { this.sqlJustChangedTimeStamp = value; return this; }
        public String getCurrency() { return currency; }
        public TicketDetails setCurrency(String value) { this.currency = value; return this; }
    }

    public static class TicketHolderInfo
    {
        public String name = null;
        public String fullPhoneNumber = null;
        public String holderId = null;
        public Integer seatId = null;
        public String seatDisplayString = null;
        
        public String getName() { return name; }
        public TicketHolderInfo setName(String value) { this.name = value; return this; }
        public String getFullPhoneNumber() { return fullPhoneNumber; }
        public TicketHolderInfo setFullPhoneNumber(String value) { this.fullPhoneNumber = value; return this; }
        public String getHolderId() { return holderId; }
        public TicketHolderInfo setHolderId(String value) { this.holderId = value; return this; }
        public Integer getSeatId() { return seatId; }
        public TicketHolderInfo setSeatId(Integer value) { this.seatId = value; return this; }
        public String getSeatDisplayString() { return seatDisplayString; }
        public TicketHolderInfo setSeatDisplayString(String value) { this.seatDisplayString = value; return this; }
    }

    public static class ExternalGateAccessCodeInfo
    {
        public String code = null;
        public String codeType = null;
        public String codeUrl = null;
        public Date validFrom = null;
        public Date validTo = null;
        
        public String getCode() { return code; }
        public ExternalGateAccessCodeInfo setCode(String value) { this.code = value; return this; }
        public String getCodeType() { return codeType; }
        public ExternalGateAccessCodeInfo setCodeType(String value) { this.codeType = value; return this; }
        public String getCodeUrl() { return codeUrl; }
        public ExternalGateAccessCodeInfo setCodeUrl(String value) { this.codeUrl = value; return this; }
        public Date getValidFrom() { return validFrom; }
        public ExternalGateAccessCodeInfo setValidFrom(Date value) { this.validFrom = value; return this; }
        public Date getValidTo() { return validTo; }
        public ExternalGateAccessCodeInfo setValidTo(Date value) { this.validTo = value; return this; }
    }

    public static class EventDetails
    {
        public Integer id = null;
        public String name = null;
        public String description = null;
        public String externalReference = null;
        public Date timeOfEvent = null;
        public Integer eventLocationId = null;
        public Integer eventSeriesId = null;
        public Integer eventOwnerId = null;
        public Boolean eventActive = null;
        public String eventOwnerName = null;
        public String externalOwnerId = null;
        public String teamAwayId = null;
        public String teamAwayName = null;
        public String eventSeriesName = null;
        public String eventLocationName = null;
        public BigDecimal latitude = null;
        public BigDecimal longitude = null;
        public String defaultValues = null;
        public String externalReferenceType = null;
        public Boolean eventSeriesActive = null;
        public String allowedKsiCard = null;
        public String seriesId = null;
        public Boolean seriesShowByDefault = null;
        public Boolean postponedNoDate = null;
        public String awayTeamExternalId = null;
        public String sportGenderId = null;
        public String externalIdType = null;
        public Boolean seriesEventSaleSuspended = null;
        public Date seriesSaleSuspensionEventStartDate = null;
        public Date seriesSaleSuspensionEventEndDate = null;
        public Boolean saleIsActive = null;
        public Boolean hideEvent = null;
        public String imageUrl2 = null;
        public String directAccessCode = null;
        public String imageUrl = null;
        public String detailedDescription = null;
        public String ownerImageUrl = null;
        public String ownerImageUrl2 = null;
        public Boolean ownerCardsNotAllowed = null;
        public String seatingImageUrl = null;
        public Date endOfEvent = null;
        public Date endOfEventUTC = null;
        public String timeZone = null;
        public Date timeOfEventUTC = null;
        
        public Integer getId() { return id; }
        public EventDetails setId(Integer value) { this.id = value; return this; }
        public String getName() { return name; }
        public EventDetails setName(String value) { this.name = value; return this; }
        public String getDescription() { return description; }
        public EventDetails setDescription(String value) { this.description = value; return this; }
        public String getExternalReference() { return externalReference; }
        public EventDetails setExternalReference(String value) { this.externalReference = value; return this; }
        public Date getTimeOfEvent() { return timeOfEvent; }
        public EventDetails setTimeOfEvent(Date value) { this.timeOfEvent = value; return this; }
        public Integer getEventLocationId() { return eventLocationId; }
        public EventDetails setEventLocationId(Integer value) { this.eventLocationId = value; return this; }
        public Integer getEventSeriesId() { return eventSeriesId; }
        public EventDetails setEventSeriesId(Integer value) { this.eventSeriesId = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventDetails setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Boolean isEventActive() { return eventActive; }
        public EventDetails setEventActive(Boolean value) { this.eventActive = value; return this; }
        public String getEventOwnerName() { return eventOwnerName; }
        public EventDetails setEventOwnerName(String value) { this.eventOwnerName = value; return this; }
        public String getExternalOwnerId() { return externalOwnerId; }
        public EventDetails setExternalOwnerId(String value) { this.externalOwnerId = value; return this; }
        public String getTeamAwayId() { return teamAwayId; }
        public EventDetails setTeamAwayId(String value) { this.teamAwayId = value; return this; }
        public String getTeamAwayName() { return teamAwayName; }
        public EventDetails setTeamAwayName(String value) { this.teamAwayName = value; return this; }
        public String getEventSeriesName() { return eventSeriesName; }
        public EventDetails setEventSeriesName(String value) { this.eventSeriesName = value; return this; }
        public String getEventLocationName() { return eventLocationName; }
        public EventDetails setEventLocationName(String value) { this.eventLocationName = value; return this; }
        public BigDecimal getLatitude() { return latitude; }
        public EventDetails setLatitude(BigDecimal value) { this.latitude = value; return this; }
        public BigDecimal getLongitude() { return longitude; }
        public EventDetails setLongitude(BigDecimal value) { this.longitude = value; return this; }
        public String getDefaultValues() { return defaultValues; }
        public EventDetails setDefaultValues(String value) { this.defaultValues = value; return this; }
        public String getExternalReferenceType() { return externalReferenceType; }
        public EventDetails setExternalReferenceType(String value) { this.externalReferenceType = value; return this; }
        public Boolean isEventSeriesActive() { return eventSeriesActive; }
        public EventDetails setEventSeriesActive(Boolean value) { this.eventSeriesActive = value; return this; }
        public String getAllowedKsiCard() { return allowedKsiCard; }
        public EventDetails setAllowedKsiCard(String value) { this.allowedKsiCard = value; return this; }
        public String getSeriesId() { return seriesId; }
        public EventDetails setSeriesId(String value) { this.seriesId = value; return this; }
        public Boolean isSeriesShowByDefault() { return seriesShowByDefault; }
        public EventDetails setSeriesShowByDefault(Boolean value) { this.seriesShowByDefault = value; return this; }
        public Boolean isPostponedNoDate() { return postponedNoDate; }
        public EventDetails setPostponedNoDate(Boolean value) { this.postponedNoDate = value; return this; }
        public String getAwayTeamExternalId() { return awayTeamExternalId; }
        public EventDetails setAwayTeamExternalId(String value) { this.awayTeamExternalId = value; return this; }
        public String getSportGenderId() { return sportGenderId; }
        public EventDetails setSportGenderId(String value) { this.sportGenderId = value; return this; }
        public String getExternalIdType() { return externalIdType; }
        public EventDetails setExternalIdType(String value) { this.externalIdType = value; return this; }
        public Boolean isSeriesEventSaleSuspended() { return seriesEventSaleSuspended; }
        public EventDetails setSeriesEventSaleSuspended(Boolean value) { this.seriesEventSaleSuspended = value; return this; }
        public Date getSeriesSaleSuspensionEventStartDate() { return seriesSaleSuspensionEventStartDate; }
        public EventDetails setSeriesSaleSuspensionEventStartDate(Date value) { this.seriesSaleSuspensionEventStartDate = value; return this; }
        public Date getSeriesSaleSuspensionEventEndDate() { return seriesSaleSuspensionEventEndDate; }
        public EventDetails setSeriesSaleSuspensionEventEndDate(Date value) { this.seriesSaleSuspensionEventEndDate = value; return this; }
        public Boolean isSaleIsActive() { return saleIsActive; }
        public EventDetails setSaleIsActive(Boolean value) { this.saleIsActive = value; return this; }
        public Boolean isHideEvent() { return hideEvent; }
        public EventDetails setHideEvent(Boolean value) { this.hideEvent = value; return this; }
        public String getImageUrl2() { return imageUrl2; }
        public EventDetails setImageUrl2(String value) { this.imageUrl2 = value; return this; }
        public String getDirectAccessCode() { return directAccessCode; }
        public EventDetails setDirectAccessCode(String value) { this.directAccessCode = value; return this; }
        public String getImageUrl() { return imageUrl; }
        public EventDetails setImageUrl(String value) { this.imageUrl = value; return this; }
        public String getDetailedDescription() { return detailedDescription; }
        public EventDetails setDetailedDescription(String value) { this.detailedDescription = value; return this; }
        public String getOwnerImageUrl() { return ownerImageUrl; }
        public EventDetails setOwnerImageUrl(String value) { this.ownerImageUrl = value; return this; }
        public String getOwnerImageUrl2() { return ownerImageUrl2; }
        public EventDetails setOwnerImageUrl2(String value) { this.ownerImageUrl2 = value; return this; }
        public Boolean isOwnerCardsNotAllowed() { return ownerCardsNotAllowed; }
        public EventDetails setOwnerCardsNotAllowed(Boolean value) { this.ownerCardsNotAllowed = value; return this; }
        public String getSeatingImageUrl() { return seatingImageUrl; }
        public EventDetails setSeatingImageUrl(String value) { this.seatingImageUrl = value; return this; }
        public Date getEndOfEvent() { return endOfEvent; }
        public EventDetails setEndOfEvent(Date value) { this.endOfEvent = value; return this; }
        public Date getEndOfEventUTC() { return endOfEventUTC; }
        public EventDetails setEndOfEventUTC(Date value) { this.endOfEventUTC = value; return this; }
        public String getTimeZone() { return timeZone; }
        public EventDetails setTimeZone(String value) { this.timeZone = value; return this; }
        public Date getTimeOfEventUTC() { return timeOfEventUTC; }
        public EventDetails setTimeOfEventUTC(Date value) { this.timeOfEventUTC = value; return this; }
    }

    public static class RedirectionACSField
    {
        public String name = null;
        public String value = null;
        
        public String getName() { return name; }
        public RedirectionACSField setName(String value) { this.name = value; return this; }
        public String getValue() { return value; }
        public RedirectionACSField setValue(String value) { this.value = value; return this; }
    }

}

Java FindTicketsRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ticketOrder/find HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"phoneVerificationNumber":"String","deviceId":"String","onlyFromCurrentDate":false,"onlyUnUsed":false,"requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"},"includeTransferredTickets":false,"fromDate":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ticketAndDetails":{"eventTicket":{"id":0,"userId":0,"userAuthId":0,"eventId":0,"timestampBought":"0001-01-01T00:00:00.0000000","timestampActivated":"0001-01-01T00:00:00.0000000","timeStampOrdered":"0001-01-01T00:00:00.0000000","deviceId":"String","phoneVerificationId":0,"paymentMethodId":"String","paymentReference":"String","ticketStatus":"String","phoneVerificationNumber":"String","ticketTokenId":"String","paymentPhoneNumber":"String","ticketTransferredFrom":0,"originalPhoneVerificationNumber":"String","teamPassId":0,"paymentId":"String","isFree":false,"freeTicketFromId":"String","freeTicketFromTypeId":"String","freeTicketCardTypeId":"String","freeTicketCardId":0,"totalPaidForTicket":0,"seatsReservationId":"String","timeStampLastStatusChange":"0001-01-01T00:00:00.0000000","lastTicketStatus":"String","scanCode":"String","scanCodeType":"String","scanCodeNotActive":false,"multipleScanCodes":false,"currency":"String","ticketHasExpired":false},"eventTicketDetails":[{}],"eventInfo":{"id":0,"name":"String","description":"String","externalReference":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","eventLocationId":0,"eventSeriesId":0,"eventOwnerId":0,"eventActive":false,"eventOwnerName":"String","externalOwnerId":"String","teamAwayId":"String","teamAwayName":"String","eventSeriesName":"String","eventLocationName":"String","latitude":0,"longitude":0,"defaultValues":"String","externalReferenceType":"String","eventSeriesActive":false,"allowedKsiCard":"String","seriesId":"String","seriesShowByDefault":false,"postponedNoDate":false,"awayTeamExternalId":"String","sportGenderId":"String","externalIdType":"String","seriesEventSaleSuspended":false,"seriesSaleSuspensionEventStartDate":"0001-01-01T00:00:00.0000000","seriesSaleSuspensionEventEndDate":"0001-01-01T00:00:00.0000000","saleIsActive":false,"hideEvent":false,"imageUrl2":"String","directAccessCode":"String","imageUrl":"String","detailedDescription":"String","ownerImageUrl":"String","ownerImageUrl2":"String","ownerCardsNotAllowed":false,"seatingImageUrl":"String","endOfEvent":"0001-01-01T00:00:00.0000000","endOfEventUTC":"0001-01-01T00:00:00.0000000","timeZone":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000"},"eventIsToday":false,"eventisLive":false,"minutesToEvent":0},"ticketsAndDetails":[{"eventTicket":{"id":0,"userId":0,"userAuthId":0,"eventId":0,"timestampBought":"0001-01-01T00:00:00.0000000","timestampActivated":"0001-01-01T00:00:00.0000000","timeStampOrdered":"0001-01-01T00:00:00.0000000","deviceId":"String","phoneVerificationId":0,"paymentMethodId":"String","paymentReference":"String","ticketStatus":"String","phoneVerificationNumber":"String","ticketTokenId":"String","paymentPhoneNumber":"String","ticketTransferredFrom":0,"originalPhoneVerificationNumber":"String","teamPassId":0,"paymentId":"String","isFree":false,"freeTicketFromId":"String","freeTicketFromTypeId":"String","freeTicketCardTypeId":"String","freeTicketCardId":0,"totalPaidForTicket":0,"seatsReservationId":"String","timeStampLastStatusChange":"0001-01-01T00:00:00.0000000","lastTicketStatus":"String","scanCode":"String","scanCodeType":"String","scanCodeNotActive":false,"multipleScanCodes":false,"currency":"String","ticketHasExpired":false},"eventTicketDetails":[{}],"eventInfo":{"id":0,"name":"String","description":"String","externalReference":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","eventLocationId":0,"eventSeriesId":0,"eventOwnerId":0,"eventActive":false,"eventOwnerName":"String","externalOwnerId":"String","teamAwayId":"String","teamAwayName":"String","eventSeriesName":"String","eventLocationName":"String","latitude":0,"longitude":0,"defaultValues":"String","externalReferenceType":"String","eventSeriesActive":false,"allowedKsiCard":"String","seriesId":"String","seriesShowByDefault":false,"postponedNoDate":false,"awayTeamExternalId":"String","sportGenderId":"String","externalIdType":"String","seriesEventSaleSuspended":false,"seriesSaleSuspensionEventStartDate":"0001-01-01T00:00:00.0000000","seriesSaleSuspensionEventEndDate":"0001-01-01T00:00:00.0000000","saleIsActive":false,"hideEvent":false,"imageUrl2":"String","directAccessCode":"String","imageUrl":"String","detailedDescription":"String","ownerImageUrl":"String","ownerImageUrl2":"String","ownerCardsNotAllowed":false,"seatingImageUrl":"String","endOfEvent":"0001-01-01T00:00:00.0000000","endOfEventUTC":"0001-01-01T00:00:00.0000000","timeZone":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000"},"eventIsToday":false,"eventisLive":false,"minutesToEvent":0}],"needs3DVerification":false,"redirectToACSForm":"String","redirectionACSFields":[{"name":"String","value":"String"}],"statusCode":0,"message":"String"}