TicketUserServices

<back to all web services

EventOwnerTrackingDestinationCreateRequest

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

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 EventOwnerTrackingDestinationResult
{
    public item?: EventOwnerTrackingDestination;
    public statusCode?: number;
    public message?: string;

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

export class EventOwnerTrackingDestinationCreateRequest
{
    public item?: EventOwnerTrackingDestination;

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

TypeScript EventOwnerTrackingDestinationCreateRequest 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 HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		id: 0,
		eventOwnerId: 0,
		provider: String,
		publicId: String,
		serverSideEnabled: False,
		testEventCode: String,
		isActive: False,
		createdAt: 0001-01-01,
		lastChanged: 0001-01-01
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		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
}