Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.87 KB

File metadata and controls

58 lines (37 loc) · 1.87 KB

HelloAssoApi.OrganisationApi

All URIs are relative to https://api.helloasso.com/v5

Method HTTP request Description
organizationsOrganizationSlugGet GET /organizations/{organizationSlug} Obtenir le détail d'une organisation

organizationsOrganizationSlugGet

HelloAssoApiV5CommonModelsOrganizationsOrganizationPublicModel organizationsOrganizationSlugGet(organizationSlug)

Obtenir le détail d'une organisation

Obtenir les informations publiques de l'organisation spécifiée.<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>

Example

import HelloAssoApi from 'hello_asso_api';
let defaultClient = HelloAssoApi.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2
let OAuth2 = defaultClient.authentications['OAuth2'];
OAuth2.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new HelloAssoApi.OrganisationApi();
let organizationSlug = "organizationSlug_example"; // String | The organization Slug
apiInstance.organizationsOrganizationSlugGet(organizationSlug, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
organizationSlug String The organization Slug

Return type

HelloAssoApiV5CommonModelsOrganizationsOrganizationPublicModel

Authorization

OAuth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json