TicketUserServices

<back to all web services

EventOwnerTrackingDestinationGetAccessTokenStatusRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
GET/EventOwnerTrackingDestination/{Id}/AccessToken
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerTrackingDestinationGetAccessTokenStatusRequest
    {
        public Integer id = null;
        public Integer eventOwnerId = null;
        
        public Integer getId() { return id; }
        public EventOwnerTrackingDestinationGetAccessTokenStatusRequest setId(Integer value) { this.id = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerTrackingDestinationGetAccessTokenStatusRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
    }

    public static class EventOwnerTrackingDestinationAccessTokenResult
    {
        public Boolean hasAccessToken = null;
        public Boolean serverSideEnabled = null;
        public String testEventCode = null;
        public Boolean encryptionConfigured = null;
        public Integer statusCode = null;
        public String message = null;
        
        public Boolean isHasAccessToken() { return hasAccessToken; }
        public EventOwnerTrackingDestinationAccessTokenResult setHasAccessToken(Boolean value) { this.hasAccessToken = value; return this; }
        public Boolean isServerSideEnabled() { return serverSideEnabled; }
        public EventOwnerTrackingDestinationAccessTokenResult setServerSideEnabled(Boolean value) { this.serverSideEnabled = value; return this; }
        public String getTestEventCode() { return testEventCode; }
        public EventOwnerTrackingDestinationAccessTokenResult setTestEventCode(String value) { this.testEventCode = value; return this; }
        public Boolean isEncryptionConfigured() { return encryptionConfigured; }
        public EventOwnerTrackingDestinationAccessTokenResult setEncryptionConfigured(Boolean value) { this.encryptionConfigured = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventOwnerTrackingDestinationAccessTokenResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventOwnerTrackingDestinationAccessTokenResult setMessage(String value) { this.message = value; return this; }
    }

}

Java EventOwnerTrackingDestinationGetAccessTokenStatusRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /EventOwnerTrackingDestination/{Id}/AccessToken HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"hasAccessToken":false,"serverSideEnabled":false,"testEventCode":"String","encryptionConfigured":false,"statusCode":0,"message":"String"}