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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
usua_login: String,
carp_carp: 0,
rept_rept: 0,
rept_nombre: String,
rept_tipo: 0,
rept_version: String,
rept_tamano: 0,
blob_blob: 0,
vist_vist: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { isInsertado: False, Error: String }