All Verbs | /Utilidades/Archivos/ProcesarPlano |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ProcesarPlanoRQ
{
public Integer IDForma = null;
public Integer IDDetalle = null;
public String Estado = null;
public HashMap<String,Object> DatosLlaveMaestro = null;
public Integer getIdForma() { return IDForma; }
public ProcesarPlanoRQ setIdForma(Integer value) { this.IDForma = value; return this; }
public Integer getIdDetalle() { return IDDetalle; }
public ProcesarPlanoRQ setIdDetalle(Integer value) { this.IDDetalle = value; return this; }
public String getEstado() { return Estado; }
public ProcesarPlanoRQ setEstado(String value) { this.Estado = value; return this; }
public HashMap<String,Object> getDatosLlaveMaestro() { return DatosLlaveMaestro; }
public ProcesarPlanoRQ setDatosLlaveMaestro(HashMap<String,Object> value) { this.DatosLlaveMaestro = value; return this; }
}
public static class ProcesarPlanoRS
{
public Boolean Success = null;
public String Error = null;
public Boolean isSuccess() { return Success; }
public ProcesarPlanoRS setSuccess(Boolean value) { this.Success = value; return this; }
public String getError() { return Error; }
public ProcesarPlanoRS setError(String value) { this.Error = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Archivos/ProcesarPlano HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"IDForma":0,"IDDetalle":0,"Estado":"String","DatosLlaveMaestro":{"String":{}}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Success":false,"Error":"String"}