Update the selected service. When updating a service, only the required changes can be submitted.
Security
HTTP_BASIC
if defined sets the url for the Call-URI functionality, each call is reported to this url if configured.
Example:"http://path/to/call_reporting_uri"
If defined, each inbound SMS is sent to this URL using HTTP POST, with the parameters in the request body.
Example:"http://path/to/sms_forward_uri"
- Avanser Productionhttps://tapi.avanser.com/v1/services/{service_number}/
- AVANSER Mock Serverhttps://avanser.redocly.app/_mock/telco-api/references/services/{service_number}/
curl -i -X POST \
-u '<username>:<password>' \
'https://tapi.avanser.com/v1/services/{service_number}/' \
-H 'Content-Type: application/json' \
-d '{
"call_reporting": {
"report": "none"
}
}'Response
{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "5995", "request": { … } }, "response": { "message": "Success", "code": 200, "request_id": "c9220015e2f48bc7cf4b38186a7b2025" } }