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 .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/Archivos/ProcesarPlanoID HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/json
Content-Type: application/json
Content-Length: length
{"IDPlano":0,"IDCarga":0,"Estado":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Success":false,"Error":"String"}