Jump to: navigation, search
Line 1: Line 1:
 
=Not Ready=
 
=Not Ready=
 
__NOTOC__
 
__NOTOC__
This operation is part of the [[Voice|Voice API]] section of the [[Welcome|Genesys Web Services REST API]].
+
This operation is part of the [[VoiceAPI|Voice API]] section of the [[Welcome|Genesys Web Services REST API]].
 
==Overview==
 
==Overview==
 
Sets the current user to the <tt>NotReady</tt> state.  
 
Sets the current user to the <tt>NotReady</tt> state.  

Revision as of 17:57, May 28, 2014

Not Ready

This operation is part of the Voice API section of the Genesys Web Services REST API.

Overview

Sets the current user to the NotReady state.

NotReady is a system defined agent state operation and is always available for use.

Request URL /api/v2/me/calls/{id}
HTTP Method POST
Required Features api-voice

Parameters

Parameter Value
operationName NotReady

Sample

Request

POST api/v2/me/channels/voice
{
  "operationName": "NotReady"
}

Response

{
  "statusCode": 0
}

Notification

{
  "data": {
    "messageType": "DeviceStateChangeMessage",
    "devices": [
      {
        "id": "74152ed8-858f-4a33-9e96-36213a678d30",
        "deviceState": "Active",
        "userState": {
          "id": "900D55CC-2BB0-431F-8BF9-D3525B383BE6",
          "displayName": "Not Ready",
          "state": "NotReady"
        },
        "phoneNumber": "5000",
        "e164Number": "5000",
        "telephonyNetwork": "Private",
        "doNotDisturb": "Off",
        "voiceEnvironmentUri": "http://127.0.0.1:8080/api/v2/voice-environments/370ef5e6-9e3c-4d91-9588-7f4dfe67e011",
        "capabilities": [
          "ForwardCallsOn"
        ]
      }
    ]
  },
  "channel": "/v2/me/devices"
}
Comments or questions about this documentation? Contact us for support!