| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /transferTicket/targetTicketTypes | List all ticket types available on the target event with price diff vs source |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class TransferTargetTicketTypesRequest
{
var ticketTokenId:String? = null
var toEventId:Int? = null
var sectionId:Int? = null
}
open class TransferTargetTicketTypesResult
{
var ok:Boolean? = null
var statusCode:Int? = null
var code:String? = null
var message:String? = null
var sourceTicketPrice:BigDecimal? = null
var sourceTicketTypeName:String? = null
var options:ArrayList<TransferTargetTicketTypeOption> = ArrayList<TransferTargetTicketTypeOption>()
}
open class TransferTargetTicketTypeOption
{
var ownerTicketTypeId:Int? = null
var seriesTicketTypeId:Int? = null
var name:String? = null
var price:BigDecimal? = null
var direction:String? = null
var priceDifference:BigDecimal? = null
var nameMatchesSource:Boolean? = null
var blockTransfer:Boolean? = null
var hidden:Boolean? = null
var maxTickets:Int? = null
var ticketsSold:Int? = null
var ticketsLeft:Int? = null
}
Kotlin TransferTargetTicketTypesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv
Content-Type: text/csv
Content-Length: length
{"ticketTokenId":"String","toEventId":0,"sectionId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ok":false,"statusCode":0,"code":"String","message":"String","sourceTicketPrice":0,"sourceTicketTypeName":"String","options":[{"ownerTicketTypeId":0,"seriesTicketTypeId":0,"name":"String","price":0,"direction":"String","priceDifference":0,"nameMatchesSource":false,"blockTransfer":false,"hidden":false,"maxTickets":0,"ticketsSold":0,"ticketsLeft":0}]}