Updates an existing national company.
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.
Optional. The public name of the company.
Type xsd:string.
Required. The id of the company.
Type xsd:nonNegativeInteger.
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.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?> <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>JSON response
{"updateNationalCompanyResponse":{"success":"true"}}