Jump to: navigation, search

Workitem Create

This operation is part of the Workitem API section of the Web Services API.

Overview

This request creates a workitem interaction.

Request URL /api/v2/me/workitems
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName Create
queueUri URI of the queue that the interaction was in previously
parentId Parent interaction id (optional)

Sample

Request

POST api/v2/me/workitems
{
  "operationName": "Create",
  "queueUri": "http://localhost:8080/api/v2/queues/995655ec-81a5-46b0-82d0-3f2c5eca263d"
}

Response

{
  "statusCode": 0,
  "referenceId": 8
}

Notification

{
    "workitem": {
        "state": "Processing",
        "capabilities": [
            "Transfer",
            "AttachUserData",
            "UpdateUserData",
            "DeleteUserData",
            "SetInFocus",
            "Complete"
        ],
        "id": "03W0GH2KD56YV000",
        "workitemType": "Inbound",
        "uri": "http://10.10.15.212:9090/api/v2/workitems/03W0GH2KD56YV000"
    },
    "referenceId": 8,
    "notificationType": "StatusChange",
    "messageType": "WorkitemStateChangeMessage"
}
This page was last edited on October 31, 2023, at 13:32.
Comments or questions about this documentation? Contact us for support!