digitaluapi

<back to all web services

GetQueryResults

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/scadmeta/tables/query/{QueryId}
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
{

    public static class GetQueryResults
    {
        public Integer QueryId = null;
        public HashMap<String,Object> ParameterList = null;
        public Paging Paging = null;
        
        public Integer getQueryId() { return QueryId; }
        public GetQueryResults setQueryId(Integer value) { this.QueryId = value; return this; }
        public HashMap<String,Object> getParameterList() { return ParameterList; }
        public GetQueryResults setParameterList(HashMap<String,Object> value) { this.ParameterList = value; return this; }
        public Paging getPaging() { return Paging; }
        public GetQueryResults setPaging(Paging value) { this.Paging = value; return this; }
    }

    public static class Paging
    {
        public Integer PageNumber = null;
        public Integer PageSize = null;
        
        public Integer getPageNumber() { return PageNumber; }
        public Paging setPageNumber(Integer value) { this.PageNumber = value; return this; }
        public Integer getPageSize() { return PageSize; }
        public Paging setPageSize(Integer value) { this.PageSize = value; return this; }
    }

}

Java GetQueryResults DTOs

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

HTTP + XML

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

GET /scadmeta/tables/query/{QueryId} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
</ArrayOfanyType>