Genesys CTI User Forum > Genesys-related Development

GWS API: How to set Not Ready state with displayName

(1/1)

newsG:
Hello,

Does anyone know how to set agent status to Not Ready with displayName as parameter only accepts for operationName?

URL: /api/v2/users/{userId}/channels/{channelId}
Parameter: operationName

For example,
{
"operationName": "NotReady"
}

hsujdik:
Try this as the payload:
[code]
{
  "operationName": "NotReady",
  "reasons": "<your reason code>"
}
[/code]

newsG:
Bad luck. I can use like this but it applies only to voice channels but not to other media.

{
    "operationName": "<my reason code>"
}

Navigation

[0] Message Index

Go to full version