Types
Types are static, system-defined resources. You can query a list of available types as below.
Donation Types
Request
GET /settings/donation_types.xml
Response
Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?> <donation-types type="array"> <donation-type> <id type="integer">1</id> <name>Cash</name> </donation-type> <donation-type> <id type="integer">2</id> <name>Check</name> </donation-type> ... </donation-types>
Name Types
Request
GET /settings/name_types.xml
Response
Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?> <name-types type="array"> <name-type> <id type="integer">1</id> <name>Primary</name> </name-type> <name-type> <id type="integer">2</id> <name>Formal</name> </name-type> ... </name-types>
Address Types
Request
GET /settings/address_types.xml
Response
Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?> <address-types type="array"> <address-type> <id type="integer">1</id> <name>Home</name> </address-type> <address-type> <id type="integer">2</id> <name>Work</name> </address-type> ... </address-types>