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 .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/Archivos/ProcesarPlano HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProcesarPlanoRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.General">
<DatosLlaveMaestro xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</DatosLlaveMaestro>
<Estado>String</Estado>
<IDDetalle>0</IDDetalle>
<IDForma>0</IDForma>
</ProcesarPlanoRQ>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ProcesarPlanoRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.General"> <Error>String</Error> <Success>false</Success> </ProcesarPlanoRS>