Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 2.33 KB

File metadata and controls

70 lines (45 loc) · 2.33 KB

OpenAPI\Client\OrganisationApi

All URIs are relative to https://api.helloasso.com/v5, except if the operation defines another base path.

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

organizationsOrganizationSlugGet()

organizationsOrganizationSlugGet($organization_slug): \OpenAPI\Client\Model\HelloAssoApiV5CommonModelsOrganizationsOrganizationPublicModel

Obtenir le détail d'une organisation

Obtenir les informations publiques de l'organisation spécifiée.

Votre clientId doit être autorisé à tous ces privilèges :
AccessPublicData

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: OAuth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OpenAPI\Client\Api\OrganisationApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$organization_slug = 'organization_slug_example'; // string | The organization Slug

try {
    $result = $apiInstance->organizationsOrganizationSlugGet($organization_slug);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganisationApi->organizationsOrganizationSlugGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
organization_slug string The organization Slug

Return type

\OpenAPI\Client\Model\HelloAssoApiV5CommonModelsOrganizationsOrganizationPublicModel

Authorization

OAuth2

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]