Difference between revisions of "API external referrals"

From Charitylog Manual
Jump to: navigation, search
Line 9: Line 9:
 
  [PUT] https<nowiki/>://api.dizions.co.uk/v2/external_referral
 
  [PUT] https<nowiki/>://api.dizions.co.uk/v2/external_referral
 
and a body encoded as x-www-form-urlencoded with org_type_id, surname and first_name.
 
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.

Revision as of 10:12, 30 January 2023

Go to API overview

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 comming 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.