GET api/2.0/crm/contact/{contactid}/tweets
Returns a certain number of tweets created by a user with the ID specified in the request.
Name |
Description |
Type |
Example |
contactid
sent in url
|
Contact ID
|
number
|
1234
|
count
sent in url
|
Number of tweets
|
number
|
1234
|
GET api/2.0/crm/contact/1234/tweets?count=1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"UserName": "Name user",
"Text": "text",
"PostedOn": "2008-04-10T06-30-00.000Z",
"Source": 0
}
]
}
text/xml
<result>
<status>0</status>
<response>
<UserName>Name user</UserName>
<Text>text</Text>
<PostedOn>2008-04-10T06-30-00.000Z</PostedOn>
<Source>0</Source>
</response>
</result>