All URIs are relative to https://api.helloasso.com/v5
| Method | HTTP request | Description |
|---|---|---|
| partnersMeApiClientsPut | PUT /partners/me/api-clients | Mise à jour du domaine |
| partnersMeApiNotificationsDelete | DELETE /partners/me/api-notifications | Suppression de l'URL de notification principale |
| partnersMeApiNotificationsOrganizationsOrganizationSlugDelete | DELETE /partners/me/api-notifications/organizations/{organizationSlug} | Suppression d'une URL de notification liée à une organisation |
| partnersMeApiNotificationsOrganizationsOrganizationSlugPut | PUT /partners/me/api-notifications/organizations/{organizationSlug} | Mise à jour d'une URL de notification liée à une organisation |
| partnersMeApiNotificationsPut | PUT /partners/me/api-notifications | Mise à jour de l'URL de notification principale |
| partnersMeGet | GET /partners/me | Récupération des informations |
| partnersMeOrganizationsGet | GET /partners/me/organizations | Obtenir toutes les organisations |
partnersMeApiClientsPut(opts)
Mise à jour du domaine
<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let opts = {
'helloAssoApiV5CommonModelsAccountsClientsPublicPutApiClientRequest': new HelloAssoApi.HelloAssoApiV5CommonModelsAccountsClientsPublicPutApiClientRequest() // HelloAssoApiV5CommonModelsAccountsClientsPublicPutApiClientRequest |
};
apiInstance.partnersMeApiClientsPut(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helloAssoApiV5CommonModelsAccountsClientsPublicPutApiClientRequest | HelloAssoApiV5CommonModelsAccountsClientsPublicPutApiClientRequest | [optional] |
null (empty response body)
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: Not defined
partnersMeApiNotificationsDelete(opts)
Suppression de l'URL de notification principale
<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let opts = {
'notificationType': new HelloAssoApi.HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType() // HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType | Do not specify a notification type to remove the main notification Url
};
apiInstance.partnersMeApiNotificationsDelete(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| notificationType | HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType | Do not specify a notification type to remove the main notification Url | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
partnersMeApiNotificationsOrganizationsOrganizationSlugDelete(organizationSlug, opts)
Suppression d'une URL de notification liée à une organisation
<br/><br/><b>Votre token doit avoir l'un de ces rôles : </b><br/>OrganizationAdmin<br/><br/>Si vous êtes une <b>association</b>, vous pouvez obtenir ces rôles avec votre client.<br/>Si vous êtes un <b>partenaire</b>, vous pouvez obtenir ces rôles par le flux d'autorisation.<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let organizationSlug = "organizationSlug_example"; // String |
let opts = {
'notificationType': new HelloAssoApi.HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType() // HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType | Do not specify a notification type to remove the main notification Url
};
apiInstance.partnersMeApiNotificationsOrganizationsOrganizationSlugDelete(organizationSlug, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationSlug | String | ||
| notificationType | HelloAssoApiV5CommonModelsApiNotificationsApiNotificationType | Do not specify a notification type to remove the main notification Url | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
HelloAssoApiV5CommonModelsApiNotificationsApiUrlNotificationModel partnersMeApiNotificationsOrganizationsOrganizationSlugPut(organizationSlug, opts)
Mise à jour d'une URL de notification liée à une organisation
<br/><br/><b>Votre token doit avoir l'un de ces rôles : </b><br/>OrganizationAdmin<br/><br/>Si vous êtes une <b>association</b>, vous pouvez obtenir ces rôles avec votre client.<br/>Si vous êtes un <b>partenaire</b>, vous pouvez obtenir ces rôles par le flux d'autorisation.<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let organizationSlug = "organizationSlug_example"; // String |
let opts = {
'helloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody': new HelloAssoApi.HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody() // HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | The body of the request, do not specify a notification type to update the main notification Url
};
apiInstance.partnersMeApiNotificationsOrganizationsOrganizationSlugPut(organizationSlug, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationSlug | String | ||
| helloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | The body of the request, do not specify a notification type to update the main notification Url | [optional] |
HelloAssoApiV5CommonModelsApiNotificationsApiUrlNotificationModel
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
HelloAssoApiV5CommonModelsApiNotificationsApiUrlNotificationModel partnersMeApiNotificationsPut(opts)
Mise à jour de l'URL de notification principale
<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let opts = {
'helloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody': new HelloAssoApi.HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody() // HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | The body of the request, do not specify a notification type to update the main notification Url
};
apiInstance.partnersMeApiNotificationsPut(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | HelloAssoApiV5CommonModelsApiNotificationsPostApiUrlNotificationBody | The body of the request, do not specify a notification type to update the main notification Url | [optional] |
HelloAssoApiV5CommonModelsApiNotificationsApiUrlNotificationModel
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
HelloAssoApiV5CommonModelsPartnersPartnerPublicModel partnersMeGet()
Récupération des informations
<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
apiInstance.partnersMeGet((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
HelloAssoApiV5CommonModelsPartnersPartnerPublicModel
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelPartnerOrganizationModel partnersMeOrganizationsGet(opts)
Obtenir toutes les organisations
Liste toutes les organisations liées au partenaire. Les résultats sont classés par date de mise à jour de la visibilité API en ordre croissant. Le nombre total de résultats (ou de pages) n'est pas récupérable, donc les informations de pagination retournées indiqueront toujours -1.<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> AccessPublicData<br/><br/>
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.PartenairesApi();
let opts = {
'pageSize': 20, // Number | The number of items per page
'continuationToken': "continuationToken_example" // String | Continuation Token from which we wish to retrieve results
};
apiInstance.partnersMeOrganizationsGet(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| pageSize | Number | The number of items per page | [optional] [default to 20] |
| continuationToken | String | Continuation Token from which we wish to retrieve results | [optional] |
HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelPartnerOrganizationModel
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json