Set
Function
This API is used to set Intercom > SIP Account parameters.
Request Message
See Intercom > SIPAccount > Range > Parameter Description > Table 2 for parameter description.
Sample:
POST /API/Intercom/SIPAccount/Set HTTP/1.1
{
"version": "1.0",
"data": {"channel_info": {"CH1": {"account_list": [
{
"user_id": "1",
"domain": "1.1.1.1",
"name": "1",
"authentication_id": "11111",
"caller_id": "111111",
"transport_mode": "TCP",
"status": "Unavailable",
"base_enc_password": {
"seq": 0,
"peer_key": "03pgIvsg2YmIOxs+LJN8JE4BQASfej5c5LL741RlqA1g=",
"cipher": "0jT5JsW64NL6Xpfc49OkZfXqkPFxN/Bq+QnVZvcCknwA="
}
},
{
"user_id": "22",
"domain": "2.2.2.2",
"name": "2",
"authentication_id": "22222",
"caller_id": "222222",
"transport_mode": "TLS",
"status": "Unavailable",
"base_enc_password": {
"seq": 0,
"peer_key": "0sNwiZvd8+dEPuAN6pHaqtWmcArXS+MH9mUiSnw8mPxE=",
"cipher": "0y6I075uvl6cLtZMzIzjyStdUFTaoGwUrpGjzBD8t8xw="
}
}
]}}}
}
Response Message
None.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {}
}
Error Code
See Response Messages Body and Common error_code for more information.