Skip to content

Latest commit

 

History

History
181 lines (118 loc) · 5.45 KB

ListeDeValeursApi.md

File metadata and controls

181 lines (118 loc) · 5.45 KB

OpenAPI\Client\ListeDeValeursApi

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

Method HTTP request Description
valuesCompanyLegalStatusGet() GET /values/company-legal-status Obtenir la liste des statuts juridiques
valuesOrganizationCategoriesGet() GET /values/organization/categories Obtenir la liste des catégories du JO
valuesTagsGet() GET /values/tags Obtenir la liste des tags publiques

valuesCompanyLegalStatusGet()

valuesCompanyLegalStatusGet(): \OpenAPI\Client\Model\HelloAssoApiV5ModelsAccountCompanyLegalStatusModel[]

Obtenir la liste des statuts juridiques



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\ListeDeValeursApi(
    // 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
);

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

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\HelloAssoApiV5ModelsAccountCompanyLegalStatusModel[]

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]

valuesOrganizationCategoriesGet()

valuesOrganizationCategoriesGet(): \OpenAPI\Client\Model\HelloAssoApiV5ModelsAccountOrganismCategoryModel[]

Obtenir la liste des catégories du JO

Utilisez ceci afin de construire votre liste de catégories d'organisation

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\ListeDeValeursApi(
    // 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
);

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

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\HelloAssoApiV5ModelsAccountOrganismCategoryModel[]

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]

valuesTagsGet()

valuesTagsGet(): \OpenAPI\Client\Model\HelloAssoApiV5ModelsTagsPublicTagModel[]

Obtenir la liste des tags publiques

Utilisez ceci afin de récupérer la liste des étiquettes utilisées

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\ListeDeValeursApi(
    // 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
);

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

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\HelloAssoApiV5ModelsTagsPublicTagModel[]

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]