All Verbs | /Utilidades/Consultas/Listados/EjecucionBackground |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EjecutaQueryBackRQ
{
public Integer IDVista = null;
public Boolean DatosDetalles = null;
public HashMap<String,Object> Parametros = null;
public Lenguajes Lenguaje = null;
public Integer RecordSkip = null;
public Integer RecordTake = null;
public ArrayList<Object> Filter = null;
public gridSortOptions Sort = null;
public gridGroupOptions Group = null;
public ArrayList<gridSummaryOptions> SummaryGroupItems = null;
public ArrayList<gridSummaryOptions> SummaryTotalItems = null;
public Integer getIdVista() { return IDVista; }
public EjecutaQueryBackRQ setIdVista(Integer value) { this.IDVista = value; return this; }
public Boolean isDatosDetalles() { return DatosDetalles; }
public EjecutaQueryBackRQ setDatosDetalles(Boolean value) { this.DatosDetalles = value; return this; }
public HashMap<String,Object> getParametros() { return Parametros; }
public EjecutaQueryBackRQ setParametros(HashMap<String,Object> value) { this.Parametros = value; return this; }
public Lenguajes getLenguaje() { return Lenguaje; }
public EjecutaQueryBackRQ setLenguaje(Lenguajes value) { this.Lenguaje = value; return this; }
public Integer getRecordSkip() { return RecordSkip; }
public EjecutaQueryBackRQ setRecordSkip(Integer value) { this.RecordSkip = value; return this; }
public Integer getRecordTake() { return RecordTake; }
public EjecutaQueryBackRQ setRecordTake(Integer value) { this.RecordTake = value; return this; }
public ArrayList<Object> getFilter() { return Filter; }
public EjecutaQueryBackRQ setFilter(ArrayList<Object> value) { this.Filter = value; return this; }
public gridSortOptions getSort() { return Sort; }
public EjecutaQueryBackRQ setSort(gridSortOptions value) { this.Sort = value; return this; }
public gridGroupOptions getGroup() { return Group; }
public EjecutaQueryBackRQ setGroup(gridGroupOptions value) { this.Group = value; return this; }
public ArrayList<gridSummaryOptions> getSummaryGroupItems() { return SummaryGroupItems; }
public EjecutaQueryBackRQ setSummaryGroupItems(ArrayList<gridSummaryOptions> value) { this.SummaryGroupItems = value; return this; }
public ArrayList<gridSummaryOptions> getSummaryTotalItems() { return SummaryTotalItems; }
public EjecutaQueryBackRQ setSummaryTotalItems(ArrayList<gridSummaryOptions> value) { this.SummaryTotalItems = 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 EjecutaQueryBackgroundRS
{
public BigDecimal Empresa = null;
public BigDecimal Sistema = null;
public String Login = null;
public Boolean AppAdm = null;
public String TxtSQL = null;
public String URLArchivo = null;
public Boolean Success = null;
public String Error = null;
public BigDecimal getEmpresa() { return Empresa; }
public EjecutaQueryBackgroundRS setEmpresa(BigDecimal value) { this.Empresa = value; return this; }
public BigDecimal getSistema() { return Sistema; }
public EjecutaQueryBackgroundRS setSistema(BigDecimal value) { this.Sistema = value; return this; }
public String getLogin() { return Login; }
public EjecutaQueryBackgroundRS setLogin(String value) { this.Login = value; return this; }
public Boolean isAppAdm() { return AppAdm; }
public EjecutaQueryBackgroundRS setAppAdm(Boolean value) { this.AppAdm = value; return this; }
public String getTxtSQL() { return TxtSQL; }
public EjecutaQueryBackgroundRS setTxtSQL(String value) { this.TxtSQL = value; return this; }
public String getUrlArchivo() { return URLArchivo; }
public EjecutaQueryBackgroundRS setUrlArchivo(String value) { this.URLArchivo = value; return this; }
public Boolean isSuccess() { return Success; }
public EjecutaQueryBackgroundRS setSuccess(Boolean value) { this.Success = value; return this; }
public String getError() { return Error; }
public EjecutaQueryBackgroundRS setError(String value) { this.Error = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Consultas/Listados/EjecucionBackground HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EjecutaQueryBackRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
<DatosDetalles>false</DatosDetalles>
<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:desc>false</d2p1:desc>
<d2p1:isExpanded>false</d2p1:isExpanded>
<d2p1:selector>String</d2p1:selector>
</Group>
<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>
<RecordSkip>0</RecordSkip>
<RecordTake>0</RecordTake>
<Sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.DevExtreme">
<d2p1:desc>false</d2p1:desc>
<d2p1:selector>String</d2p1:selector>
</Sort>
<SummaryGroupItems 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>
</SummaryGroupItems>
<SummaryTotalItems 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>
</SummaryTotalItems>
</EjecutaQueryBackRQ>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EjecutaQueryBackgroundRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos"> <AppAdm>false</AppAdm> <Empresa>0</Empresa> <Error>String</Error> <Login>String</Login> <Sistema>0</Sistema> <Success>false</Success> <TxtSQL>String</TxtSQL> <URLArchivo>String</URLArchivo> </EjecutaQueryBackgroundRS>