All Verbs | /restfiles/ReportLog |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ReportLogRQ
{
public BigDecimal idReport = null;
public String Parametros = null;
public BigDecimal getIdReport() { return idReport; }
public ReportLogRQ setIdReport(BigDecimal value) { this.idReport = value; return this; }
public String getParametros() { return Parametros; }
public ReportLogRQ setParametros(String value) { this.Parametros = value; return this; }
}
public static class ReportLogRS
{
public Boolean isLog = null;
public String error = null;
public Boolean getIsLog() { return isLog; }
public ReportLogRS setIsLog(Boolean value) { this.isLog = value; return this; }
public String getError() { return error; }
public ReportLogRS setError(String value) { this.error = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /restfiles/ReportLog HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"idReport":0,"Parametros":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"isLog":false,"error":"String"}