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
namespace TicketUserServices.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type EventSeatingTableActionResult() = 
        member val SectionId:Int32 = new Int32() with get,set
        member val SectionName:String = null with get,set
        member val IsTable:Boolean = new Boolean() with get,set
        member val Ok:Boolean = new Boolean() with get,set
        member val Error:String = null with get,set
        member val BlockedSeatIds:ResizeArray<Int32> = new ResizeArray<Int32>() with get,set
        member val UnblockedSeatIds:ResizeArray<Int32> = new ResizeArray<Int32>() with get,set
        member val SkippedSeatIds:ResizeArray<Int32> = new ResizeArray<Int32>() with get,set
        member val AlreadyBlockedSeatIds:ResizeArray<Int32> = new ResizeArray<Int32>() with get,set
        member val IsHidden:Boolean = new Boolean() with get,set
        member val ShowSeats:Boolean = new Boolean() with get,set
        member val Note:String = null with get,set
        member val ViewType:String = null with get,set

    [<AllowNullLiteral>]
    type EventSeatingTableActionsTotals() = 
        member val Blocked:Int32 = new Int32() with get,set
        member val Unblocked:Int32 = new Int32() with get,set
        member val Skipped:Int32 = new Int32() with get,set
        member val Sections:Int32 = new Int32() with get,set
        member val Failed:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type EventSeatingTableActionsResult() = 
        member val StatusCode:Int32 = new Int32() with get,set
        member val Message:String = null with get,set
        member val Action:String = null with get,set
        member val EventId:Int32 = new Int32() with get,set
        member val Results:ResizeArray<EventSeatingTableActionResult> = new ResizeArray<EventSeatingTableActionResult>() with get,set
        member val Totals:EventSeatingTableActionsTotals = null with get,set
        member val ElapsedMs:Int64 = new Int64() with get,set

    [<AllowNullLiteral>]
    type EventSeatingTableActionsRequest() = 
        member val EventId:Int32 = new Int32() with get,set
        member val SectionIds:ResizeArray<Int32> = new ResizeArray<Int32>() with get,set
        member val Action:String = null with get,set
        member val Note:String = null with get,set
        member val BlockedNote:String = null with get,set
        member val TablesOnly:Boolean = new Boolean() with get,set

F# EventSeatingTableActionsRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"eventId":0,"sectionIds":[0],"action":"String","note":"String","blockedNote":"String","tablesOnly":false}
HTTP/1.1 200 OK
Content-Type: application/json
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}