TicketUserServices

<back to all web services

EventSeatingTableActionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventSeating/TableActions
import java.math.*
import java.util.*
import net.servicestack.client.*


open class EventSeatingTableActionsRequest
{
    var eventId:Int? = null
    var sectionIds:ArrayList<Int> = ArrayList<Int>()
    var action:String? = null
    var note:String? = null
    var blockedNote:String? = null
    var tablesOnly:Boolean? = null
}

open class EventSeatingTableActionsResult
{
    var statusCode:Int? = null
    var message:String? = null
    var action:String? = null
    var eventId:Int? = null
    var results:ArrayList<EventSeatingTableActionResult> = ArrayList<EventSeatingTableActionResult>()
    var totals:EventSeatingTableActionsTotals? = null
    var elapsedMs:Long? = null
}

open class EventSeatingTableActionResult
{
    var sectionId:Int? = null
    var sectionName:String? = null
    var isTable:Boolean? = null
    var ok:Boolean? = null
    var error:String? = null
    var blockedSeatIds:ArrayList<Int> = ArrayList<Int>()
    var unblockedSeatIds:ArrayList<Int> = ArrayList<Int>()
    var skippedSeatIds:ArrayList<Int> = ArrayList<Int>()
    var alreadyBlockedSeatIds:ArrayList<Int> = ArrayList<Int>()
    var isHidden:Boolean? = null
    var showSeats:Boolean? = null
    var note:String? = null
    var viewType:String? = null
}

open class EventSeatingTableActionsTotals
{
    var blocked:Int? = null
    var unblocked:Int? = null
    var skipped:Int? = null
    var sections:Int? = null
    var failed:Int? = null
}

Kotlin EventSeatingTableActionsRequest DTOs

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

HTTP + CSV

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

POST /EventSeating/TableActions HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"eventId":0,"sectionIds":[0],"action":"String","note":"String","blockedNote":"String","tablesOnly":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"statusCode":0,"message":"String","action":"String","eventId":0,"results":[{"sectionId":0,"sectionName":"String","isTable":false,"ok":false,"error":"String","blockedSeatIds":[0],"unblockedSeatIds":[0],"skippedSeatIds":[0],"alreadyBlockedSeatIds":[0],"isHidden":false,"showSeats":false,"note":"String","viewType":"String"}],"totals":{"blocked":0,"unblocked":0,"skipped":0,"sections":0,"failed":0},"elapsedMs":0}