| Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
| PUT | /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 EventOwnerTrackingDestinationUpdateRequest
{
public item?: EventOwnerTrackingDestination;
public constructor(init?: Partial<EventOwnerTrackingDestinationUpdateRequest>) { (Object as any).assign(this, init); }
}
TypeScript EventOwnerTrackingDestinationUpdateRequest 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.
PUT /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
}