Cubu Docs
S2S API Guide
S2S API Guide
  • About Cubu Server-to-Server API
  • Accessing the API
  • Agent Impersonation API
    • Call Again
    • Clock-in
    • Clock-out
    • Get Agent Status
    • List Active Cases
    • List Inboxes
    • List Workspaces
    • List Workstations
    • Occupy a Workstation
    • Resolve a Case
    • Select Current Unit
    • Start Processing the Next Case
    • Change Status to Available
    • Change Status to Unavailable
    • Vacate a Workstation
  • Appointments Management API
    • Book Appointment
    • Cancel Appointment
    • List Appointments in Calendar
    • List Calendars of a Service
    • List Vacancies in a Calendar
  • Case Management API
    • Queue Up
  • Customer Management API
    • Create a Customer Record
    • Get Customer Record
    • Update a Customer Record
    • Find a Customer Record
  • Organization API
    • List Back-office tasks
    • List Users
Powered by GitBook
On this page
  • URL
  • Headers
  • Request Body
  • Response
  1. Agent Impersonation API

Resolve a Case

Resolves a Pending, Waiting, or Active case.

This endpoint requires the Agent Impersonator role.

URL

POST: https://[base-url]/{applicationId}/agents/{userId}/cases/{caseId}/actions/resolve

Headers

Authorization: Bearer <accessToken>

Request Body

N/A

Response

On success -> 200

{
    "caseTimestamp": "2024-05-16T09:46:08.801352Z"
}

Invalid case status -> 409, errorCode = 1001

The case status status must be Active, Pending, or Waiting.

The case is locked by another user --> 409, 1002

A user can resolve an Active case only when locking (serving) this case.

The case is assigned to another user --> 409, 1004

Users cannot resolve Pending or Waiting cases assigned to other users.

PreviousOccupy a WorkstationNextSelect Current Unit

Last updated 8 months ago