FrameAppWS

<back to all web services

GetSessionRQ

The following routes are available for this service:
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; }
    }

}

Java GetSessionRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<GetSessionRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <empr_empr>String</empr_empr>
  <oid>String</oid>
  <operacion>String</operacion>
  <sist_sist>String</sist_sist>
  <token>String</token>
  <tokenJson>String</tokenJson>
  <user>String</user>
</GetSessionRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSessionRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <response>String</response>
</GetSessionRS>