Trendsic Platform Service

<back to all web services

ApsTestRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/aps/test
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ApsTestRequest
    {
        
    }

    public static class ApsConfigResponse
    {
        public ResponseStatus ResponseStatus = null;
        public Boolean Connected = null;
        public String ClientIdMasked = null;
        public Boolean HasSecret = null;
        public String BucketKey = null;
        public String ConnectedAt = null;
        public String LastCheck = null;
        public Boolean TestOk = null;
        public String TestMessage = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ApsConfigResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public Boolean isConnected() { return Connected; }
        public ApsConfigResponse setConnected(Boolean value) { this.Connected = value; return this; }
        public String getClientIdMasked() { return ClientIdMasked; }
        public ApsConfigResponse setClientIdMasked(String value) { this.ClientIdMasked = value; return this; }
        public Boolean isHasSecret() { return HasSecret; }
        public ApsConfigResponse setHasSecret(Boolean value) { this.HasSecret = value; return this; }
        public String getBucketKey() { return BucketKey; }
        public ApsConfigResponse setBucketKey(String value) { this.BucketKey = value; return this; }
        public String getConnectedAt() { return ConnectedAt; }
        public ApsConfigResponse setConnectedAt(String value) { this.ConnectedAt = value; return this; }
        public String getLastCheck() { return LastCheck; }
        public ApsConfigResponse setLastCheck(String value) { this.LastCheck = value; return this; }
        public Boolean isTestOk() { return TestOk; }
        public ApsConfigResponse setTestOk(Boolean value) { this.TestOk = value; return this; }
        public String getTestMessage() { return TestMessage; }
        public ApsConfigResponse setTestMessage(String value) { this.TestMessage = value; return this; }
    }

}

Java ApsTestRequest 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 /v1/aps/test HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Connected: False,
	ClientIdMasked: String,
	HasSecret: False,
	BucketKey: String,
	ConnectedAt: String,
	LastCheck: String,
	TestOk: False,
	TestMessage: String
}