...
...
Overview
The following operations allow you to work with groups. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with groups, see Sample configuration.
Operation details
This section provides further details on the operations related to groups.
Joining a groupThe joinGroup
operation joins a group.
Code Block |
---|
language | xml |
---|
title | joinGroup |
---|
|
<yammer.joinGroup>
<groupId>{$ctx:groupId}</groupId>
</yammer.joinGroup> |
Properties
groupId:
The ID of the group.
Sample requestFollowing is a sample REST/JSON request that can be handled by the joinGroup
operation.
Code Block |
---|
language | xml |
---|
title | Sample Request for joinGroup |
---|
|
{
"apiUrl":"https://www.yammer.com",
"apiToken":"uewmZGcC18LOvwYfCRSbPA",
"responseType":"xml",
"groupId":"4976430"
} |
Related Yammer documentation
Leaving a joined groupThe leaveGroup operation leaves a joined group.
Code Block |
---|
language | xml |
---|
title | leaveGroup |
---|
|
<yammer.leaveGroup>
<groupId>{$ctx:groupId}</groupId>
</yammer.leaveGroup> |
Properties
groupid:
The ID of the group.
Sample request
Following is a sample REST/JSON request that can be handled by the groupid operation.
Code Block |
---|
language | xml |
---|
title | Sample Request for leaveGroup |
---|
|
{
"apiUrl":"https://www.yammer.com",
"apiToken":"uewmZGcC18LOvwYfCRSbPA",
"responseType":"xml",
"groupId":"4976430"
} |
Related Yammer documentation
Anchor |
---|
| sampleconfiguration |
---|
| sampleconfiguration |
---|
|
Sample configurationFollowing is a sample proxy service that illustrates how to connect to Yammer with the init
operation and use the joinGroup operation. The sample request for this proxy can be found in the joinGroup sample request. You can use this sample as a template for using other operations in this category.
...