yoqw/openapi
2020-08-25 14:12:23 +08:00
..
2020-08-25 14:12:23 +08:00
2020-07-04 15:41:48 +08:00
2020-07-28 20:06:36 +08:00

OpenAPI

API

# Agent Status
curl http://localhost:8081/resource/onlineagent/donghuang/
curl http://localhost:8081/resource/onlineagent/donghuang/logout
curl http://localhost:8081/resource/onlineagent/donghuang/saybusy
curl http://localhost:8081/resource/onlineagent/donghuang/sayfree
curl http://localhost:8081/resource/onlineagent/donghuang/work
curl http://localhost:8081/resource/onlineagent/donghuang/cancelwork

# Call
curl -X POST -H 'Content-Type: application/json' \
-d '{"called": "1000"}' \
'http://localhost:8081/resource/voicecall/donghuang/callout'

curl 'http://localhost:8081/resource/voicecall/donghuang/release'
curl 'http://localhost:8081/resource/voicecall/donghuang/hold'
curl 'http://localhost:8081/resource/voicecall/donghuang/gethold'
curl 'http://localhost:8081/resource/voicecall/donghuang/transfer?devicetype=3&transtype=custConfirm'