PBX API : PUT /Voicemail/:id/

Set voicemail as read: PUT http(s)://{PBX}/api/v1/VoiceMail/:id/

One VM:

PUT http(s)://{PBX}/api/v1/VoiceMail/:id/

Several VMs:

PUT http(s)://{PBX}/api/v1/VoiceMail/:id_a,:id_b,:id_c/

Data:

data[folder]:Old

Responce

{"type":"result","result":{"errors":{"msg1452512084-2115301175":"The voicemail message already marked as read","msg1452512018-1778991337":"The voicemail message already marked as read"},"changed":0}}

Example

PUT https://ucua.wildixin.com/api/v1/VoiceMail/msg1452512018-1778991337%2Cmsg1452512084-2115301175/

data[folder]:Old

CLI CURL

curl -X PUT --globoff -u 300:wil01dix --url "http://10.100.1.208/api/v1/VoiceMail/msg1450865664-0896293567" --data-urlencode "data[folder]=Old"