Difference between revisions of "API clinics"
From Charitylog Manual
(Created page with "Clinics") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Clinics | + | [[API Details|Go to API overview]] |
+ | |||
+ | Clinics are the names of the groups, after-school clubs, day centres etc that your organisation runs. They can be retrieved using: | ||
+ | |||
+ | [GET] https<nowiki/>://api.dizions.co.uk/v2/clinics | ||
+ | |||
+ | You can also filter, typically by project: | ||
+ | |||
+ | [GET] https<nowiki/>://api.dizions.co.uk/v2/clinics/project_id/5 | ||
+ | |||
+ | To select specific fields, add them after /fields: | ||
+ | |||
+ | [GET] https<nowiki/>://api.dizions.co.uk/v2/clinics/field/id;name;maximum_number_of_members | ||
+ | |||
+ | To see a list of selectable fields, use: | ||
+ | |||
+ | [GET] https<nowiki/>://api.dizions.co.uk/v2/clinics/selectable_fields | ||
+ | |||
+ | Typically you would use this list as a lookup list for attendances |
Latest revision as of 16:03, 14 August 2024
Clinics are the names of the groups, after-school clubs, day centres etc that your organisation runs. They can be retrieved using:
[GET] https://api.dizions.co.uk/v2/clinics
You can also filter, typically by project:
[GET] https://api.dizions.co.uk/v2/clinics/project_id/5
To select specific fields, add them after /fields:
[GET] https://api.dizions.co.uk/v2/clinics/field/id;name;maximum_number_of_members
To see a list of selectable fields, use:
[GET] https://api.dizions.co.uk/v2/clinics/selectable_fields
Typically you would use this list as a lookup list for attendances