All Verbs | /Utilidades/Archivos/ProcesarPlanoID |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ProcesarPlanoIDRQ
{
public Integer IDPlano = null;
public Integer IDCarga = null;
public String Estado = null;
public Integer getIdPlano() { return IDPlano; }
public ProcesarPlanoIDRQ setIdPlano(Integer value) { this.IDPlano = value; return this; }
public Integer getIdCarga() { return IDCarga; }
public ProcesarPlanoIDRQ setIdCarga(Integer value) { this.IDCarga = value; return this; }
public String getEstado() { return Estado; }
public ProcesarPlanoIDRQ setEstado(String value) { this.Estado = 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/ProcesarPlanoID HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProcesarPlanoIDRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.General">
<Estado>String</Estado>
<IDCarga>0</IDCarga>
<IDPlano>0</IDPlano>
</ProcesarPlanoIDRQ>
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>