TicketUserServices

<back to all web services

EventOwnerTicketTypeToCardConnectionCreateRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventOwnerTicketTypeToCardConnection

export class EventOwnerTicketTypeToCardConnection
{
    public id?: number;
    public ownerCardTypeId?: number;
    public ownerTicketTypeId?: number;
    public active?: boolean;

    public constructor(init?: Partial<EventOwnerTicketTypeToCardConnection>) { (Object as any).assign(this, init); }
}

export class EventOwnerTicketTypeToCardConnectionResult
{
    public item?: EventOwnerTicketTypeToCardConnection;
    public statusCode?: number;
    public message?: string;

    public constructor(init?: Partial<EventOwnerTicketTypeToCardConnectionResult>) { (Object as any).assign(this, init); }
}

export class EventOwnerTicketTypeToCardConnectionCreateRequest
{
    public item?: EventOwnerTicketTypeToCardConnection;

    public constructor(init?: Partial<EventOwnerTicketTypeToCardConnectionCreateRequest>) { (Object as any).assign(this, init); }
}

TypeScript EventOwnerTicketTypeToCardConnectionCreateRequest DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /EventOwnerTicketTypeToCardConnection HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"ownerCardTypeId":0,"ownerTicketTypeId":0,"active":false}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"ownerCardTypeId":0,"ownerTicketTypeId":0,"active":false},"statusCode":0,"message":"String"}