GET api/2.0/crm/contact/{contactid}/socialmediaavatar
Returns a list of the social media images for the contact with the ID specified in the request.
Name |
Description |
Type |
Example |
contactId
sent in url
|
Contact ID
|
number
|
1234
|
GET api/2.0/crm/contact/1234/socialmediaavatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
List of social media images
application/json
{
"status": 0,
"response": [
{
"SocialNetwork": 0,
"ImageUrl": "url to img",
"Identity": "Identity"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<SocialNetwork>0</SocialNetwork>
<ImageUrl>url to img</ImageUrl>
<Identity>Identity</Identity>
</response>
</result>