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

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

<EjecutaCuboOpRemotasRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <IDPivot>0</IDPivot>
  <IDVista>0</IDVista>
  <Lenguaje>ES</Lenguaje>
  <Parametros xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </Parametros>
  <filter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
  </filter>
  <group xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.DevExtreme">
    <d2p1:gridGroupOptions>
      <d2p1:desc>false</d2p1:desc>
      <d2p1:isExpanded>false</d2p1:isExpanded>
      <d2p1:selector>String</d2p1:selector>
    </d2p1:gridGroupOptions>
  </group>
  <groupSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.DevExtreme">
    <d2p1:gridSummaryOptions>
      <d2p1:selector>String</d2p1:selector>
      <d2p1:summaryType>String</d2p1:summaryType>
    </d2p1:gridSummaryOptions>
  </groupSummary>
  <requireGroupCount>false</requireGroupCount>
  <requireTotalCount>false</requireTotalCount>
  <skip>0</skip>
  <sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.DevExtreme">
    <d2p1:desc>false</d2p1:desc>
    <d2p1:selector>String</d2p1:selector>
  </sort>
  <take>0</take>
  <totalSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.DevExtreme">
    <d2p1:gridSummaryOptions>
      <d2p1:selector>String</d2p1:selector>
      <d2p1:summaryType>String</d2p1:summaryType>
    </d2p1:gridSummaryOptions>
  </totalSummary>
</EjecutaCuboOpRemotasRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EjecutaCuboOpRemotasRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <Error>String</Error>
  <SQL>String</SQL>
  <data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </data>
  <totalCount>0</totalCount>
</EjecutaCuboOpRemotasRS>