Skip to main content

Uniphore Customer Portal

Fetch ACW Disposition by ID

Dispositions API retrieves the ACW Disposition of the given conversation ID.

Endpoint

Method: GET

URL: https://api.<region>.cloud.uniphore.com/data-collector/dispositions/{conversationId}&tenantId=<tenantId>&environment=<environment>

Request
curl -H “Authorization: Bearer 911999706310ffbcb32981863e23ce72d5e60d7b” -XGET https://api.<region>.cloud.uniphore.com/data-collector/dispositions/{conversationId}&tenantId=<tenantId>&environment=<environment>
Header Parameter
Authorization - Bearer <Token>
Path Parameter

Parameter name

Mandatory/

Optional

Type

Description

conversationId

Mandatory

string

Id of the conversation whose disposition needs to be fetched

Query Parameters

Parameter Name

Mandatory / Optional

Data Type

Description

tenantid

Mandatory

String

The unique identifier for your account.

environment

Optional

String

Operating environment type. Three out-of-the-box environments are provided for each account:

  • DEV

  • TEST

  • PROD

Example Response
{
  "conversationId": "c4nq0x0o",
  "startTime": 1595385702431,
  "lang": "en-us",
  "metadata": {
    "agentId": "Agent",
    "customerId": "customer",
    "conversationType": "voice",
    "journeyId": "c4nq0x0o",
    "tenantId": "1",
    "organizationId": "2",
    "businessProcessId": "76"
  },
  "isReviewed": true,
  "resolution": {
    "hierarchy": "Hotel/Booking/Inquery/Accepted",
    "data": "[{\"level\":\"Call Type\",\"value\":\"Hotel\"},{\"level\":\"Service Type\",\"value\":\"Booking\"},{\"level\":\"Issue Type\",\"value\":\"Inquery\"},{\"level\":\"Status\",\"value\":\"\"},{\"level\":\"Level-5\",\"value\":\"\"}]"
  },
  "manualEdits": {
      "userId": "1",
      "ts": 1598356053000,
      "hierarchy": "Hotel/Booking/Inquery/Declined",
      "data": "[{\"level\":\"Call Type\",\"value\":\"Hotel\"},{\"level\":\"Service Type\",\"value\":\"Booking\"},{\"level\":\"Issue Type\",\"value\":\"Inquery\"},{\"level\":\"Status\",\"value\":\"\"},{\"level\":\"Level-5\",\"value\":\"\"}]"
    }
}
Response and Error Codes

Code

Response

200

OK – The request was successful

401

{“reason”:”Authentication failed”}

404

Record Not Found

500

{“error”: “Internal server error”}