GET api/2.0/crm/contact/twitterprofile
Returns a list of twitter profiles by the search text specified in the request.
Name |
Description |
Type |
Example |
searchText
sent in url
|
Search text
|
string
|
some text
|
GET api/2.0/crm/contact/twitterprofile?searchText=%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"UserID": "1,1",
"ScreenName": "Screen name",
"UserName": "User Name",
"SmallImageUrl": "url to img",
"Description": "Description"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<UserID>1,1</UserID>
<ScreenName>Screen name</ScreenName>
<UserName>User Name</UserName>
<SmallImageUrl>url to img</SmallImageUrl>
<Description>Description</Description>
</response>
</result>