Legacy Dev Forum Posts

 View Only

Sign Up

Setting the onholdPrompt on the Queue doesn't work

  • 1.  Setting the onholdPrompt on the Queue doesn't work

    Posted 06-05-2025 18:24

    beliczazsolt | 2023-01-17 16:12:18 UTC | #1

    Hi all, I am trying to set the on hold prompt on the queue via the API (it is not yet available on the UI) but it doesn't do anything but 200 OK is returned. I use the Java SDK but I double checked this via the API Explorer and I see the same results (no change). What I am doing:

    1. call PUT /api/v2/routing/queues/{queueid}

    The body has the onHoldPrompt (DomainEntityRef type) with Id (tried both Id and name, no change) { "onHoldPrompt": { "id": "0c14a1eb-fcf4-4731-af8c-edebe447b84c" }, "name": "a test queue" }

    1. I get 200 OK back but the change is not applied in the response. I even called the get endpoint on the queue and no onHoldPrompt is not visible at all so no changes were made by the PUT request.

    Has this worked for anyone before? I can update pretty much anything via the API except this field. thanks, Zsolt


    tim.smith | 2023-01-17 16:48:17 UTC | #2

    beliczazsolt, post:1, topic:18023
    I get 200 OK back but the change is not applied

    If the API is not doing what it was instructed to do but returns success anyway, this is a bug. Please open a case with Genesys Cloud Care to investigate further.


    beliczazsolt | 2023-01-17 18:28:41 UTC | #3

    ok, i have just raised a case. I was hoping I did something incorrectly.


    system | 2023-02-17 18:28:54 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 18023