Add APN

555

# Add APN

Path:

/api/apn

Method: POST

Content-type: application/json; charset=utf-8

API Description: This can be used to add APN (Access Point Name).

Request

Name Type Example Description
id String 1 Unique identifier
name String CMWAP Name of the access point
apn String cmwap Access point
proxy String 10.0.0.172 Agent
port String 5373 Port
mmsproxy String 10.0.0.152 MMS agent
mmsport String 6343 MMS port
server String http://dsv.efq.com Server
user String wap Username
password String wap Password
mmsc String http://mmsc.montern MMSC
mcc String 460 MCC (Mobile Country Code), China: 460
mnc String 00 MNC (Mobile Network Code)
numeric String 46000 MCC+MNC
author_type String PAP Authentication type
type String default APN type
protocal String IPv4 APN protocol
roaming_protocal String IPv4 APN Roaming Protocol
current String 0 Whether this is the current APN
carrier_enabled String 1 Whether APN is enabled
bearer String LTE Bearer system
mvno_type String SPN MVNO type
mvno_match_type String default MVNO matching type

Example

{
	"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"
}