| Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
| 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 .xml suffix or ?format=xml
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/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EventOwnerTrackingDestinationAccessTokenResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <EncryptionConfigured>false</EncryptionConfigured> <HasAccessToken>false</HasAccessToken> <Message>String</Message> <ServerSideEnabled>false</ServerSideEnabled> <StatusCode>0</StatusCode> <TestEventCode>String</TestEventCode> </EventOwnerTrackingDestinationAccessTokenResult>