Difference between revisions of "API Entities"
From Charitylog Manual
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
The API is based around various entities: | The API is based around various entities: | ||
− | * clients | + | * clients. These are organisations/people that are people, e.g. clients, staff volunteers etc. |
− | * referrals | + | * referrals. These are a groups of cohesive actions. These are typically called 'cases' in the web application. The web application's terminology section allows these to be renamed, but they are always called 'referrals' in the API. Only referral using a template are available in the API. In a future release of the web application, templates will be automatically created when new projects are created, so that all referrals will be available in the API. If you have older referrals without a template that you wish to access via the API, please contact the support team. |
− | * done_contacts | + | * done_contacts. These are completed actions. |
− | * due_contacts | + | * due_contacts. These are outstanding actions that typically make up the Action List in the web application. |
− | * workers | + | * workers. These are the people who work on Roster Job Cards. The web application's terminology section allows these to be renamed, but they are always called 'referrals' in the API. |
− | * schedules | + | * schedules. These are Roster job cards. |
− | * external_referrals | + | * external_referrals. These are referrals collected externally, e.g. a self-referral form on your website. |
− | An example URL would look like | + | An example URL would look like: |
+ | [GET] https<nowiki/>://api.dizions.co.uk/v2/clients/37 |
Revision as of 16:03, 26 August 2020
The API is based around various entities:
- clients. These are organisations/people that are people, e.g. clients, staff volunteers etc.
- referrals. These are a groups of cohesive actions. These are typically called 'cases' in the web application. The web application's terminology section allows these to be renamed, but they are always called 'referrals' in the API. Only referral using a template are available in the API. In a future release of the web application, templates will be automatically created when new projects are created, so that all referrals will be available in the API. If you have older referrals without a template that you wish to access via the API, please contact the support team.
- done_contacts. These are completed actions.
- due_contacts. These are outstanding actions that typically make up the Action List in the web application.
- workers. These are the people who work on Roster Job Cards. The web application's terminology section allows these to be renamed, but they are always called 'referrals' in the API.
- schedules. These are Roster job cards.
- external_referrals. These are referrals collected externally, e.g. a self-referral form on your website.
An example URL would look like:
[GET] https://api.dizions.co.uk/v2/clients/37