POST api.ashx/v2/groups/{groupid}/contactrequests.{json|xml}
CREATE a group contact request.
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Body | string | Body | Required | |||
EmailAddress | string | Email Address | Required | |||
GroupId | int | Group Id | Required | |||
Name | string | Name | Optional | |||
Subject | string | Subject | Optional |
Example Requests
Widget Javascript
Fullscreen
1
2
3
4
5
6
7
8
9
10
jQuery.telligent.evolution.post({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/contactrequests.json',
data: {
'groupid': '6',
'Body': 'body',
'EmailAddress': 'emailaddress'
}
}).then(function(response) {
// use response
});
Example Responses
JSON
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"ContactRequest": {
"Group": {
"AvatarUrl": "avatarurl",
"DateCreated": "2012-01-04T00:00:00",
"Description": "description",
"Key": "key",
"Name": "name",
"ParentGroupId": 6,
"Url": "url",
"TotalMembers": 25,
"HasGroups": true,
"GroupCount": 8,
"GroupType": "grouptype",
"EnableGroupMessages": true,
"EnableContact": true,
"SearchUniqueId": "searchuniqueid",
"IsEnabled": true,
"ExtendedAttributes": [
{
"Key": "key",
XML
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-16"?>
string
string
string
string
string
string
7
4
avatarurl
2012-01-04T00:00:00
description