Accepts an XML document describing a primary registration_document and zero or more secondary registrations and processes the registrations.
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
CRTeamraiserAPI | SRTeamraiserAPI | POST | Server. |
Request Document
This method accepts an XML document with data for one primary TeamRaiser event registration, and if multiple registrations are allowed, one or more secondary registrations in the same event. The XML document follows the same format as the return document of getRegistrationDocument:
<processRegistrationRequest 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"> <eventId>1000</eventId> <primaryRegistration> <partTypeId>1100</partTypeId> <consId xsi:nil="true"/> <email required="true"/> <firstName required="true"/> <lastName required="true"/> <question> <id>1010</id> <type>PARTICIPATION_TYPE</type> <response xsi:nil="true"/> <key>T_SHIRT_SIZE</key> <hidden>false</hidden> <questionRequired>true</questionRequired> </question> </primaryRegistration> <secondaryRegistration> <partTypeId>1100</partTypeId> <consId xsi:nil="true"/> <email required="true"/> <firstName required="true"/> <lastName required="true"/> <question> <id>1010</id> <type>EVENT</type> <response xsi:nil="true"/> <key>Turned_In_Permission_Slip</key> <hidden>true</hidden> <questionRequired>true</questionRequired> </question> </secondaryRegistration> </processRegistrationRequest>
See getRegistrationDocument for a complete example and more information about the request document.
Constituent Matching
Team Matching
Autoresponder Suppression
Payment Information
If you call this method via the Client API, you can:
See topic Common Parameters.
Required. The XML document containing the data for the primary registration and any secondary registrations.
Type xsd:string.
Default is .
Optional. If set to true, an existing constituent that matches the username provided in the registration document will be registered for the event.
Type xsd:boolean.
Default is false.
Optional. Prevent autoresponders from being sent to the constituent(s) being registered.
Type xsd:boolean.
Default is false.
Optional. If set to true and an existing constituent is matched for the primary registrant, the constituent profile will be updated. Secondary registrant information is never used for updates. It is only used for creating new constituents.
Type xsd:boolean.
Default is false.
See topic Common Parameters.
Optional. If set to true, an existing constituent that matches the username provided in the registration document will be registered for the event.
Type xsd:boolean.
Default is false.
Optional. When set to true, administrators can record a TeamRaiser registration with a payment type of CREDIT_CARD, but the credit card is not charged. To use this parameter, the administrator must pass a bowdlerized version of the credit card number where all digits except the last four are replaced with asterisks. This security feature allows a Server API call to maintain PCI compliance while recording CREDIT_CARD transactions. This parameter cannot be used in Client API calls.
Type xsd:boolean.
Default is false.
Required. The XML document containing the data for the primary registration and any secondary registrations.
Type xsd:string.
Default is .
Optional. Prevent autoresponders from being sent to the constituent(s) being registered.
Type xsd:boolean.
Default is false.
Optional. If set to true and an existing constituent is matched for the primary registrant, the constituent profile will be updated. Secondary registrant information is never used for updates. It is only used for creating new constituents.
Type xsd:boolean.
Default is false.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?> <processRegistrationResponse 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"> <transactionId>1325</transactionId> <confirmationCode>1-1001-20-1001-1001</confirmationCode> <primaryRegistration> <registrationId>1001</registrationId> <consId>1100000</consId> </primaryRegistration> <secondaryRegistration> <registrationId>1002</registrationId> <consId>1100001</consId> </secondaryRegistration> <secondaryRegistration> <registrationId>1003</registrationId> <consId>1100002</consId> </secondaryRegistration> </processRegistrationResponse>JSON response
{"processRegistrationResponse":{"secondaryRegistration":[{"consId":"1100001","registrationId":"1002"},{"consId":"1100002","registrationId":"1003"}],"transactionId":"1325","primaryRegistration":{"consId":"1100000","registrationId":"1001"},"confirmationCode":"1-1001-20-1001-1001"}}
Comments