Difference between revisions of "API Classification Codes"

From Charitylog Manual
Jump to: navigation, search
(Created page with "Go to API overview Classification codes are used to classify done_contacts using a tiered coding system.")
 
Line 1: Line 1:
 
[[API Details|Go to API overview]]
 
[[API Details|Go to API overview]]
 
Classification codes are used to classify done_contacts using a tiered coding system.
 
Classification codes are used to classify done_contacts using a tiered coding system.
 +
 +
Codes are divided into groups. These can be found using the dictionary:
 +
 +
[GET] https<nowiki/>://api.dizions.co.uk/v2/dictionary/classification_codes_groups
 +
 +
Each code group uses a tree structure, which can be looked up using by id:
 +
[GET] https<nowiki/>://api.dizions.co.uk/v2/dictionary/classification_codes_tree/123
 +
 +
Codes are return as a JSON object attached to each done_contacts, and can be fetched like any other field:
 +
[GET] https<nowiki/>://api.dizions.co.uk/v2/done_contacts/field/id;client_postcode;codes

Revision as of 17:16, 23 February 2022

Go to API overview Classification codes are used to classify done_contacts using a tiered coding system.

Codes are divided into groups. These can be found using the dictionary:

[GET] https://api.dizions.co.uk/v2/dictionary/classification_codes_groups

Each code group uses a tree structure, which can be looked up using by id:

[GET] https://api.dizions.co.uk/v2/dictionary/classification_codes_tree/123

Codes are return as a JSON object attached to each done_contacts, and can be fetched like any other field:

[GET] https://api.dizions.co.uk/v2/done_contacts/field/id;client_postcode;codes