TicketUserServices

<back to all web services

EventOwnerTrackingDestinationsSearchRequest

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

export class EventOwnerTrackingDestination
{
    public id?: number;
    public eventOwnerId?: number;
    // @StringLength(32)
    public provider?: string;

    // @StringLength(64)
    public publicId?: string;

    public serverSideEnabled?: boolean;
    // @StringLength(32)
    public testEventCode?: string;

    public isActive?: boolean;
    public createdAt?: string;
    public lastChanged?: string;

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

export class EventOwnerTrackingDestinationsResult
{
    public items?: EventOwnerTrackingDestination[];
    public statusCode?: number;
    public message?: string;

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

export class EventOwnerTrackingDestinationsSearchRequest
{
    public eventOwnerId?: number;
    public provider?: string;
    public isActive?: boolean;

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

TypeScript EventOwnerTrackingDestinationsSearchRequest 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.

POST /EventOwnerTrackingDestination/Search HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	eventOwnerId: 0,
	provider: String,
	isActive: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			id: 0,
			eventOwnerId: 0,
			provider: String,
			publicId: String,
			serverSideEnabled: False,
			testEventCode: String,
			isActive: False,
			createdAt: 0001-01-01,
			lastChanged: 0001-01-01
		}
	],
	statusCode: 0,
	message: String
}