API: Keeping Two Systems In Sync

From Charitylog Manual
Jump to: navigation, search

Go to API overview

Also see Integrations. To do this, poll the API on some reasonable frequency, say daily or hourly, to a list of records that have been created or updated.

Use the filters date_entered or date_last_change, e.g. this will get the type 1 records (typically clients) created in the last hour of 2025:

[GET] https://api.dizions.co.uk/clients/type/1/date_entered/2025-12-31 23:00:00,2025-12-31 23:59:59/field/id;surname;first_name;postcode;date_of_birth;date_entered


Similarly, this will get those who's records were last edited on Valentine's Day:

[GET] https://api.dizions.co.uk/clients/type/1/date_last_change/2025-02-14 00:00:00,2025-02-14 23:59:59/field/id;surname;first_name;postcode;date_of_birth;date_last_change