FrameAppWS

<back to all web services

GetTokenBiRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/ObtenerTokenBI
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetTokenBiRQ
    {
        
    }

    public static class GetTokenBiRS
    {
        public String token_type = null;
        public String scope = null;
        public String resource = null;
        public String access_token = null;
        public String refresh_token = null;
        public String id_token = null;
        
        public String getTokenType() { return token_type; }
        public GetTokenBiRS setTokenType(String value) { this.token_type = value; return this; }
        public String getScope() { return scope; }
        public GetTokenBiRS setScope(String value) { this.scope = value; return this; }
        public String getResource() { return resource; }
        public GetTokenBiRS setResource(String value) { this.resource = value; return this; }
        public String getAccessToken() { return access_token; }
        public GetTokenBiRS setAccessToken(String value) { this.access_token = value; return this; }
        public String getRefreshToken() { return refresh_token; }
        public GetTokenBiRS setRefreshToken(String value) { this.refresh_token = value; return this; }
        public String getIdToken() { return id_token; }
        public GetTokenBiRS setIdToken(String value) { this.id_token = value; return this; }
    }

}

Java GetTokenBiRQ 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/ObtenerTokenBI HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetTokenBiRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetTokenBiRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <access_token>String</access_token>
  <id_token>String</id_token>
  <refresh_token>String</refresh_token>
  <resource>String</resource>
  <scope>String</scope>
  <token_type>String</token_type>
</GetTokenBiRS>