Versions Compared

Key

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

Gets CTLive generals settings

Status
colourGreen
titleHTTP GET
/livechat/:domain/generalSettings

Path Variables:

Name

Mandatory

Type

Description

domain

Status
colourRed
titleyes

Status
titlestring

Unique domain identifier

Authorization: see Authentication mechanisms

Response:

Type:
Status
titleJSONp

Name

Type

Description

generalSettings

Status
titleobject

An object that contains CTLive

generals settings

General Settings Object

Example:

Request

http://<hostname>:<port>/livechat/default/generalSettings

Response

Code Block
languagejson
{ 
   "_id":"5d7bae993bcb9e40e0330a70",
   "imgSmall":200000,
   "imgLarge":2000000,
   "docSmall":5000000,
   "docMaxSize":10000000,
   "EasyCIMHost":"10.51.54.200",
   "EasyCIMPort":80,
   "callbackNowUrl":"/EasyCIM/easyCallback/now",
   "callbackLaterUrl":"/EasyCIM/easyCallback/later",
   "callbackFirstSlotUrl":"/EasyCIM/easyCallback/firstSlot",
   "checkCallbackAvailableUrl":"/EasyCIM/easyCallback/checkCallbackAvailable",
   "callbackNowParameters":{ 
      "macroActivity":"DEFAULT_CB",
      "phoneNumber":"<customer_phone_number>",
      "queueName":"PREVIEW"
   },
   "callbackLaterParameters":{ 
      "macroActivity":"DEFAULT_CB",
      "phoneNumber":"<customer_phone_number>",
      "dateTime":"<date_hour>",
      "queueName":"PREVIEW",
      "segment":"DEFAULT"
   },
   "callbackFirstSlotParameters":{ 
      "macroActivity":"DEFAULT_CB",
      "phoneNumber":"<customer_phone_number>",
      "queueName":"PREVIEW"
   },
   "__v":0
}

...