All Verbs | /citizen/CloseReportRQ |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CloseReportExternalRQ
{
public Integer CodeReport = null;
public String Message = null;
public String Token = null;
public String Archive = null;
public String FileName = null;
public Integer getCodeReport() { return CodeReport; }
public CloseReportExternalRQ setCodeReport(Integer value) { this.CodeReport = value; return this; }
public String getMessage() { return Message; }
public CloseReportExternalRQ setMessage(String value) { this.Message = value; return this; }
public String getToken() { return Token; }
public CloseReportExternalRQ setToken(String value) { this.Token = value; return this; }
public String getArchive() { return Archive; }
public CloseReportExternalRQ setArchive(String value) { this.Archive = value; return this; }
public String getFileName() { return FileName; }
public CloseReportExternalRQ setFileName(String value) { this.FileName = value; return this; }
}
public static class CoreRS
{
public String Code = null;
public String ErrorMessage = null;
public String ErrorStackTrace = null;
public String getCode() { return Code; }
public CoreRS setCode(String value) { this.Code = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public CoreRS setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public String getErrorStackTrace() { return ErrorStackTrace; }
public CoreRS setErrorStackTrace(String value) { this.ErrorStackTrace = value; return this; }
}
}
Java CloseReportExternalRQ DTOs
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 /citizen/CloseReportRQ HTTP/1.1
Host: ws.jimsnwa.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CodeReport: 0,
Message: String,
Token: String,
Archive: String,
FileName: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Code: String, ErrorMessage: String, ErrorStackTrace: String }