1. MmsTemplate
N6G-Pro
  • SmsTemplate
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
    • Create(new template)
      POST
    • List(query template)
      POST
    • Delete(remove template)
      POST
  • MmsTemplate
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
    • Create(new template)
      POST
    • List(query template)
      POST
    • Delete(remove template)
      POST
  • Sms
    • Mt(single)
      POST
    • Mts(batch)
      POST
    • MtsVar(batch var)
      POST
  • AdminApi
    • Channel List
      POST
    • Gateway List
      POST
    • Agent List
      POST
    • Company List
      POST
    • User List
      POST
    • User Set Channel
      POST
    • Price User List
      POST
    • Price Gateway List
      POST
    • Price Agent List
      POST
  • Rpt(pull Rpt)
    POST
  • Mo(pull mo)
    POST
  • Balance(query balance)
    POST
  • St(statistics)
    POST
  • 数据模型
    • M_HTTPAPI_MTS_VAR_REQUEST_DATA
  1. MmsTemplate

Create(new template)

开发中
POST
/Api/MmsTemplate/Create

请求参数

Header 参数

Body 参数application/json

示例
{
    "account": "960003",
    "sign": "{{sign}}",
    "timestamp": {
        {timestamp
        }
    },
    "mms_sign": "mysign",
    "mms_title": "mytitle",
    "push_url": "https://pushtemplatestate.com/mmstemplate/rpt",
    "mms_type": "PKG-PARAM",
    "files": [
        {
            "file_id": 0,
            "frame_index": 0,
            "file_index": 0,
            "file_content_type": "text/plain",
            "file_content": "abc123"
        },
        {
            "file_id": 1,
            "frame_index": 0,
            "file_index": 1,
            "file_content_type": "text/plain",
            "file_content": "abc123"
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/Api/MmsTemplate/Create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "account": "960003",
    "sign": "{{sign}}",
    "timestamp": {
        {timestamp
        }
    },
    "mms_sign": "mysign",
    "mms_title": "mytitle",
    "push_url": "https://pushtemplatestate.com/mmstemplate/rpt",
    "mms_type": "PKG-PARAM",
    "files": [
        {
            "file_id": 0,
            "frame_index": 0,
            "file_index": 0,
            "file_content_type": "text/plain",
            "file_content": "abc123"
        },
        {
            "file_id": 1,
            "frame_index": 0,
            "file_index": 1,
            "file_content_type": "text/plain",
            "file_content": "abc123"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "rt": "20260105112526",
    "code": 0,
    "code_msg": "SUCCEED",
    "mmsid": "9"
}
修改于 2026-01-05 03:32:07
上一页
MtsVar(batch var)
下一页
List(query template)
Built with