The getSearch
operation searches using a search query.
Code Block |
---|
language | xml |
---|
title | getSearch |
---|
|
<yammer.getSearch>
<search>{$ctx:search}</search>
<page>{$ctx:page}</page>
<numPerPage>{$ctx:numPerPage}</numPerPage>
</yammer.getSearch> |
Properties
search:
The search query.page:
The page number to return.numPerPage:
The number of results per page.
Sample requestFollowing is a sample REST/JSON request that can be handled by the getSearch
operation.
Code Block |
---|
language | xml |
---|
title | Sample Request for getSearch |
---|
|
{
"apiUrl":"https://www.yammer.com",
"apiToken":"bxmUDADfr3F2ee1rE2Awkw",
"responseType":"json",
"search":"name",
"numPerPage":"2",
"page":"1"
} |
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 getSearch
operation. The sample request for this proxy can be found in the getSearch sample request. You can use this sample as a template for using other operations in this category.
...