All Verbs | /restfiles/GetUsersRQ |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetUsersRQ
{
public Integer empr_empr = null;
public Integer sist_sist = null;
public Integer getEmprEmpr() { return empr_empr; }
public GetUsersRQ setEmprEmpr(Integer value) { this.empr_empr = value; return this; }
public Integer getSistSist() { return sist_sist; }
public GetUsersRQ setSistSist(Integer value) { this.sist_sist = value; return this; }
}
public static class GetUsersRS
{
public String usua_login = null;
public String usua_nombre = null;
public String getUsuaLogin() { return usua_login; }
public GetUsersRS setUsuaLogin(String value) { this.usua_login = value; return this; }
public String getUsuaNombre() { return usua_nombre; }
public GetUsersRS setUsuaNombre(String value) { this.usua_nombre = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /restfiles/GetUsersRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/json
Content-Type: application/json
Content-Length: length
{"empr_empr":0,"sist_sist":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"usua_login":"String","usua_nombre":"String"}