POST api/2.0/crm/contact/socialmediaavatar
Returns a list of the contact social media images from the social networks specified in the request.
Name |
Description |
Type |
Example |
socialNetworks
sent in body
|
List of contact social networks
|
list of ContactInfoWrapper
|
|
POST api/2.0/crm/contact/socialmediaavatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"socialNetworks": [
{
"id": 0,
"InfoType": 0,
"Category": 0,
"Data": "support@onlyoffice.com",
"CategoryName": "Home",
"IsPrimary": false
}
]
}
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>