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": ""
  }
}
Expand
titleExample 2

HTTP Method: GET

 

Request:

Response:

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

HTTP Method: GET

 

Request:

Response:

{ "data": { "supported_languages_set": [ { "language": "ARA" }, { "language": "CMN" }, { "language": "CUSTOM1" }, { "language": "CUSTOM2" }, { "language": "CUSTOM3" }, { "language": "CUSTOM4" }, { "language": "CUSTOM5" }, { "language": "CUSTOM6" }, { "language": "CUSTOM7" }, { "language": "CUSTOM8" }, { "language": "DAN" }, { "language": "DEU" }, { "language": "ELL" }, { "language": "ENG" }, { "language": "EST" }, { "language": "FIN" }, { "language": "FRA" }, { "language": "HIN" }, { "language": "IND" }, { "language": "JPN" }, { "language": "LAV" }, { "language": "LIT" }, { "language": "MAL" }, { "language": "NNO" }, { "language": "POL" }, { "language": "POR" }, { "language": "RUS" }, { "language": "SPA" }, { "language": "SWE" }, { "language": "TAI" }, { "language": "TGL" }, { "language": "UKR" }, { "language": "VIE" } ], "maximum_file_size": "1000", "allowed_file_types": ".jpg,.xls,.doc,.png,.xlf,.csv,.zip,xlsx", "default_system_language": "ENG", "default_currency": { "suffix_symbol": null, "prefix_symbol": "€", "decimal_part_name": null, "code": "EUR", "integer_part_name": null, "id": "2" }, "time_zone": { "utc_offset_in_minutes": 270, "region": "Iran" }, "default_country": { "alternative_code": "CYP", "three_character_code": "CYP", "name": "CYPRUS", "id": "181", "two_character_code": "CY" } }, "status": { "code": "OK", "description": "", "message": "" } }
Expand
titleExample 3
Code Block
themeConfluence
languagejs
linenumberstrue
Panel
nameblue

Child pages (Children Display)
excerpttrue