Jump to: navigation, search

Complete

This operation is part of the Open Media API section of the Web Services API.

Overview

Marks an OpenMedia interaction as complete. If the queueName parameter is specified, then the OpenMedia interaction is placed in the specified queue.

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

Parameters

Parameter Value
operationName Complete
queueName The name of the queue where Web Services should place this OpenMedia interaction. (optional)
saveLAR Possible values are true or false. If true, information about the agent performing the operation is set in the Contact Profile so that it can be used for last agent routing. (optional)

Sample

Request

POST api/v2/me/openmedia/promotion/03W07R2K4VAYT010
{
  "operationName": "Complete"
}

OR

POST api/v2/me/openmedia/promotion/03W07R2K4VAYT010
{
  "operationName": "Complete",
  "queueName": "PostProcessingQueue"
}

Response

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

Notification

{
    "openmedia": {
        "userData": {
            "RTargetTypeSelected": "2",
            "RTargetObjectSelected": "Openmedia",
            "RVQID": "",
            "RTargetObjSelDBID": "158",
            "CBR-Interaction_cost": "",
            "CBR-contract_DBIDs": "",
            "RTargetAgentSelected": "htcc1",
            "CBR-IT-path_DBIDs": "",
            "RTargetRuleSelected": "",
            "UserData2": 123456789,
            "RTargetPlaceSelected": "htcc1",
            "CBR-actual_volume": "",
            "UserData1": "DATA1",
            "RTenant": "Environment",
            "RRequestedSkills": None,
            "RRequestedSkillCombination": "",
            "RVQDBID": "",
            "RStrategyDBID": "906",
            "CustomerSegment": "default",
            "ServiceType": "default",
            "ServiceObjective": 0,
            "RTargetRequested": "Openmedia",
            "RTargetAgentGroup": "Openmedia",
            "PegAGOpenmedias": 2,
            "RStrategyName": "Openmedia"
        },
        "receivedDate": "2014-03-26 16:02:22.000+0200",
        "uri": "http://localhost:8080/api/v2/openmedia/promotions/03W07R2K4VAYT010",
        "capabilities": [
            
        ],
        "state": "Completed",
        "mediaType": "promotion",
        "openmediaType": "Inbound",
        "id": "03W07R2K4VAYT010"
    },
    "referenceId": 8,
    "notificationType": "StatusChange",
    "messageType": "OpenmediaStateChangeMessage"
}
This page was last edited on January 22, 2016, at 19:56.
Comments or questions about this documentation? Contact us for support!