Organisations
Organisation description here
Endpoint
/api/v1/organisations/
-
class
viitata.api.views.OrganisationViewSet(*args, **kwargs) A ViewSet that provides create, list, retrieve, update, partial_update and destroy for Organisation objects.
- Actions:
- list:
- Return a list of all the Organisations.
- Requires the IsAuthenticated permission.
- retrieve:
- Return the given Organisation.
- Requires the IsAuthenticated permission.
- create:
- Create a given Organisation.
- Requires the IsAuthenticated permission.
- update:
- Update the given Organisation.
- Requires the IsAuthenticated permission.
- partial_update:
- Update a fragment of the given Organisation.
- Requires the IsAuthenticated permission.
- destroy:
- Delete a given Organisation.
- Requires the IsAuthenticated permission.
Filters
-
class
viitata.api.filters.OrganisationFilterSet(data=None, queryset=None, *, request=None, prefix=None) Filters for /api/v1/organisations/ endpoint.
- Ordering:
- idnameactiveaccepts_referrals
- Search:
- nameparent nameaddress address_1address address_2address town_cityaddress countyaddress postcodephone_numberwebsitedescriptioncriteriaservice_offerskypecontact_email
- Filters:
- parentaddressactiveaccepts_referralsaccepts_referrals_fromaccepted_issuesaccepted_secondary_issueslocal_authoritiesgenderminimum_agemaximum_agecase_matchissue_matchtags