Creates a new regional company tied to an organization and a set of events within a classification.
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
None. | SRTeamraiserAPI | POST | No. |
Updating large amounts of data can impact performance. Schedule large data updates during non-peak hours. Additionally, run the APIs one at a time.
See topic Common Parameters.
Required. The TeamRaiser event ID.
Type xsd:nonNegativeInteger.
Required. Org ID
Type xsd:int.
Required. The public name of the company.
Type xsd:string.
Optional. The company's fundraising goal
Type xsd:nonNegativeInteger.
Optional. The constituent ID of the company coordinator
Type xsd:nonNegativeInteger.
Optional. The primary event type the company will be associated with.
Type xsd:string.
Optional. Can the company coordinator record gifts
Type xsd:boolean.
Required. A comma-separated list of event IDs the regional company is associated with
Type xsd:string.
Optional. The fiscal year of the regional company.
Type xsd:nonNegativeInteger.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?>JSON response
<getNationalCompanyResponse 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">
<company>
<orgId>1000</orgId>
<publicName>sampleCompany</publicName>
<companyFundraisingGoal>4000</companyFundraisingGoal>
<classificationId>1</classificationId>
<classification>Type 1</classification>
<securityCategoryId>12</securityCategoryId>
<companyCoordinatorGiftRecording>true</companyCoordinatorGiftRecording>
<companyCoordinatorConsId>1000</companyCoordinatorConsId>
</company>
</getNationalCompanyResponse>
{"addRegionalCompanyResponse":{"companyId":"1000"}}