UpdateUserData
This operation is part of the Open Media API section of the Web Services API.
Overview
Overwrites the specified keys with the specified values in the existing data.
Request URL | /api/v2/me/openmedia/{mediaType}/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | UpdateUserData |
userData | The data to update. |
Sample
Request
POST api/v2/me/openmedia/promotion/03W07R2K4VAYT010
{
"operationName": "UpdateUserData",
"userData": {
"UserData1":"DATAUPDATE-@123",
"UserData2":123456789
}
}
Response
{
"statusCode": 0,
"referenceId": 7
}
Notification
{
"openmedia": {
"userData": {
"RTargetTypeSelected": "2",
"RTargetObjectSelected": "Openmedia",
"RVQID": "",
"RTargetObjSelDBID": "158",
"CBR-Interaction_cost": "",
"CBR-contract_DBIDs": "",
"RTargetAgentSelected": "GWS1",
"CBR-IT-path_DBIDs": "",
"RTargetRuleSelected": "",
"UserData2": 123456789,
"RTargetPlaceSelected": "GWS1",
"CBR-actual_volume": "",
"UserData1": ""DATAUPDATE-@123"",
"RTenant": "Environment",
"RRequestedSkills": None,
"RRequestedSkillCombination": "",
"RVQDBID": "",
"RStrategyDBID": "906",
"CustomerSegment": "default",
"ServiceType": "default",
"ServiceObjective": 0,
"RTargetRequested": "Openmedia",
"RTargetAgentGroup": "Openmedia",
"PegAGOpenmedia": 2,
"RStrategyName": "Openmedia"
},
"receivedDate": "2014-03-26 16:02:22.000+0200",
"uri": "http://localhost:8080/api/v2/openmedia/promotions/03W07R2K4VAYT010",
"capabilities": [
"Transfer",
"AttachUserData",
"UpdateUserData",
"DeleteUserData",
"SetInFocus",
"Complete"
],
"state": "Processing",
"mediaType": "promotion",
"openmediaType": "Inbound",
"id": "03W07R2K4VAYT010"
},
"referenceId": 7,
"notificationType": "PropertiesUpdated",
"messageType": "OpenmediaStateChangeMessage"
}
This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!