listXrefTypes

Get XREF types for a COM application.

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
None. SRDataSyncAPI GET, POST Yes.

Server API Syntax

https://secure2.convio.net/organization/site/SRDataSyncAPI?method=listXrefTypes & api_key =value & login_name =value & login_password =value & v =value [ & center_id =value ] [ & response_format =xml |json ] [ & source =value ] [ & sub_source =value ] [ & suppress_response_codes =value ] [ & application =donation_classic |donation_campaign |donation_form |teamraiser_campaign |ticketed_event |pf_campaign |action_alert |email_campaign |designated_gift |e_commerce_store |event_ticket_class |event_rsvp |interest |membership_type ]

Usage Notes

Given an application, this method returns the xref types assigned to that application.

Given an xref type ID, a list of name/value pairs of Luminate Online objects to which that xref type may apply can be generated using the listComObjectsForXrefType method.

The same can be done for foreign objects given xref type id and field number using the listForeignObjectsForXrefField method.

Server API Parameters

Common Server Parameters

See topic Common Parameters.

application

Optional. COM application

Type crm:comApplication.

Options are:
  • donation_classic
  • donation_campaign
  • donation_form
  • teamraiser_campaign
  • ticketed_event
  • pf_campaign
  • action_alert
  • email_campaign
  • designated_gift
  • e_commerce_store
  • event_ticket_class
  • event_rsvp
  • interest
  • membership_type

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8"?>
<listXrefTypesResponse 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">
  <xrefType>
    <id>100</id>
    <name>Sample XRef Type</name>
    <description>A sample xref type.</description>
    <xrefField>
      <number>0</number>
      <name>Sample field name</name>
      <required>false</required>
    </xrefField>
  </xrefType>
</listXrefTypesResponse>

        
JSON response
{"listXrefTypesResponse":{"xrefType":{"id":"100","xrefField":{"name":"Sample field name","number":"0","required":"false"},"description":"A sample xref type.","name":"Sample XRef Type"}}}

        

Leave a Comment

Nickname
Comment
Enter this word: