| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
fromEventId: 0,
toEventId: 0,
moves:
[
{
fromSeatId: 0,
toSeatId: 0,
toSeriesTicketTypeId: 0,
toOwnerTicketTypeId: 0
}
],
reason: String,
quoteOnly: False,
expectedPriceDifference: 0,
skipReconciliation: False,
idempotencyKey: String,
userId: 0,
requestUnixUTCTimeStamp: 0,
signature:
{
systemId: String,
systemSecret: String,
signature: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
movedSeatIds:
[
0
],
failures:
[
{
fromSeatId: 0,
toSeatId: 0,
reason: String
}
],
direction: String,
priceDifference: 0,
reconciliationSkipped: False,
sourceEventPaidOut: False,
outstandingCostHandledByServer: False,
reconciliationLogId: 0,
refundAmount: 0,
refundPaymentReference: String,
seats:
[
{
fromSeatId: 0,
toSeatId: 0,
ticketTokenId: String,
fromPrice: 0,
toPrice: 0,
difference: 0,
toSeatName: String,
ok: False,
message: String
}
]
}