Trendsic Platform Service

<back to all web services

QboStatusRequest

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

public class dtos
{

    public static class QboStatusRequest
    {
        
    }

    public static class QboStatusResponse
    {
        public Boolean Configured = null;
        public Boolean Connected = null;
        public Boolean NeedsReconnect = null;
        public Boolean AutoSync = null;
        public String Environment = null;
        public String RealmId = null;
        public String CompanyName = null;
        public ResponseStatus ResponseStatus = null;
        
        public Boolean isConfigured() { return Configured; }
        public QboStatusResponse setConfigured(Boolean value) { this.Configured = value; return this; }
        public Boolean isConnected() { return Connected; }
        public QboStatusResponse setConnected(Boolean value) { this.Connected = value; return this; }
        public Boolean isNeedsReconnect() { return NeedsReconnect; }
        public QboStatusResponse setNeedsReconnect(Boolean value) { this.NeedsReconnect = value; return this; }
        public Boolean isAutoSync() { return AutoSync; }
        public QboStatusResponse setAutoSync(Boolean value) { this.AutoSync = value; return this; }
        public String getEnvironment() { return Environment; }
        public QboStatusResponse setEnvironment(String value) { this.Environment = value; return this; }
        public String getRealmId() { return RealmId; }
        public QboStatusResponse setRealmId(String value) { this.RealmId = value; return this; }
        public String getCompanyName() { return CompanyName; }
        public QboStatusResponse setCompanyName(String value) { this.CompanyName = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public QboStatusResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java QboStatusRequest 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.

GET /v1/qbo/status HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Configured":false,"Connected":false,"NeedsReconnect":false,"AutoSync":false,"Environment":"String","RealmId":"String","CompanyName":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}