getDataCollection API
Get the data collection for the specified service.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
service_id | yes | String | Unique service identifier |
Rerurns:
Type | Description |
---|---|
JS Promise | A Javascript Promise that return an object containing the following properties:
|
Example:
LIVECHAT.getDataCollection(self.service_id)
.then(function(data){
console.log("[CTLIVE WIDGET] Data Collection", data);
});