All Verbs | /Utilidades/Archivos/UploadReportRQ |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class UploadReportRQ
{
public String vist_vist = null;
public String carp_carp = null;
public String para_valor = null;
public String name = null;
public String tipo_blob = null;
public String tamano = null;
public String getVistVist() { return vist_vist; }
public UploadReportRQ setVistVist(String value) { this.vist_vist = value; return this; }
public String getCarpCarp() { return carp_carp; }
public UploadReportRQ setCarpCarp(String value) { this.carp_carp = value; return this; }
public String getParaValor() { return para_valor; }
public UploadReportRQ setParaValor(String value) { this.para_valor = value; return this; }
public String getName() { return name; }
public UploadReportRQ setName(String value) { this.name = value; return this; }
public String getTipoBlob() { return tipo_blob; }
public UploadReportRQ setTipoBlob(String value) { this.tipo_blob = value; return this; }
public String getTamano() { return tamano; }
public UploadReportRQ setTamano(String value) { this.tamano = value; return this; }
}
public static class UploadFileRS
{
public Boolean Success = null;
public String Error = null;
public Boolean isSuccess() { return Success; }
public UploadFileRS setSuccess(Boolean value) { this.Success = value; return this; }
public String getError() { return Error; }
public UploadFileRS 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 /Utilidades/Archivos/UploadReportRQ HTTP/1.1
Host: ws.jimsnwa.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
vist_vist: String,
carp_carp: String,
para_valor: String,
name: String,
tipo_blob: String,
tamano: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Error: String }