TicketUserServices

<back to all web services

EventSeatNameDetailsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/EventSeats/SeatNameDetails
GET/EventSeats/SeatNameDetails/seat/{SeatId}
namespace TicketUserServices.ServiceModel

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

    [<AllowNullLiteral>]
    type EventSeatNameDetailsRequest() = 
        member val SeatId:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type EventSeatNameDetails() = 
        member val ID:Int32 = new Int32() with get,set
        member val SeatName:String = null with get,set
        member val RowId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val RowName:String = null with get,set
        member val SectionId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val SectionName:String = null with get,set

    [<AllowNullLiteral>]
    type EventSeatNameDetailsResult() = 
        member val NameDetails:EventSeatNameDetails = null with get,set
        member val StatusCode:Int32 = new Int32() with get,set
        member val Message:String = null with get,set

F# EventSeatNameDetailsRequest DTOs

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 /EventSeats/SeatNameDetails HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

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

<EventSeatNameDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <NameDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:ID>0</d2p1:ID>
    <d2p1:RowId>0</d2p1:RowId>
    <d2p1:RowName>String</d2p1:RowName>
    <d2p1:SeatName>String</d2p1:SeatName>
    <d2p1:SectionId>0</d2p1:SectionId>
    <d2p1:SectionName>String</d2p1:SectionName>
  </NameDetails>
  <StatusCode>0</StatusCode>
</EventSeatNameDetailsResult>