| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeatingMoveTicketToAnotherEventInSeries |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EventSeatingMoveTicketToAnotherEventRequest
{
public Integer fromEventId = null;
public Integer toEventId = null;
public ArrayList<MoveTicketToAnotherEventPair> moves = null;
public String reason = null;
public Boolean quoteOnly = null;
public BigDecimal expectedPriceDifference = null;
public Boolean skipReconciliation = null;
public String idempotencyKey = null;
public Integer userId = null;
public Long requestUnixUTCTimeStamp = null;
public RequestSignature signature = null;
public Integer getFromEventId() { return fromEventId; }
public EventSeatingMoveTicketToAnotherEventRequest setFromEventId(Integer value) { this.fromEventId = value; return this; }
public Integer getToEventId() { return toEventId; }
public EventSeatingMoveTicketToAnotherEventRequest setToEventId(Integer value) { this.toEventId = value; return this; }
public ArrayList<MoveTicketToAnotherEventPair> getMoves() { return moves; }
public EventSeatingMoveTicketToAnotherEventRequest setMoves(ArrayList<MoveTicketToAnotherEventPair> value) { this.moves = value; return this; }
public String getReason() { return reason; }
public EventSeatingMoveTicketToAnotherEventRequest setReason(String value) { this.reason = value; return this; }
public Boolean isQuoteOnly() { return quoteOnly; }
public EventSeatingMoveTicketToAnotherEventRequest setQuoteOnly(Boolean value) { this.quoteOnly = value; return this; }
public BigDecimal getExpectedPriceDifference() { return expectedPriceDifference; }
public EventSeatingMoveTicketToAnotherEventRequest setExpectedPriceDifference(BigDecimal value) { this.expectedPriceDifference = value; return this; }
public Boolean isSkipReconciliation() { return skipReconciliation; }
public EventSeatingMoveTicketToAnotherEventRequest setSkipReconciliation(Boolean value) { this.skipReconciliation = value; return this; }
public String getIdempotencyKey() { return idempotencyKey; }
public EventSeatingMoveTicketToAnotherEventRequest setIdempotencyKey(String value) { this.idempotencyKey = value; return this; }
public Integer getUserId() { return userId; }
public EventSeatingMoveTicketToAnotherEventRequest setUserId(Integer value) { this.userId = value; return this; }
public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
public EventSeatingMoveTicketToAnotherEventRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
public RequestSignature getSignature() { return signature; }
public EventSeatingMoveTicketToAnotherEventRequest setSignature(RequestSignature value) { this.signature = value; return this; }
}
public static class MoveTicketToAnotherEventPair
{
public Integer fromSeatId = null;
public Integer toSeatId = null;
public Integer toSeriesTicketTypeId = null;
public Integer toOwnerTicketTypeId = null;
public Integer getFromSeatId() { return fromSeatId; }
public MoveTicketToAnotherEventPair setFromSeatId(Integer value) { this.fromSeatId = value; return this; }
public Integer getToSeatId() { return toSeatId; }
public MoveTicketToAnotherEventPair setToSeatId(Integer value) { this.toSeatId = value; return this; }
public Integer getToSeriesTicketTypeId() { return toSeriesTicketTypeId; }
public MoveTicketToAnotherEventPair setToSeriesTicketTypeId(Integer value) { this.toSeriesTicketTypeId = value; return this; }
public Integer getToOwnerTicketTypeId() { return toOwnerTicketTypeId; }
public MoveTicketToAnotherEventPair setToOwnerTicketTypeId(Integer value) { this.toOwnerTicketTypeId = 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 EventSeatingMoveTicketToAnotherEventResult
{
public Integer statusCode = null;
public String message = null;
public ArrayList<Integer> movedSeatIds = null;
public ArrayList<MoveTicketToAnotherEventFailure> failures = null;
public String direction = null;
public BigDecimal priceDifference = null;
public Boolean reconciliationSkipped = null;
public Boolean sourceEventPaidOut = null;
public Boolean outstandingCostHandledByServer = null;
public Integer reconciliationLogId = null;
public BigDecimal refundAmount = null;
public String refundPaymentReference = null;
public ArrayList<MoveTicketToAnotherEventSeatQuote> seats = null;
public Integer getStatusCode() { return statusCode; }
public EventSeatingMoveTicketToAnotherEventResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public EventSeatingMoveTicketToAnotherEventResult setMessage(String value) { this.message = value; return this; }
public ArrayList<Integer> getMovedSeatIds() { return movedSeatIds; }
public EventSeatingMoveTicketToAnotherEventResult setMovedSeatIds(ArrayList<Integer> value) { this.movedSeatIds = value; return this; }
public ArrayList<MoveTicketToAnotherEventFailure> getFailures() { return failures; }
public EventSeatingMoveTicketToAnotherEventResult setFailures(ArrayList<MoveTicketToAnotherEventFailure> value) { this.failures = value; return this; }
public String getDirection() { return direction; }
public EventSeatingMoveTicketToAnotherEventResult setDirection(String value) { this.direction = value; return this; }
public BigDecimal getPriceDifference() { return priceDifference; }
public EventSeatingMoveTicketToAnotherEventResult setPriceDifference(BigDecimal value) { this.priceDifference = value; return this; }
public Boolean isReconciliationSkipped() { return reconciliationSkipped; }
public EventSeatingMoveTicketToAnotherEventResult setReconciliationSkipped(Boolean value) { this.reconciliationSkipped = value; return this; }
public Boolean isSourceEventPaidOut() { return sourceEventPaidOut; }
public EventSeatingMoveTicketToAnotherEventResult setSourceEventPaidOut(Boolean value) { this.sourceEventPaidOut = value; return this; }
public Boolean isOutstandingCostHandledByServer() { return outstandingCostHandledByServer; }
public EventSeatingMoveTicketToAnotherEventResult setOutstandingCostHandledByServer(Boolean value) { this.outstandingCostHandledByServer = value; return this; }
public Integer getReconciliationLogId() { return reconciliationLogId; }
public EventSeatingMoveTicketToAnotherEventResult setReconciliationLogId(Integer value) { this.reconciliationLogId = value; return this; }
public BigDecimal getRefundAmount() { return refundAmount; }
public EventSeatingMoveTicketToAnotherEventResult setRefundAmount(BigDecimal value) { this.refundAmount = value; return this; }
public String getRefundPaymentReference() { return refundPaymentReference; }
public EventSeatingMoveTicketToAnotherEventResult setRefundPaymentReference(String value) { this.refundPaymentReference = value; return this; }
public ArrayList<MoveTicketToAnotherEventSeatQuote> getSeats() { return seats; }
public EventSeatingMoveTicketToAnotherEventResult setSeats(ArrayList<MoveTicketToAnotherEventSeatQuote> value) { this.seats = value; return this; }
}
public static class MoveTicketToAnotherEventFailure
{
public Integer fromSeatId = null;
public Integer toSeatId = null;
public String reason = null;
public Integer getFromSeatId() { return fromSeatId; }
public MoveTicketToAnotherEventFailure setFromSeatId(Integer value) { this.fromSeatId = value; return this; }
public Integer getToSeatId() { return toSeatId; }
public MoveTicketToAnotherEventFailure setToSeatId(Integer value) { this.toSeatId = value; return this; }
public String getReason() { return reason; }
public MoveTicketToAnotherEventFailure setReason(String value) { this.reason = value; return this; }
}
public static class MoveTicketToAnotherEventSeatQuote
{
public Integer fromSeatId = null;
public Integer toSeatId = null;
public String ticketTokenId = null;
public BigDecimal fromPrice = null;
public BigDecimal toPrice = null;
public BigDecimal difference = null;
public String toSeatName = null;
public Boolean ok = null;
public String message = null;
public Integer getFromSeatId() { return fromSeatId; }
public MoveTicketToAnotherEventSeatQuote setFromSeatId(Integer value) { this.fromSeatId = value; return this; }
public Integer getToSeatId() { return toSeatId; }
public MoveTicketToAnotherEventSeatQuote setToSeatId(Integer value) { this.toSeatId = value; return this; }
public String getTicketTokenId() { return ticketTokenId; }
public MoveTicketToAnotherEventSeatQuote setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
public BigDecimal getFromPrice() { return fromPrice; }
public MoveTicketToAnotherEventSeatQuote setFromPrice(BigDecimal value) { this.fromPrice = value; return this; }
public BigDecimal getToPrice() { return toPrice; }
public MoveTicketToAnotherEventSeatQuote setToPrice(BigDecimal value) { this.toPrice = value; return this; }
public BigDecimal getDifference() { return difference; }
public MoveTicketToAnotherEventSeatQuote setDifference(BigDecimal value) { this.difference = value; return this; }
public String getToSeatName() { return toSeatName; }
public MoveTicketToAnotherEventSeatQuote setToSeatName(String value) { this.toSeatName = value; return this; }
public Boolean isOk() { return ok; }
public MoveTicketToAnotherEventSeatQuote setOk(Boolean value) { this.ok = value; return this; }
public String getMessage() { return message; }
public MoveTicketToAnotherEventSeatQuote setMessage(String value) { this.message = value; return this; }
}
}
Java EventSeatingMoveTicketToAnotherEventRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /EventSeatingMoveTicketToAnotherEventInSeries HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EventSeatingMoveTicketToAnotherEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<ExpectedPriceDifference>0</ExpectedPriceDifference>
<FromEventId>0</FromEventId>
<IdempotencyKey>String</IdempotencyKey>
<Moves>
<MoveTicketToAnotherEventPair>
<FromSeatId>0</FromSeatId>
<ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
<ToSeatId>0</ToSeatId>
<ToSeriesTicketTypeId>0</ToSeriesTicketTypeId>
</MoveTicketToAnotherEventPair>
</Moves>
<QuoteOnly>false</QuoteOnly>
<Reason>String</Reason>
<RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
<Signature>
<Signature>String</Signature>
<SystemId>String</SystemId>
<SystemSecret>String</SystemSecret>
</Signature>
<SkipReconciliation>false</SkipReconciliation>
<ToEventId>0</ToEventId>
<UserId>0</UserId>
</EventSeatingMoveTicketToAnotherEventRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<EventSeatingMoveTicketToAnotherEventResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Direction>String</Direction>
<Failures>
<MoveTicketToAnotherEventFailure>
<FromSeatId>0</FromSeatId>
<Reason>String</Reason>
<ToSeatId>0</ToSeatId>
</MoveTicketToAnotherEventFailure>
</Failures>
<Message>String</Message>
<MovedSeatIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</MovedSeatIds>
<OutstandingCostHandledByServer>false</OutstandingCostHandledByServer>
<PriceDifference>0</PriceDifference>
<ReconciliationLogId>0</ReconciliationLogId>
<ReconciliationSkipped>false</ReconciliationSkipped>
<RefundAmount>0</RefundAmount>
<RefundPaymentReference>String</RefundPaymentReference>
<Seats>
<MoveTicketToAnotherEventSeatQuote>
<Difference>0</Difference>
<FromPrice>0</FromPrice>
<FromSeatId>0</FromSeatId>
<Message>String</Message>
<Ok>false</Ok>
<TicketTokenId>String</TicketTokenId>
<ToPrice>0</ToPrice>
<ToSeatId>0</ToSeatId>
<ToSeatName>String</ToSeatName>
</MoveTicketToAnotherEventSeatQuote>
</Seats>
<SourceEventPaidOut>false</SourceEventPaidOut>
<StatusCode>0</StatusCode>
</EventSeatingMoveTicketToAnotherEventResult>