修改APN(接入点)
# 修改APN(接入点)
Path:
/api/apnconfig
Method: PUT
Content-type: application/json; charset=utf-8
接口描述: 修改APN(接入点)
请求参数
名称 | 类型 | 示例 | 描述 |
---|---|---|---|
id | String | 1 | 唯一标识 |
name | String | CMWAP | 接入点名称 |
apn | String | cmwap | 接入点 |
proxy | String | 10.0.0.172 | 代理 |
port | String | 5373 | 端口 |
mmsproxy | String | 10.0.0.152 | MMS代理 |
mmsport | String | 6343 | MMS端口 |
server | String | http://dsv.efq.com | 服务器 |
user | String | wap | 用户名 |
password | String | wap | 密码 |
mmsc | String | http://mmsc.montern | MMSC |
mcc | String | 460 | MCC,移动国家码,中国为460 |
mnc | String | 00 | MNC,移动网络码 |
numeric | String | 46000 | MCC和MNC的组合码 |
author_type | String | PAP | 身份验证类型 |
type | String | default | APN类型 |
protocal | String | IPv4 | APN协议 |
roaming_protocal | String | IPv4 | APN漫游协议 |
current | String | 0 | 是否是当前APN |
carrier_enabled | String | 1 | APN是否启用 |
bearer | String | LTE | 承载系统 |
mvno_type | String | SPN | MVNO类型 |
mvno_match_type | String | default | MVNO匹配类型 |
请求示例
{
"id:"86"
"name": "CMWAP"
"apn": "cmwap"
"proxy": "10.0.0.172"
"port": "2352"
"mmsproxy": "10.0.0.172"
"mmsport": "5474"
"server": "http://dsv.efq.com"
"user": "wap"
"password": "wap"
"mmsc": "http://mmsc.montern"
"mcc": "460"
"mnc": "00"
"numeric": "46000"
"author_type": "PAP"
"type": "default"
"protocal": "IPv4"
"roaming_protocal": "IPv4"
"current": "0"
"carrier_enabled": "1"
"bearer": "LTE"
"mvno_type": "SPN"
"mvno_match_type": "default"
}