Business Data API

Business data are custom fields that can be associated with the call's metadata. Using the Business Data API, you can update the values for the existing business data fields for any closed interactions. You cannot add new business data fields using this API. This API works alongside the MCR META DATA action in Studio. This action lets you send interaction data for a single contact during live interactions.

Documentation for the Business Data API is available in the Developer Community portal .

Before You Start

You can test CXone Mpower APIs on the developer portal . Log in with a CXone Mpower account, then you can make requests with your account's tenantClosed High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower system..

To start using the APIs, you must register with NiCE to receive valid credentials used for authentication. Review the Getting Started page on the developer portal for instructions.

Usage of these APIs requires the following permission:

Entity: To update the business data API, you need the Search & Playback > APIs > Update Business Data permission.

Update Business Data

For a closed interaction, update the existing business data field information for all the segments available for the given ACD contactId.

Method: PUT

Endpoint: /business-data-manager/v1/business-data/contact/{ACD contactId}

Parameters:

contactId*:

string

Unique identifier of the ACD contactId for which to update the business data values.

Update Business Data

For a closed interaction, update the existing business data field information for the specified segment in the given ACD contactId.

Method: PUT

Endpoint: /business-data-manager/v1/business-data/contact/{ACD contactId}/segment/{segmentId}

Parameters:

contactId*:

string

Unique identifier of the ACD contactId that contains the segment with the business data values to be updated.

segmentId*:

string

Unique identifier of the ACD contactId segment with the business data values to be updated.