Informatique : Interface de protocole d'application (API)

Cette page n'est pas encore traduite

API Functionality

The  Volunteer Impact API enables you to request profile data from Volunteer Impact to be used in an external program or application.

Sample API Client

A sample API Client (implemented in C#) is available at: https://github.com/BetterImpact/ApiClient.

Authentication

Our API uses HTTP basic authentication over HTTPS.

API Endpoints: Listing Users

Enterprise: https://api.betterimpact.com/v1/enterprise/users/
Organization: https://api.betterimpact.com/v1/organization/users/

Parameters:

None.

Query parameters:

Response parameters:

Header Properties:

API Endpoints: Single User

Enterprise: https://api.betterimpact.com/v1/enterprise/users/{user_id}

Organization: https://api.betterimpact.com/v1/organization/users/{user_id}

Parameters:

Query parameters:

None.

Response:

A single user document, containing its own fields, as well as membership documents, custom fields documents, and qualifications documents.

  • Qualifications will only be included if your API user credentials have access to the Volunteer module.
  • Custom Fields will only be included if your API user credentials have access to at least one module that is specified on the custom field (the intersection between your modules and the ones on the custom field.).

User Properties:

Membership Properties:

Custom Field Properties:

Qualification Properties:

Background Check Properties:

Custom Field Files

Enterprise: https://api.betterimpact.com/v1/enterprise/users/{user_id}/custom_fields/{user_custom_field_id}/file

Organization: https://api.betterimpact.com/v1/organization/users/{user_id}/custom_fields/{user_custom_field_id}/file

  • These URLS are specified as the value of the custom field when custom fields are retrieved as part of a single, or list of users.

Parameters:

Query Parameters:

None.

Response:

The file that was requested, as a byte stream.