This page was last edited on September 7, 2018, at 12:58.
Comments or questions about this documentation? Contact us for support!
Steps to configure tenancy (single-tenancy and multi-tenancy).
To configure a single tenant for your Context Services application:
To configure multiple tenants for your Context Services application:
In order to support multi-tenancy and business units, your Context Services queries need to include additional HTTP headers:
If your request does not include these headers, the Context Services handles the request in single-tenant mode and uses the provisioned tenant ID with no business unit name of your Context Service application.
Read also Configuring Tenancy.
If you provide an incorrect ContactCenterId string, your application receives the following error message:
{
"message": "Invalid tenant specified : specified tenant in HTTP header 'ContactCenterId'='wrong value' not configured. Verify configuration.",
"exception": "com.genesyslab.gsg.services.contextservices.exceptions.ContextServicesExceptionResource"
}
If you do not provide the ContactCenterId string in a multi-tenant configuration, the error message is:
{
"message": "Invalid tenant specified : no tenant specified in multi-tenant environment. Verify configuration and 'ContactCenterId' HTTP header.",
"exception": "com.genesyslab.gsg.services.contextservices.exceptions.ContextServicesExceptionResource"
}