1. Accueil
  2. /
  3. Guide Développeur
  4. /
  5. Rest API
  6. /
  7. 3. Describe All

3. Describe All

  • URL:
« /RestApi/DescribeAll »
  • Méthode: GET
  • Authentification: Incluez un jeton d’accès OAuth 2.0 dans l’en-tête Authorization: Bearer <access_token> de chaque appel. Voir 1. AuthToken — Authentification OAuth 2.0 pour savoir comment l’obtenir.
  • Paramètres URL:
    • Réponse de succès:
      • Status Code=200 (OK)
      • Returned Data [in XML or JSON]= une liste de tous les objets de l’environnement de l’utilisateur
    • Réponse d’erreur:
      • Status Code=401 (Unauthorized) (en cas de fausse authentication token)

    Exemple de données retournées (en format xml):

    
    <?xml version="1.0"?>
    
    <ArrayOfObjectDescriptor>
    
    <ObjectDescriptor>
    
    <APIName>Organization</APIName>
    
    <Fields i:nil="true"/>
    <Icon/>
    
    <IsCustom>false</IsCustom>
    
    <IsDeletable>false</IsDeletable>
    
    <IsEditable>true</IsEditable>
    
    <Label>Organization</Label>
    
    <PluralLabel>Organizations</PluralLabel>
    
    </ObjectDescriptor>
    
    <ObjectDescriptor>
    
    <APIName>UserPosition</APIName>
    
    <Fields i:nil="true"/>
    
    <Icon/>
    
    <IsCustom>false</IsCustom>
    
    <IsDeletable>false</IsDeletable>
    
    <IsEditable>false</IsEditable>
    
    <Label>Position</Label>
    
    <PluralLabel>Positions</PluralLabel>
    
    </ObjectDescriptor>
    
    <ObjectDescriptor>
    
    <APIName>Profile</APIName>
    
    <Fields i:nil="true"/>
    
    <Icon/>
    
    <IsCustom>false</IsCustom>
    
    <IsDeletable>false</IsDeletable>
    
    <IsEditable>false</IsEditable>
    
    <Label>Profile</Label>
    
    <PluralLabel>Profiles</PluralLabel>
    
    </ObjectDescriptor>
    
    <ObjectDescriptor>
    
    
    <APIName>License</APIName>
    
    <Fields i:nil="true"/>
    
    <Icon/>
    
    <IsCustom>false</IsCustom>
    
    <IsDeletable>true</IsDeletable>
    
    <IsEditable>true</IsEditable>
    
    <Label>License</Label>
    
    <PluralLabel>Licenses</PluralLabel>
    
    </ObjectDescriptor>
    
    <ObjectDescriptor>
    
    <APIName>LoginHistory</APIName>
    
    <Fields i:nil="true"/>
    
    <Icon/>
    
    <IsCustom>false</IsCustom>
    
    <IsDeletable>false</IsDeletable>
    
    <IsEditable>false</IsEditable>
    
    <Label>Login History</Label>
    
    <PluralLabel>Login History</PluralLabel>
    
    </ObjectDescriptor>
    
    <ObjectDescriptor>
    
    <APIName>Account</APIName>
    
    <Fields i:nil="true"/>
    
    <Icon/>
    
    <IsCustom>true</IsCustom>
    
    <IsDeletable>true</IsDeletable>
    
    <IsEditable>true</IsEditable>
    
    <Label>Account</Label>
    
    <PluralLabel>Accounts</PluralLabel>
    
    </ObjectDescriptor>
    
    </ArrayOfObjectDescriptor>
    Cet article vous a-t-il été utile ? Non Oui

    Comment pouvons-nous aider ?