Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
POST | /VenueOwnerTicketTypeConnection |
---|
export class VenueOwnerTicketTypeConnection
{
public id?: number;
public venueSeatingSectionId?: number;
public ownerTicketId?: number;
public maxTickets?: number;
public venueId?: number;
public constructor(init?: Partial<VenueOwnerTicketTypeConnection>) { (Object as any).assign(this, init); }
}
export class VenueOwnerTicketTypeConnectionResult
{
public item?: VenueOwnerTicketTypeConnection;
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<VenueOwnerTicketTypeConnectionResult>) { (Object as any).assign(this, init); }
}
export class VenueOwnerTicketTypeConnectionCreateRequest
{
public item?: VenueOwnerTicketTypeConnection;
public constructor(init?: Partial<VenueOwnerTicketTypeConnectionCreateRequest>) { (Object as any).assign(this, init); }
}
TypeScript VenueOwnerTicketTypeConnectionCreateRequest 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 /VenueOwnerTicketTypeConnection HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
item:
{
id: 0,
venueSeatingSectionId: 0,
ownerTicketId: 0,
maxTickets: 0,
venueId: 0
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { item: { id: 0, venueSeatingSectionId: 0, ownerTicketId: 0, maxTickets: 0, venueId: 0 }, statusCode: 0, message: String }