Tigris Social Api

<back to all web services

FindAvatar

The following routes are available for this service:
GET/Avatars/{ParticipantId}Retrieve an Avatar for a Participant.
Parameters:
NameParameterData TypeRequiredDescription
ParticipantIdpathstringYesThe Id field is a GUID uniquely identifying the Tigris participant.
StylequerystringNoThe Style indicates what style the returned image is formatted to. Currently can be either 'Default' or 'Style1'
ImageHeightquerystringNoIf not null, indicates the height (in pixels) of the scaled down version of the picture.
ImageWidthquerystringNoIf not null, indicates the width (in pixels) of the scaled down version of the picture.
ActivityIndicatorTypequerystringNoIndicates which style of activity indicator to use. Default is 'None' but may also be 'CountExcludingZero'

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/FindAvatar HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/xml
Content-Length: length

<FindAvatar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mi.Sno.Tigris.TigrisApi.ServiceModel.InputModels.Avatars">
  <ActivityIndicatorType>String</ActivityIndicatorType>
  <ImageHeight>0</ImageHeight>
  <ImageWidth>0</ImageWidth>
  <ParticipantId>00000000-0000-0000-0000-000000000000</ParticipantId>
  <Style>String</Style>
</FindAvatar>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CustomHttpResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types" />