TicketUserServices

<back to all web services

TransferTargetTicketTypesRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/transferTicket/targetTicketTypesList all ticket types available on the target event with price diff vs source
TransferTargetTicketTypesRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
ToEventIdbodyintNo
SectionIdbodyint?No
TransferTargetTicketTypesResult Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
StatusCodeformintNo
CodeformstringNo
MessageformstringNo
SourceTicketPriceformdecimalNo
SourceTicketTypeNameformstringNo
OptionsformList<TransferTargetTicketTypeOption>No
TransferTargetTicketTypeOption Parameters:
NameParameterData TypeRequiredDescription
OwnerTicketTypeIdformint?No
SeriesTicketTypeIdformint?No
NameformstringNo
PriceformdecimalNo
DirectionformstringNo
PriceDifferenceformdecimalNo
NameMatchesSourceformboolNo
BlockTransferformboolNo
HiddenformboolNo
MaxTicketsformint?No
TicketsSoldformint?No
TicketsLeftformint?No

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

<TransferTargetTicketTypesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <SectionId>0</SectionId>
  <TicketTokenId>String</TicketTokenId>
  <ToEventId>0</ToEventId>
</TransferTargetTicketTypesRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TransferTargetTicketTypesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Code>String</Code>
  <Message>String</Message>
  <Ok>false</Ok>
  <Options>
    <TransferTargetTicketTypeOption>
      <BlockTransfer>false</BlockTransfer>
      <Direction>String</Direction>
      <Hidden>false</Hidden>
      <MaxTickets>0</MaxTickets>
      <Name>String</Name>
      <NameMatchesSource>false</NameMatchesSource>
      <OwnerTicketTypeId>0</OwnerTicketTypeId>
      <Price>0</Price>
      <PriceDifference>0</PriceDifference>
      <SeriesTicketTypeId>0</SeriesTicketTypeId>
      <TicketsLeft>0</TicketsLeft>
      <TicketsSold>0</TicketsSold>
    </TransferTargetTicketTypeOption>
  </Options>
  <SourceTicketPrice>0</SourceTicketPrice>
  <SourceTicketTypeName>String</SourceTicketTypeName>
  <StatusCode>0</StatusCode>
</TransferTargetTicketTypesResult>