| GET | /authScopes | Get all scopes of logged user |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetUserScope
{
}
public static class GetUserScopeResponse extends ArrayList<Scope>
{
}
public static class Scope
{
/**
* Scope Code - combination of BU / Brand
*/
@ApiMember(Description="Scope Code - combination of BU / Brand", IsRequired=true)
public String scopeCode = null;
/**
* Business Unit Code
*/
@ApiMember(Description="Business Unit Code", IsRequired=true)
public String buCode = null;
/**
* Brand Trigram
*/
@ApiMember(Description="Brand Trigram", IsRequired=true)
public String brand = null;
/**
* Description of the combination
*/
@ApiMember(Description="Description of the combination", IsRequired=true)
public String description = null;
public String getScopeCode() { return scopeCode; }
public Scope setScopeCode(String value) { this.scopeCode = value; return this; }
public String getBuCode() { return buCode; }
public Scope setBuCode(String value) { this.buCode = value; return this; }
public String getBrand() { return brand; }
public Scope setBrand(String value) { this.brand = value; return this; }
public String getDescription() { return description; }
public Scope setDescription(String value) { this.description = 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.
GET /authScopes HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length []