Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R11.0.0

Table of Contents
maxLevel2

GET organisation/logo/view

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

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejs
linenumberstrue
 {
  "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

Code Block
languagexml
{{server}}{{file_content_url}}&token={{token}}  

for example

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

 

GET organisation/general_settings/show

Tip

Available from CRM.COM R12.0.0

This method returns the general settings 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

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejs
linenumberstrue
 {
  "data": {
    "maximum_file_size": "200",
    "allowed_file_types": ".jpg,.xls,.doc,.xlf,.png,.csv,.xml",
    "default_system_language": "SPA",
    "default_currency": {
      "suffix_symbol": "N/A",
      "prefix_symbol": "€",
      "decimal_part_name": "cents",
      "code": "EUR",
      "integer_part_name": "euro",
      "id": "2"
    },
    "time_zone": {
      "utc_offset_in_minutes": 120,
      "region": "Europe/Athens"
    },
    "default_country": {
      "alternative_code": "CYP",
      "three_character_code": "CYP",
      "name": "CYPRUS",
      "id": "181",
      "two_character_code": "CY"
    }
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

HTTP Method: GET

 

Request:

Response:

{ "data": { "time_zone": { "utc_offset_in_minutes": 120, "region": "Europe/Athens" } }, "status": { "code": "OK", "description": "", "message": "" } }
Expand
titleExample 2
Code Block
themeConfluence
languagejs
linenumberstrue
Panel
nameblue

Child pages (Children Display)
alltrue
excerpttrue