TicketUserServices

<back to all web services

DiscountCodeTypeValidTicketTypeGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
GET/DiscountCodeTypeValidTicketType/{Id}

export class DiscountCodeTypeValidTicketType
{
    public id?: number;
    public discountCodeTypeId?: number;
    public eventSeriesOwnerTicketType?: number;
    public isValid?: boolean;

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

export class DiscountCodeTypeValidTicketTypeResult
{
    public item?: DiscountCodeTypeValidTicketType;
    public statusCode?: number;
    public message?: string;

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

export class DiscountCodeTypeValidTicketTypeGetRequest
{
    public id?: number;

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

TypeScript DiscountCodeTypeValidTicketTypeGetRequest DTOs

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

HTTP + JSV

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

GET /DiscountCodeTypeValidTicketType/{Id} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		id: 0,
		discountCodeTypeId: 0,
		eventSeriesOwnerTicketType: 0,
		isValid: False
	},
	statusCode: 0,
	message: String
}