Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3
typeflat

...

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

OperationDescription

1Working with Groups in YammerjoinGroup

Joins a group.

1Working with Groups in YammerleaveGroupLeaves a joined group.

Operation details

This section provides further details on the operations related to groups.

Anchor
joinGroup
joinGroup
Joining a group

The joinGroup operation joins a group.

Code Block
languagexml
titlejoinGroup
 <yammer.joinGroup>
 	<groupId>{$ctx:groupId}</groupId>
 </yammer.joinGroup>
Properties
  • groupId: The ID of the group.
Anchor
request
request
Sample request

Following is a sample REST/JSON request that can be handled by the joinGroup operation.

Code Block
languagexml
titleSample Request for joinGroup
{
	"apiUrl":"https://www.yammer.com",
	"apiToken":"uewmZGcC18LOvwYfCRSbPA",
	"responseType":"xml",
	"groupId":"4976430"
}
Related Yammer documentation
https://developer.yammer.com/restapi/#rest-groups

Anchor
leaveGroup
leaveGroup
Leaving a joined group

The leaveGroup operation leaves a joined group.

Code Block
languagexml
titleleaveGroup
<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
languagexml
titleSample Request for leaveGroup
{
	"apiUrl":"https://www.yammer.com",
	"apiToken":"uewmZGcC18LOvwYfCRSbPA",
	"responseType":"xml",
	"groupId":"4976430"
}
Related Yammer documentation
https://developer.yammer.com/restapi/#rest-groups

Anchor
sampleconfiguration
sampleconfiguration
Sample configuration

Following 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.

...