GET organisation/logo/view

Available from CRM.COM R11.0.0

This method returns the logo information related with the organisation of the logged in user

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

fields_set
(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 {
  "data": {
    "file_name": "1_key_contacts-profilephoto_CRM LOGO.jpg",
    "file_content_url": "crm/ImageDownloadServlet?id=1",
    "file_mime_type": "image/jpeg"
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

 

Note:

To retrieve or display the actual image you need to construct the following URL

{{server}}{{file_content_url}}&token={{token}}  

for example

https://r11qa.crm.com/crm/ImageDownloadServlet?id=1&token=B18ECEE5918442A0A29B7C1B2D0A4260