digitaluapi

<back to all web services

MetaQueriesLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/scadmeta/meta_queries
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class MetaQueriesLookup
    {
        @DataMember(Order=2)
        public Short DbTechnologiesId = null;

        @DataMember(Order=3)
        public String Description = null;

        @DataMember(Order=4)
        public String CommandText = null;

        @DataMember(Order=5)
        public Short CommandTypesId = null;

        @DataMember(Order=6)
        public Boolean CacheResult = null;

        @DataMember(Order=7)
        public Integer CachetimeInSeconds = null;

        @DataMember(Order=8)
        public Integer QueryTypesId = null;

        @DataMember(Order=9)
        public Short DbTechnologyTemplatesId = null;

        @DataMember(Order=10)
        public Date LastModifiedDate = null;

        @DataMember(Order=11)
        public UUID RowVersionGuid = null;

        @DataMember(Order=12)
        public Boolean IsEnabled = null;

        @DataMember(Order=13)
        public Short ConnectionsId = null;
        
        public Short getDbTechnologiesId() { return DbTechnologiesId; }
        public MetaQueriesLookup setDbTechnologiesId(Short value) { this.DbTechnologiesId = value; return this; }
        public String getDescription() { return Description; }
        public MetaQueriesLookup setDescription(String value) { this.Description = value; return this; }
        public String getCommandText() { return CommandText; }
        public MetaQueriesLookup setCommandText(String value) { this.CommandText = value; return this; }
        public Short getCommandTypesId() { return CommandTypesId; }
        public MetaQueriesLookup setCommandTypesId(Short value) { this.CommandTypesId = value; return this; }
        public Boolean isCacheResult() { return CacheResult; }
        public MetaQueriesLookup setCacheResult(Boolean value) { this.CacheResult = value; return this; }
        public Integer getCachetimeInSeconds() { return CachetimeInSeconds; }
        public MetaQueriesLookup setCachetimeInSeconds(Integer value) { this.CachetimeInSeconds = value; return this; }
        public Integer getQueryTypesId() { return QueryTypesId; }
        public MetaQueriesLookup setQueryTypesId(Integer value) { this.QueryTypesId = value; return this; }
        public Short getDbTechnologyTemplatesId() { return DbTechnologyTemplatesId; }
        public MetaQueriesLookup setDbTechnologyTemplatesId(Short value) { this.DbTechnologyTemplatesId = value; return this; }
        public Date getLastModifiedDate() { return LastModifiedDate; }
        public MetaQueriesLookup setLastModifiedDate(Date value) { this.LastModifiedDate = value; return this; }
        public UUID getRowVersionGuid() { return RowVersionGuid; }
        public MetaQueriesLookup setRowVersionGuid(UUID value) { this.RowVersionGuid = value; return this; }
        public Boolean getIsEnabled() { return IsEnabled; }
        public MetaQueriesLookup setIsEnabled(Boolean value) { this.IsEnabled = value; return this; }
        public Short getConnectionsId() { return ConnectionsId; }
        public MetaQueriesLookup setConnectionsId(Short value) { this.ConnectionsId = value; return this; }
    }

}

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

GET /scadmeta/meta_queries HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		DbTechnologiesId: 0,
		Description: String,
		CommandText: String,
		CommandTypesId: 0,
		CacheResult: False,
		CachetimeInSeconds: 0,
		QueryTypesId: 0,
		DbTechnologyTemplatesId: 0,
		LastModifiedDate: 0001-01-01,
		RowVersionGuid: 00000000000000000000000000000000,
		IsEnabled: False,
		ConnectionsId: 0,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]