Edit Speed Dial Prefix Setting

Edit the speed dial prefix settings.

Request URL

POST {base_url}/{api_path}/speed_dial_prefix/update?access_token={access_token}

Request parameters

Parameter Required Type Description
prefix Yes String The speed dial prefix.

Response parameters

Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.

Example

Request example

POST /openapi/v1.0/speed_dial_prefix/update?access_token=w3rTvBskMgZ1XpQd7NhLc0eYfA6UoIjK HTTP/1.1

Host: yeastardocs.example.yeastarcloud.com
Content-Type: application/json
{
    "prefix": "*88"
}

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS"
}