TicketUserServices

<back to all web services

EventOwnerTrackingDestinationUpdateRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
PUT/EventOwnerTrackingDestination
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 EventOwnerTrackingDestinationResult
    {
        public virtual EventOwnerTrackingDestination Item { get; set; }
        public virtual int StatusCode { get; set; }
        public virtual string Message { get; set; }
    }

    public partial class EventOwnerTrackingDestinationUpdateRequest
    {
        public virtual EventOwnerTrackingDestination Item { 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# EventOwnerTrackingDestinationUpdateRequest DTOs

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

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"eventOwnerId":0,"provider":"String","publicId":"String","serverSideEnabled":false,"testEventCode":"String","isActive":false,"createdAt":"0001-01-01T00:00:00.0000000","lastChanged":"0001-01-01T00:00:00.0000000"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"eventOwnerId":0,"provider":"String","publicId":"String","serverSideEnabled":false,"testEventCode":"String","isActive":false,"createdAt":"0001-01-01T00:00:00.0000000","lastChanged":"0001-01-01T00:00:00.0000000"},"statusCode":0,"message":"String"}