| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
| GET | /VenueSeatingArrangement/TicketTypePreview/{ArrangementId} |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
namespace TicketUserServices.ServiceModel
{
public partial class TemplateTicketTypePreviewItem
{
public TemplateTicketTypePreviewItem()
{
SectionNames = new List<string>{};
ConnectionIds = new List<int>{};
}
public virtual int OwnerTicketTypeId { get; set; }
public virtual string Name { get; set; }
public virtual decimal DefaultPrice { get; set; }
public virtual string Currency { get; set; }
public virtual int MaxTickets { get; set; }
public virtual int SectionCount { get; set; }
public virtual List<string> SectionNames { get; set; }
public virtual bool HiddenFromSale { get; set; }
public virtual DateTime? TypeCreatedAt { get; set; }
public virtual DateTime? LastSoldAt { get; set; }
public virtual List<int> ConnectionIds { get; set; }
}
public partial class VenueSeatingArrangementTicketTypePreviewRequest
{
public virtual int ArrangementId { get; set; }
}
public partial class VenueSeatingArrangementTicketTypePreviewResponse
{
public VenueSeatingArrangementTicketTypePreviewResponse()
{
TicketTypes = new List<TemplateTicketTypePreviewItem>{};
}
public virtual int ArrangementId { get; set; }
public virtual int VenueId { get; set; }
public virtual List<TemplateTicketTypePreviewItem> TicketTypes { get; set; }
public virtual int StatusCode { get; set; }
public virtual string Message { get; set; }
}
}
C# VenueSeatingArrangementTicketTypePreviewRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /VenueSeatingArrangement/TicketTypePreview/{ArrangementId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"arrangementId":0,"venueId":0,"ticketTypes":[{"ownerTicketTypeId":0,"name":"String","defaultPrice":0,"currency":"String","maxTickets":0,"sectionCount":0,"sectionNames":["String"],"hiddenFromSale":false,"typeCreatedAt":"0001-01-01T00:00:00.0000000","lastSoldAt":"0001-01-01T00:00:00.0000000","connectionIds":[0]}],"statusCode":0,"message":"String"}