This page was last edited on October 31, 2023, at 13:32.
Comments or questions about this documentation? Contact us for support!
This operation is part of the Workitem API section of the Web Services API.
This request attaches the specified data to the interaction.
Request URL | /api/v2/me/workitems/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameter | Value |
---|---|
operationName | AttachUserData |
userData | The data to attach |
POST api/v2/me/workitems/03W07R2K4VAYT010 { "operationName": "AttachUserData", "userData": { "UserData1":"DATA1", "UserData2":123456789 } }
{ "statusCode": 0, "referenceId": 7 }
{ "workitem": { "userData": { "RTargetTypeSelected": "2", "RTargetObjectSelected": "Workitems", "RVQID": "", "RTargetObjSelDBID": "158", "CBR-Interaction_cost": "", "CBR-contract_DBIDs": "", "RTargetAgentSelected": "GWS1", "CBR-IT-path_DBIDs": "", "RTargetRuleSelected": "", "UserData2": 123456789, "RTargetPlaceSelected": "GWS1", "CBR-actual_volume": "", "UserData1": "DATA1", "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": 7, "notificationType": "PropertiesUpdated", "messageType": "WorkitemStateChangeMessage" }