All Verbs | /Utilidades/Consultas/Frames/Listar |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EjecutaListaFrameRQ
{
public Integer IDFrame = null;
public String ListWhere = null;
public Lenguajes Lenguaje = null;
public Integer getIdFrame() { return IDFrame; }
public EjecutaListaFrameRQ setIdFrame(Integer value) { this.IDFrame = value; return this; }
public String getListWhere() { return ListWhere; }
public EjecutaListaFrameRQ setListWhere(String value) { this.ListWhere = value; return this; }
public Lenguajes getLenguaje() { return Lenguaje; }
public EjecutaListaFrameRQ setLenguaje(Lenguajes value) { this.Lenguaje = value; return this; }
}
public static enum Lenguajes
{
Es,
Pt,
En;
}
public static class EjecutaFrameRS
{
public HashMap<String,Object> DatosConsulta = null;
public HashMap<String,Object> getDatosConsulta() { return DatosConsulta; }
public EjecutaFrameRS setDatosConsulta(HashMap<String,Object> value) { this.DatosConsulta = value; return this; }
}
}
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Consultas/Frames/Listar HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/json
Content-Type: application/json
Content-Length: length
{"IDFrame":0,"ListWhere":"String","Lenguaje":"ES"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"DatosConsulta":{"String":{}}}