Reporting REST API
Important
Available since v9.0.002.09Overview
This page describes Genesys Knowledge Reporting REST API.
Reporting Provisioning
Provides provision functionality for Pulse and Kibana metadata.
- Check Kibana index. Create and configure it with appropriate mapping if it does not exist.
- Kibana provisioning:
- Generates dashboards and visualisations metadata files
- Patch metadata with requested TenantId/ContactCenterID
- Import metadata into ElasticSearch Kibana index
- Pulse provisioning:
- Generates Pulse templates
- Import Pulse generated templates into Pulse
You can skip Kibana and Pulse provisioning with following application options under the reporting section:
Section | Option | Value | Description |
---|---|---|---|
reporting | kibana.provision | true or false | Enable or disable Kibana metadata provision. By default, is is set to true. |
reporting | pulse.provision | true or false | Enable or disable widget templates import into Pulse. By default it is set to true. |
HTTP Description
Request | ||||||||||||||||||||||||||
Method | POST | |||||||||||||||||||||||||
URI | /reporting/v1/provision | |||||||||||||||||||||||||
Content-type | application/json | |||||||||||||||||||||||||
Body | JSON Object with next fields
| |||||||||||||||||||||||||
Headers |
| |||||||||||||||||||||||||
Response | ||||||||||||||||||||||||||
Content-type | application/json | |||||||||||||||||||||||||
HTTP codes |
200 - OK Provision was success. Response Body Example { "status": { "code": 200, "message": "Ok" }, "data": { "provisionLog": { "log": [ "Kibana Provision - DONE", "Pulse Provision - DONE" ] } } } 400 - Required request body field is missing In the case if required parameter is missed Response Body Example { "status": { "code": 651, "message": "Field [pulseUser] is required. String type. For example [default]" } } 500 - General server error Provision was failed on any step described steps aboe. Response body includes related error message. Response Body Example { "status": { "code": 500, "message": "Unable to import Pulse templates on the initialization phase :Failed to connect http://demosrv:8081" } } |
This page was last edited on November 2, 2018, at 18:37.
Comments or questions about this documentation? Contact us for support!