You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/t/api-rest2/Utils/SetCallForwards.yaml

26 lines
525 B

---
#set Call Forwards
-
name: set Call Forwards
type: item
method: PUT
path: '/api/callforwards/${subscriber_id}'
header:
Content-Type: application/json
Prefer: return=representation
content: '${callforwards_content}'
conditions:
is:
code: 200
#get Call Forwards
-
name: GET Call Forwards
type: item
method: GET
path: '/api/callforwards/${subscriber_id}'
retain:
callforwards: body
conditions:
is:
code: 200