This method returns designated giving types for a Donations 2 (not "Donations Classic") donation form.
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
CRDonationAPI | None. | GET, POST | No. |
The Designated Giving feature in Online Giving allows you to set up Designees within your organization and then assign all funds from a donation form to a specific designee or permit your donors to specify which Designee(s) they would like to target with their gifts. To use this feature, you must first set up your list of Designees and Designation Types. Designation Types help organize your designees for display to your donors. For example, an educational institution might create the following Designation Types: Academic, Athletic, and Administrative. Individual designees, such as the football program or the biology department, can then be assigned to the appropriate Type.
Designation Types can be given a sort order. In the donation forms generated by the site, they are presented visually in ascending order of this value. In a custom form powered by the donation APIs, the form author may choose to either use or ignore this value when presenting them to the donors.
Designation Types that have been archived are not included in the results.
Donation forms that accept designations may be configured to either accept all designees or to only accept a specific subset of the designees. If the form accepts only a subset of designees and the validate parameter is set to "true" when calling the donate method, then an error will occur if the donor selects a designee that is not allowed. Use the form_id parameter for this method to restrict the results to only the designation types allowed for a specific form (those associated with the designees that are allowed for the form) to avoid this situation.
See also getDesignees and donate.
See topic Common Parameters.
Optional. The ID of the donation form.
Type xsd:nonNegativeInteger.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?> <getDesignationTypesResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <type> <id>1021</id> <name>Program 1</name> <sortOrder>2</sortOrder> </type> <type> <id>1022</id> <name>Program 2</name> <sortOrder>1</sortOrder> </type> </getDesignationTypesResponse>JSON response
{"getDesignationTypesResponse":{"type":[{"id":"1021","sortOrder":"2","name":"Program 1"},{"id":"1022","sortOrder":"1","name":"Program 2"}]}}
Comments