Guides (SDK /API)Technical ReferenceBBDNHow-to Documentation

You are here: REST API for the Advanced Donation Form > Code Table API

Code Table API

Endpoints:

Code Table API - Endpoints

CodeTable/{Id} - GET

Summary:Returns the active code table entries for the specified code table Id ordered as configured in the CRM.

Behavior:If the provided code table Id is valid, then this will return the active code table entries for the specified code table. The entries will be ordered as configured in the CRM.

Parameters
Name Type Required Description
Id GUID true Id of a code table.
Possible Responses
Status Body Description
404 Not Found No code table was found by the specified Id.
200 OK Array of Code Table Entry Returns an array of code table entries.

Example Responses:

Name: Success

Status: 200 OK

Body:

                        “[{"Description":"Mr.","Id":"aa784eae-4649-43ce-bf5a-0d2fccb01807"},{"Description":"Mrs.","Id":"ca590da0-2884-4c90-86ef-a349d6ea6b09"}]”