All Verbs | /Utilidades/Session |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetSessionRQ
{
public String sist_sist = null;
public String empr_empr = null;
public String operacion = null;
public String oid = null;
public String token = null;
public String tokenJson = null;
public String user = null;
public String getSistSist() { return sist_sist; }
public GetSessionRQ setSistSist(String value) { this.sist_sist = value; return this; }
public String getEmprEmpr() { return empr_empr; }
public GetSessionRQ setEmprEmpr(String value) { this.empr_empr = value; return this; }
public String getOperacion() { return operacion; }
public GetSessionRQ setOperacion(String value) { this.operacion = value; return this; }
public String getOid() { return oid; }
public GetSessionRQ setOid(String value) { this.oid = value; return this; }
public String getToken() { return token; }
public GetSessionRQ setToken(String value) { this.token = value; return this; }
public String getTokenJson() { return tokenJson; }
public GetSessionRQ setTokenJson(String value) { this.tokenJson = value; return this; }
public String getUser() { return user; }
public GetSessionRQ setUser(String value) { this.user = value; return this; }
}
public static class GetSessionRS
{
public String response = null;
public String getResponse() { return response; }
public GetSessionRS setResponse(String value) { this.response = 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 /Utilidades/Session HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"sist_sist":"String","empr_empr":"String","operacion":"String","oid":"String","token":"String","tokenJson":"String","user":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"response":"String"}