TicketUserServices

<back to all web services

TicketHoldReleaseRequest

The following routes are available for this service:
POST/ticketHold/release
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class TicketHoldReleaseRequest
    {
        public String reservationTokenId = null;
        public Long requestUnixUTCTimeStamp = null;
        public RequestSignature signature = null;
        
        public String getReservationTokenId() { return reservationTokenId; }
        public TicketHoldReleaseRequest setReservationTokenId(String value) { this.reservationTokenId = value; return this; }
        public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
        public TicketHoldReleaseRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
        public RequestSignature getSignature() { return signature; }
        public TicketHoldReleaseRequest 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 TicketHoldResult
    {
        public Integer statusCode = null;
        public String message = null;
        public String reservationTokenId = null;
        public Date expiresUtc = null;
        public ArrayList<CategoryHoldLine> lines = null;
        public ArrayList<CategoryAvailability> perCategory = null;
        public Boolean scarcity = null;
        
        public Integer getStatusCode() { return statusCode; }
        public TicketHoldResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public TicketHoldResult setMessage(String value) { this.message = value; return this; }
        public String getReservationTokenId() { return reservationTokenId; }
        public TicketHoldResult setReservationTokenId(String value) { this.reservationTokenId = value; return this; }
        public Date getExpiresUtc() { return expiresUtc; }
        public TicketHoldResult setExpiresUtc(Date value) { this.expiresUtc = value; return this; }
        public ArrayList<CategoryHoldLine> getLines() { return lines; }
        public TicketHoldResult setLines(ArrayList<CategoryHoldLine> value) { this.lines = value; return this; }
        public ArrayList<CategoryAvailability> getPerCategory() { return perCategory; }
        public TicketHoldResult setPerCategory(ArrayList<CategoryAvailability> value) { this.perCategory = value; return this; }
        public Boolean isScarcity() { return scarcity; }
        public TicketHoldResult setScarcity(Boolean value) { this.scarcity = value; return this; }
    }

    public static class CategoryHoldLine
    {
        public Integer eventSeriesTicketType = null;
        public Integer eventSeriesOwnerTicketType = null;
        public Integer quantity = null;
        
        public Integer getEventSeriesTicketType() { return eventSeriesTicketType; }
        public CategoryHoldLine setEventSeriesTicketType(Integer value) { this.eventSeriesTicketType = value; return this; }
        public Integer getEventSeriesOwnerTicketType() { return eventSeriesOwnerTicketType; }
        public CategoryHoldLine setEventSeriesOwnerTicketType(Integer value) { this.eventSeriesOwnerTicketType = value; return this; }
        public Integer getQuantity() { return quantity; }
        public CategoryHoldLine setQuantity(Integer value) { this.quantity = value; return this; }
    }

    public static class CategoryAvailability
    {
        public Integer eventSeriesTicketType = null;
        public Integer eventSeriesOwnerTicketType = null;
        public Integer maxTickets = null;
        public Integer remaining = null;
        
        public Integer getEventSeriesTicketType() { return eventSeriesTicketType; }
        public CategoryAvailability setEventSeriesTicketType(Integer value) { this.eventSeriesTicketType = value; return this; }
        public Integer getEventSeriesOwnerTicketType() { return eventSeriesOwnerTicketType; }
        public CategoryAvailability setEventSeriesOwnerTicketType(Integer value) { this.eventSeriesOwnerTicketType = value; return this; }
        public Integer getMaxTickets() { return maxTickets; }
        public CategoryAvailability setMaxTickets(Integer value) { this.maxTickets = value; return this; }
        public Integer getRemaining() { return remaining; }
        public CategoryAvailability setRemaining(Integer value) { this.remaining = value; return this; }
    }

}

Java TicketHoldReleaseRequest DTOs

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

HTTP + XML

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

POST /ticketHold/release HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<TicketHoldReleaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
  <ReservationTokenId>String</ReservationTokenId>
  <Signature>
    <Signature>String</Signature>
    <SystemId>String</SystemId>
    <SystemSecret>String</SystemSecret>
  </Signature>
</TicketHoldReleaseRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TicketHoldResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <ExpiresUtc>0001-01-01T00:00:00</ExpiresUtc>
  <Lines>
    <CategoryHoldLine>
      <EventSeriesOwnerTicketType>0</EventSeriesOwnerTicketType>
      <EventSeriesTicketType>0</EventSeriesTicketType>
      <Quantity>0</Quantity>
    </CategoryHoldLine>
  </Lines>
  <Message>String</Message>
  <PerCategory>
    <CategoryAvailability>
      <EventSeriesOwnerTicketType>0</EventSeriesOwnerTicketType>
      <EventSeriesTicketType>0</EventSeriesTicketType>
      <MaxTickets>0</MaxTickets>
      <Remaining>0</Remaining>
    </CategoryAvailability>
  </PerCategory>
  <ReservationTokenId>String</ReservationTokenId>
  <Scarcity>false</Scarcity>
  <StatusCode>0</StatusCode>
</TicketHoldResult>