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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDVista: 0,
DatosDetalles: False,
Parametros:
{
String: {}
},
Lenguaje: ES,
RecordSkip: 0,
RecordTake: 0,
Filter:
[
{
}
],
Sort:
{
selector: String,
desc: False
},
Group:
{
selector: String,
desc: False,
isExpanded: False
},
SummaryGroupItems:
[
{
selector: String,
summaryType: String
}
],
SummaryTotalItems:
[
{
selector: String,
summaryType: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Empresa: 0, Sistema: 0, Login: String, AppAdm: False, TxtSQL: String, URLArchivo: String, Success: False, Error: String }