Difference between revisions of "API external referrals"
From Charitylog Manual
Line 4: | Line 4: | ||
If you want an all-in-one solution, where we create the form, and call this API for you, see our [[How_to_order_a_Web_Referral_Form|Web forms]]. | If you want an all-in-one solution, where we create the form, and call this API for you, see our [[How_to_order_a_Web_Referral_Form|Web forms]]. | ||
− | If you want your developers to create your form, or if the referrals are | + | If you want your developers to create your form, or if the referrals are coming from another application, they'll need this endpoint. |
As a minimum, you need an organisation/person type and a name, with a PUT to: | As a minimum, you need an organisation/person type and a name, with a PUT to: |
Revision as of 10:14, 30 January 2023
These are referrals collected externally, e.g. a self-referral form on your website.
If you want an all-in-one solution, where we create the form, and call this API for you, see our Web forms. If you want your developers to create your form, or if the referrals are coming from another application, they'll need this endpoint.
As a minimum, you need an organisation/person type and a name, with a PUT to:
[PUT] https://api.dizions.co.uk/v2/external_referral
and a body encoded as x-www-form-urlencoded with org_type_id, surname and first_name. Any other fields from the /clients endpoint can be included.