Jump to: navigation, search

Create

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

Overview

This request creates an OpenMedia interaction.

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

Parameters

Parameter Value
operationName Create
queueUri URI of the queue the interaction was in previously.
parentId Parent interaction ID (optional).

Sample

Request

POST api/v2/me/openmedia/promotion
{
  "operationName": "Create",
  "queueUri": "http://localhost:8090/api/v2/queues/995655ec-81a5-46b0-82d0-3f2c5eca263d"
}

Response

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

Notification

{
    "openmedia": {
        "state": "Processing",
        "capabilities": [
            "Transfer",
            "AttachUserData",
            "UpdateUserData",
            "DeleteUserData",
            "SetInFocus",
            "Complete"
        ],
        "id": "03W0GH2KD56YV000",
        "mediaType": "promotion",
        "openmediaType": "Outbound",
        "uri": "http://localhost:8090/api/v2/openmedia/promotions/03W0GH2KD56YV000"
    },
    "referenceId": 1,
    "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!