Returns the company teams for a given company.
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
CRTeamraiserAPI | None. | GET, POST | Yes. |
See topic Common Parameters.
Required. The TeamRaiser event ID.
Type xsd:nonNegativeInteger.
Optional. The unique ID of the company.
Type xsd:nonNegativeInteger.
Optional. Specifies whether a url to download the data should be included in the response.
Type xsd:boolean.
Optional. An optional team ID. If this value is set and company_id is not included, the company associated with this team will be used.
Type xsd:nonNegativeInteger.
Optional. You must provide either this parameter or the sso_auth_token parameter. If using this parameter, you must specify an auth token generated by an embedded [[S86]] session tag in a Convio web page.
Optional. You must provide either this parameter or the auth parameter. If using this parameter, you must specify a valid session authentication token returned by login, authenticateUser, or getSingleSignOnToken.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?> <getCompanyTeamsResponse 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"> <companyTeam> <amount>1001</amount> <teamId>1</teamId> <teamName>example team 1</teamName> <numGifts>1</numGifts> </companyTeam> <companyTeam> <amount>1002</amount> <teamId>2</teamId> <teamName>example team 2</teamName> <numGifts>2</numGifts> </companyTeam> <companyTeam> <amount>1003</amount> <teamId>3</teamId> <teamName>example team 3</teamName> <numGifts>3</numGifts> </companyTeam> </getCompanyTeamsResponse>JSON response
{"getCompanyTeamsResponse":{"companyTeam":[{"teamName":"example team 1","amount":"1001","numGifts":"1","teamId":"1"},{"teamName":"example team 2","amount":"1002","numGifts":"2","teamId":"2"},{"teamName":"example team 3","amount":"1003","numGifts":"3","teamId":"3"}]}}