getSentMessage

Retrieves the message information for a specific sent message id.

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
CRTeamraiserAPI None. GET, POST Yes.

Client API Syntax

https://secure2.convio.net/organization/site/CRTeamraiserAPI?method=getSentMessage &api_key=value &v=value [ &auth=value ] [ &center_id=value ] [ &error_redirect=value ] [ &redirect=value ] [ &response_format=xml | json ] [ &sign_redirects=value ] [ &source=value ] [ &sub_source=value ] [ &success_redirect=value ] [ &suppress_response_codes=value ] &fr_id=value &message_id=value [ &auth=value ] [ &sso_auth_token=value ]

Client API Parameters

Common Client Parameters

See topic Common Parameters.

fr_id

Required. The TeamRaiser event ID.

Type xsd:nonNegativeInteger.

message_id

Required. Message ID

Type xsd:nonNegativeInteger.

auth

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.

sso_auth_token

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.

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8"?>
<getSentMessageResponse 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">
  <messageInfo>
    <messageId>123</messageId>
    <recipient>
      <contactId>1293</contactId>
      <firstName>example_first</firstName>
      <lastName>example_last</lastName>
      <email>name123@example.com</email>
    </recipient>
    <subject>Sample subject</subject>
    <messageBody>Sample message body.</messageBody>
    <messageName>Sample Name</messageName>
    <date>Thu, Jan 1 2009 at 1:00:00 PM</date>
  </messageInfo>
</getSentMessageResponse>

        
JSON response
{"getSentMessageResponse":{"messageInfo":{"messageBody":"Sample message body.","subject":"Sample subject","date":"Thu, Jan 1 2009 at 1:00:00 PM","messageId":"123","recipient":{"lastName":"example_last","contactId":"1293","email":"name123@example.com","firstName":"example_first"},"messageName":"Sample Name"}}}

        

Leave a Comment

Nickname
Comment
Enter this word: