All Verbs | /restfiles/InsertReportRQ |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class InsertReportRQ
{
public String usua_login = null;
public BigDecimal carp_carp = null;
public BigDecimal rept_rept = null;
public String rept_nombre = null;
public Integer rept_tipo = null;
public Date rept_fecmodi = null;
public Date rept_fecelimi = null;
public String rept_version = null;
public Integer rept_tamano = null;
public BigDecimal blob_blob = null;
public BigDecimal vist_vist = null;
public String getUsuaLogin() { return usua_login; }
public InsertReportRQ setUsuaLogin(String value) { this.usua_login = value; return this; }
public BigDecimal getCarpCarp() { return carp_carp; }
public InsertReportRQ setCarpCarp(BigDecimal value) { this.carp_carp = value; return this; }
public BigDecimal getReptRept() { return rept_rept; }
public InsertReportRQ setReptRept(BigDecimal value) { this.rept_rept = value; return this; }
public String getReptNombre() { return rept_nombre; }
public InsertReportRQ setReptNombre(String value) { this.rept_nombre = value; return this; }
public Integer getReptTipo() { return rept_tipo; }
public InsertReportRQ setReptTipo(Integer value) { this.rept_tipo = value; return this; }
public Date getReptFecmodi() { return rept_fecmodi; }
public InsertReportRQ setReptFecmodi(Date value) { this.rept_fecmodi = value; return this; }
public Date getReptFecelimi() { return rept_fecelimi; }
public InsertReportRQ setReptFecelimi(Date value) { this.rept_fecelimi = value; return this; }
public String getReptVersion() { return rept_version; }
public InsertReportRQ setReptVersion(String value) { this.rept_version = value; return this; }
public Integer getReptTamano() { return rept_tamano; }
public InsertReportRQ setReptTamano(Integer value) { this.rept_tamano = value; return this; }
public BigDecimal getBlobBlob() { return blob_blob; }
public InsertReportRQ setBlobBlob(BigDecimal value) { this.blob_blob = value; return this; }
public BigDecimal getVistVist() { return vist_vist; }
public InsertReportRQ setVistVist(BigDecimal value) { this.vist_vist = value; return this; }
}
public static class InsertReportRS
{
public Boolean isInsertado = null;
public String Error = null;
public Boolean getIsInsertado() { return isInsertado; }
public InsertReportRS setIsInsertado(Boolean value) { this.isInsertado = value; return this; }
public String getError() { return Error; }
public InsertReportRS 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 /restfiles/InsertReportRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<InsertReportRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
<blob_blob>0</blob_blob>
<carp_carp>0</carp_carp>
<rept_fecelimi>0001-01-01T00:00:00</rept_fecelimi>
<rept_fecmodi>0001-01-01T00:00:00</rept_fecmodi>
<rept_nombre>String</rept_nombre>
<rept_rept>0</rept_rept>
<rept_tamano>0</rept_tamano>
<rept_tipo>0</rept_tipo>
<rept_version>String</rept_version>
<usua_login>String</usua_login>
<vist_vist>0</vist_vist>
</InsertReportRQ>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <InsertReportRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos"> <Error>String</Error> <isInsertado>false</isInsertado> </InsertReportRS>