Uploads a personal page photo. If the graphic_upload_file is blank, the photo caption will be the only item updated. The photo must be submitted in encoding type 'multipart/form-data'.
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
CRTeamraiserAPI | None. | POST | Yes. |
See topic Common Parameters.
Required. The TeamRaiser event ID.
Type xsd:nonNegativeInteger.
Optional. The new caption for photo 1 to be updated.
Type xsd:string.
Optional. The new caption for photo 2 to be updated.
Type xsd:string.
Optional. The file representing the personal photo 2 to be uploaded.
Type xsd:string.
Optional. Indicates whether photo 2 should be updated.
Type xsd:boolean.
Optional. The file representing the new personal photo 1 to be uploaded.
Type xsd:string.
Optional. Indicates whether photo 1 should be updated.
Type xsd:boolean.
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"?> <uploadPersonalPhotoResponse 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"> <photoItem> <id>123</id> <thumbnailUrl>http://www.example.com/thumbnailexample.jpg</thumbnailUrl> </photoItem> </uploadPersonalPhotoResponse>JSON response
{"uploadPersonalPhotoResponse":{"photoItem":{"id":"123","thumbnailUrl":"http://www.example.com/thumbnailexample.jpg"}}}