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; }
}
}
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 /Utilidades/ObtenerTokenBI HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { token_type: String, scope: String, resource: String, access_token: String, refresh_token: String, id_token: String }