| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| POST | /VenueSeatingArrangement/Search/Seats/RowsInSection |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class VenueSeatingArrangementRowsInSectionSearchRequest
{
var sectionId:Int? = null
}
open class VenueSeatingArrangementSeatsInSectionPerRowSearchResult
{
var sectionName:String? = null
var rows:ArrayList<VenueSeatingArrangementRowAndSeatsInSection> = ArrayList<VenueSeatingArrangementRowAndSeatsInSection>()
var statusCode:Int? = null
var message:String? = null
}
open class VenueSeatingArrangementRowAndSeatsInSection
{
var row:VenueSeatingArrangementRow? = null
var seats:ArrayList<VenueSeatingArrangementSeat> = ArrayList<VenueSeatingArrangementSeat>()
}
open class VenueSeatingArrangementRow
{
var id:Int? = null
var name:String? = null
var arrangementSectionId:Int? = null
var imageUrl:String? = null
var positionX:BigDecimal? = null
var positionY:BigDecimal? = null
var rotation:BigDecimal? = null
var viewType:String? = null
var sortOrder:BigDecimal? = null
}
open class VenueSeatingArrangementSeat
{
var id:Int? = null
var name:String? = null
var arrangementRowId:Int? = null
var status:String? = null
var arrangementSectionId:Int? = null
var positionX:BigDecimal? = null
var positionY:BigDecimal? = null
var rotation:BigDecimal? = null
var viewType:String? = null
var sortOrder:BigDecimal? = null
}
Kotlin VenueSeatingArrangementRowsInSectionSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /VenueSeatingArrangement/Search/Seats/RowsInSection HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
sectionId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
sectionName: String,
rows:
[
{
row:
{
id: 0,
name: String,
arrangementSectionId: 0,
imageUrl: String,
positionX: 0,
positionY: 0,
rotation: 0,
viewType: String,
sortOrder: 0
},
seats:
[
{
id: 0,
name: String,
arrangementRowId: 0,
status: String,
arrangementSectionId: 0,
positionX: 0,
positionY: 0,
rotation: 0,
viewType: String,
sortOrder: 0
}
]
}
],
statusCode: 0,
message: String
}