FrameAppWS

<back to all web services

EjecutaCuboOpRemotasRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Cubos/OperacionesRemotas
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EjecutaCuboOpRemotasRQ
    {
        public Integer IDVista = null;
        public Integer IDPivot = null;
        public HashMap<String,Object> Parametros = null;
        public Lenguajes Lenguaje = null;
        public Integer skip = null;
        public Integer take = null;
        public ArrayList<Object> filter = null;
        public gridSortOptions sort = null;
        public ArrayList<gridGroupOptions> group = null;
        public ArrayList<gridSummaryOptions> groupSummary = null;
        public ArrayList<gridSummaryOptions> totalSummary = null;
        public Boolean requireTotalCount = null;
        public Boolean requireGroupCount = null;
        
        public Integer getIdVista() { return IDVista; }
        public EjecutaCuboOpRemotasRQ setIdVista(Integer value) { this.IDVista = value; return this; }
        public Integer getIdPivot() { return IDPivot; }
        public EjecutaCuboOpRemotasRQ setIdPivot(Integer value) { this.IDPivot = value; return this; }
        public HashMap<String,Object> getParametros() { return Parametros; }
        public EjecutaCuboOpRemotasRQ setParametros(HashMap<String,Object> value) { this.Parametros = value; return this; }
        public Lenguajes getLenguaje() { return Lenguaje; }
        public EjecutaCuboOpRemotasRQ setLenguaje(Lenguajes value) { this.Lenguaje = value; return this; }
        public Integer getSkip() { return skip; }
        public EjecutaCuboOpRemotasRQ setSkip(Integer value) { this.skip = value; return this; }
        public Integer getTake() { return take; }
        public EjecutaCuboOpRemotasRQ setTake(Integer value) { this.take = value; return this; }
        public ArrayList<Object> getFilter() { return filter; }
        public EjecutaCuboOpRemotasRQ setFilter(ArrayList<Object> value) { this.filter = value; return this; }
        public gridSortOptions getSort() { return sort; }
        public EjecutaCuboOpRemotasRQ setSort(gridSortOptions value) { this.sort = value; return this; }
        public ArrayList<gridGroupOptions> getGroup() { return group; }
        public EjecutaCuboOpRemotasRQ setGroup(ArrayList<gridGroupOptions> value) { this.group = value; return this; }
        public ArrayList<gridSummaryOptions> getGroupSummary() { return groupSummary; }
        public EjecutaCuboOpRemotasRQ setGroupSummary(ArrayList<gridSummaryOptions> value) { this.groupSummary = value; return this; }
        public ArrayList<gridSummaryOptions> getTotalSummary() { return totalSummary; }
        public EjecutaCuboOpRemotasRQ setTotalSummary(ArrayList<gridSummaryOptions> value) { this.totalSummary = value; return this; }
        public Boolean isRequireTotalCount() { return requireTotalCount; }
        public EjecutaCuboOpRemotasRQ setRequireTotalCount(Boolean value) { this.requireTotalCount = value; return this; }
        public Boolean isRequireGroupCount() { return requireGroupCount; }
        public EjecutaCuboOpRemotasRQ setRequireGroupCount(Boolean value) { this.requireGroupCount = value; return this; }
    }

    public static enum Lenguajes
    {
        Es,
        Pt,
        En;
    }

    public static class gridSortOptions
    {
        public String selector = null;
        public Boolean desc = null;
        
        public String getSelector() { return selector; }
        public gridSortOptions setSelector(String value) { this.selector = value; return this; }
        public Boolean isDesc() { return desc; }
        public gridSortOptions setDesc(Boolean value) { this.desc = value; return this; }
    }

    public static class gridGroupOptions
    {
        public String selector = null;
        public Boolean desc = null;
        public Boolean isExpanded = null;
        
        public String getSelector() { return selector; }
        public gridGroupOptions setSelector(String value) { this.selector = value; return this; }
        public Boolean isDesc() { return desc; }
        public gridGroupOptions setDesc(Boolean value) { this.desc = value; return this; }
        public Boolean getIsExpanded() { return isExpanded; }
        public gridGroupOptions setIsExpanded(Boolean value) { this.isExpanded = value; return this; }
    }

    public static class gridSummaryOptions
    {
        public String selector = null;
        public String summaryType = null;
        
        public String getSelector() { return selector; }
        public gridSummaryOptions setSelector(String value) { this.selector = value; return this; }
        public String getSummaryType() { return summaryType; }
        public gridSummaryOptions setSummaryType(String value) { this.summaryType = value; return this; }
    }

    public static class EjecutaCuboOpRemotasRS
    {
        public ArrayList<HashMap<String,Object>> data = null;
        public Integer totalCount = null;
        public String Error = null;
        public String SQL = null;
        
        public ArrayList<HashMap<String,Object>> getData() { return data; }
        public EjecutaCuboOpRemotasRS setData(ArrayList<HashMap<String,Object>> value) { this.data = value; return this; }
        public Integer getTotalCount() { return totalCount; }
        public EjecutaCuboOpRemotasRS setTotalCount(Integer value) { this.totalCount = value; return this; }
        public String getError() { return Error; }
        public EjecutaCuboOpRemotasRS setError(String value) { this.Error = value; return this; }
        public String getSql() { return SQL; }
        public EjecutaCuboOpRemotasRS setSql(String value) { this.SQL = value; return this; }
    }

}

Java EjecutaCuboOpRemotasRQ DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Utilidades/Consultas/Cubos/OperacionesRemotas HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"IDVista":0,"IDPivot":0,"Parametros":{"String":{}},"Lenguaje":"ES","skip":0,"take":0,"filter":[{}],"sort":{"selector":"String","desc":false},"group":[{"selector":"String","desc":false,"isExpanded":false}],"groupSummary":[{"selector":"String","summaryType":"String"}],"totalSummary":[{"selector":"String","summaryType":"String"}],"requireTotalCount":false,"requireGroupCount":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"data":[{"String":{}}],"totalCount":0,"Error":"String","SQL":"String"}