Get Message Ringtones¶
Get the list of ringtones for configuring the message.
Request Format¶
GET https://{apigw-address}/app-portal-service/v2.2/message/enum/ringtones
Response Parameters¶
Name  | 
Data Type  | 
Description  | 
|---|---|---|
ringings  | 
Ringing Struct  | 
The details of the ringtones for the message. Ringing Struct >>  | 
Ringing Struct¶
Name  | 
Data Type  | 
Description  | 
|---|---|---|
id  | 
Integer  | 
The ringtone ID.  | 
name  | 
I18nString  | 
Specify the ringtone name in its respective locale’s language. Internationalized name struct >>  | 
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.2/message/enum/ringtones
method: GET
Return Sample¶
{
  "code": 0,
  "message": "",
  "data": {
    "ringings": [
      {
        "id": 0,
        "name": {
          "default": "No Sound",
          "en_US": "No Sound",
          "zh_CN": ""
        }
      },
      {
        "id": 1,
        "name": {
          "default": "Alarm Sound",
          "en_US": "Alarm Sound",
          "zh_CN": ""
        }
      }
    ]
  }
}