Jump to: navigation, search

Workitem Resource

Overview

The Workitem API part of the Web Services API includes properties that describe the current state of the workitem and the available operations based on the current state.

A full description of the properties included on the workitem resource and their possible values can be found here.

For the Workitem API, workitems are returned from GET requests to /api/v2/me/workitems?fields=*

See the RecoveringExistingState page for examples.

Sample Data

"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": 1,
        "RStrategyName": "Workitem"
    },
    "uri": "http://localhost:8080/api/v2/workitems/03W07R2K4VAYT010",
    "capabilities": [
        "Accept",
        "Reject"
    ],
    "state": "Invited",
    "id": "03W07R2K4VAYT010",
    "receivedDate": "2014-03-26 16:02:22.000+0200"
}
This page was last edited on January 22, 2016, at 19:56.
Comments or questions about this documentation? Contact us for support!