GET api.ashx/v2/groups/{groupid}/avatar.{json|xml}
GET a groups avatar.
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Id of the Group | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/avatar.json', data: { 'groupid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "AvatarUrl": "avatarurl", "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <AvatarUrl>avatarurl</AvatarUrl> </Response>