TicketUserServices

<back to all web services

ReseatQuoteRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/EventSeating/ReseatQuote
ReseatQuoteRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyintNo
MovesbodyList<ReseatMovePair>No
ReseatMovePair Parameters:
NameParameterData TypeRequiredDescription
FromSeatIdformintNo
ToSeatIdformintNo
ToOwnerTicketTypeIdformint?No
ReseatQuoteResult Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
StatusCodeformintNo
MessageformstringNo
TotalFromPriceformdecimalNo
TotalToPriceformdecimalNo
PriceDifferenceformdecimalNo
DirectionformstringNo
RefundableViaBorgunformboolNo
PaymentReferenceformstringNo
SeatsformList<ReseatSeatQuote>No
ReseatSeatQuote Parameters:
NameParameterData TypeRequiredDescription
FromSeatIdformintNo
ToSeatIdformintNo
TicketTokenIdformstringNo
FromPriceformdecimalNo
ToPriceformdecimalNo
DifferenceformdecimalNo
ToSectionNameformstringNo
ToSeatNameformstringNo
OkformboolNo
MessageformstringNo

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 /EventSeating/ReseatQuote HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ReseatQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <EventId>0</EventId>
  <Moves>
    <ReseatMovePair>
      <FromSeatId>0</FromSeatId>
      <ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
      <ToSeatId>0</ToSeatId>
    </ReseatMovePair>
  </Moves>
</ReseatQuoteRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ReseatQuoteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Direction>String</Direction>
  <Message>String</Message>
  <Ok>false</Ok>
  <PaymentReference>String</PaymentReference>
  <PriceDifference>0</PriceDifference>
  <RefundableViaBorgun>false</RefundableViaBorgun>
  <Seats>
    <ReseatSeatQuote>
      <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>
      <ToSectionName>String</ToSectionName>
    </ReseatSeatQuote>
  </Seats>
  <StatusCode>0</StatusCode>
  <TotalFromPrice>0</TotalFromPrice>
  <TotalToPrice>0</TotalToPrice>
</ReseatQuoteResult>