API’s used
Create Monitoring Group
Update Monitoring Group
Description
When using the API above, the value “prompt” can be sent as either true or false which will determine if an audio prompt is heard when a user exercises the privilege of monitoring a call. It is expected that if this value is set to false, when the group is created the audio prompt will be disabled. However, the audio prompt is always enabled after using this endpoint regardless of what the value of “prompt” is set to. This was confirmed to be an error with this endpoint rather than the way the json body is built by using the same json body (without the “type” value which is not used in the PATCH) and the prompt was updated successfully. As a workaround, we can create the monitoring group, then update the prompt value after it’s been created, but this contradicts what the documentation indicates.
Error?
No error message is provided, the endpoint provides a 201 success.
How To Reproduce
Steps to reproduce the behavior:
- Use the endpoint POST /phone/monitoring_groups
- Create a group including ‘“prompt”: false’ in the JSON body
- Retrieve the details of the monitoring group via the API and observe that the prompt is incorrectly set to true
- Use the same ‘“prompt”: false’ with the PATCH /phone/monitoring_groups/{monitoringGroupId} on the new Monitoring Group
- Retrieve the details of the monitoring group via the API and observe that the prompt is correctly set to false.