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
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
using TicketUserServices.ServiceModel.Types;

namespace TicketUserServices.ServiceModel
{
    public partial class EventOwnerTrackingDestinationsResult
    {
        public EventOwnerTrackingDestinationsResult()
        {
            Items = new List<EventOwnerTrackingDestination>{};
        }

        public virtual List<EventOwnerTrackingDestination> Items { get; set; }
        public virtual int StatusCode { get; set; }
        public virtual string Message { get; set; }
    }

    public partial class EventOwnerTrackingDestinationsSearchRequest
    {
        public virtual int? EventOwnerId { get; set; }
        public virtual string Provider { get; set; }
        public virtual bool? IsActive { get; set; }
    }

}

namespace TicketUserServices.ServiceModel.Types
{
    public partial class EventOwnerTrackingDestination
    {
        public virtual int ID { get; set; }
        public virtual int EventOwnerId { get; set; }
        [StringLength(32)]
        public virtual string Provider { get; set; }

        [StringLength(64)]
        public virtual string PublicId { get; set; }

        public virtual bool ServerSideEnabled { get; set; }
        [StringLength(32)]
        public virtual string TestEventCode { get; set; }

        public virtual bool IsActive { get; set; }
        public virtual DateTime CreatedAt { get; set; }
        public virtual DateTime LastChanged { get; set; }
    }

}

C# 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
}