Tout obtenir (profil du locataire) #
Obtient tous les profils de locataire disponibles sur votre compte de revendeur.
GET /v1.0/customers/{CUSTOMER_TENANT_ID}/tenantprofiles
Exemple #
Cette demande permettra d'obtenir tous les profils des locataires.
Demande #
GET <https://api.na.myreports.cloud/api/v1.0/customers/{CUSTOMER_TENANT_ID}/tenantprofiles> HTTP/1.1
Autorisation : Porteur {TOKEN}
Réponse #
HTTP/1.1 200 OK
Type de contenu : application/json; charset=utf-8
Longueur du contenu : xx
{
« page_size » : 4,
« data » : [
{
« id » : « TenantProfileType_clientonly »,
« name » : « ClientOnly »,
« description » : « Ceci est le profil réservé au client »
}, {
« id » : « TenantProfileType_insights »,
« name » : « Insights",
« description » : « C'est le Insights profil »
}, {
« id » : « TenantProfileType_analytics »,
« name » : « Analytics",
« description » : « C'est le Analytics profil »
}
][
{
"id": "TenantProfileType_clientonly",
"name": "ClientOnly",
"description": "This is the Client Only profile"
}, {
"id": "TenantProfileType_insights",
"name": "Insights",
"description": "This is the Insights profile"
}, {
"id": "TenantProfileType_analytics",
"name": "Analytics",
"description": "This is the Analytics profile"
}
],
« status » : « succès »,
« timestamp » : « 2019-01-01T10:00:00.2890319Z »
}
Erreurs #
Non autorisé #
Lorsque le jeton n'est pas fourni, invalide ou expiré
HTTP/1.1 401 Non autorisé