API開發文檔

歡迎流覽我們的API開發文檔!

添加/更新呼叫轉移設置

添加或更新呼叫轉移設置

PUT

/api/callForwarding

權限:呼叫流

Header
字段類型描述
Content-Type字符串應用或JSON

參數
字段類型描述
tn字符串需要設置呼叫轉移的TN
default字符串缺省的呼叫轉移目標
callerId(可選)字符串當呼入號碼與callerId匹配時,該呼叫將轉移至指定目標




/api/callfowarding/:tn
HTTP/1.1 200 OK
 [
     "http://download.genvoice.net/api/callflow/audio/dev/3ff21620-5ebd-11e8-8d7a-a1bc832724f9.mp3",
     "http://download.genvoice.net/api/callflow/audio/dev/Salesline_close.mp3",
     /api/callfowarding/:tn
 {
     "default": "${defaultDestination}",
     "${callerId1}": "${destination1}",
     "${callerId2}": "${destination2}",
 }

成功響應
HTTP/1.1 200 OK
ok




标签:
Table of Contents