Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Workitem Accept

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

Overview

This request accepts an incoming workitem interaction.

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

Parameters

Parameter Value
operationName Accept

Sample

Request

POST api/v2/me/workitems/03W07R2K4VAYT010
{
  "operationName": "Accept"
}

Response

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

Notification

Status changed to Processing

{
    "workitem": {
        "userData": {
            "RTargetTypeSelected": "2",
            "RTargetObjectSelected": "Workitems",
            "RVQID": "",
            "RTargetObjSelDBID": "158",
            "CBR-Interaction_cost": "",
            "CBR-contract_DBIDs": "",
            "RTargetAgentSelected": "htcc1",
            "CBR-IT-path_DBIDs": "",
            "RTargetRuleSelected": "",
            "RTargetPlaceSelected": "htcc1",
            "CBR-actual_volume": "",
            "RTenant": "Environment",
            "RRequestedSkills": None,
            "RRequestedSkillCombination": "",
            "RVQDBID": "",
            "RStrategyDBID": "906",
            "CustomerSegment": "default",
            "ServiceType": "default",
            "ServiceObjective": 0,
            "RTargetRequested": "Workitems",
            "RTargetAgentGroup": "Workitems",
            "PegAGWorkitems": 2,
            "RStrategyName": "Workitem"
        },
        "receivedDate": "2014-03-26 16:02:22.000+0200",
        "uri": "http://localhost:8080/api/v2/workitems/03W07R2K4VAYT010",
        "capabilities": [
            "Transfer",
            "AttachUserData",
            "UpdateUserData",
            "DeleteUserData",
            "SetInFocus",
            "Complete"
        ],
        "state": "Processing",
        "id": "03W07R2K4VAYT010"
    },
    "referenceId": 6,
    "notificationType": "StatusChange",
    "messageType": "WorkitemStateChangeMessage"
}
This page was last edited on January 22, 2016, at 19:56.

Feedback

Comment on this article:

blog comments powered by Disqus