HTTP API - MMS Configuration

From Ultiroam User Docs
Revision as of 22:56, 2 May 2024 by Administrator (talk | contribs) (Created page with "=== 9.1         Request === '''POST <nowiki>https://gateway_ip/api/mms_configuration</nowiki>''' === 9.2         Request Parameter === {| class="wikitable" |'''Parameter''' |'''Type''' |'''Description''' |- | colspan="3" |'''Required Parameter''' |- |port |Integer |Port number is an integer ranging from 0 to 31 |- |configuration |Object |MMS Configuration |} Configuration Object {| class="wikitable" |'''Parameter''' |'''Type''' |'''Description''' |- | colsp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

9.1         Request

POST https://gateway_ip/api/mms_configuration

9.2         Request Parameter

Parameter Type Description
Required Parameter
port Integer Port number is an integer ranging from 0 to 31
configuration Object MMS Configuration

Configuration Object

Parameter Type Description
Required Parameter
APN String APN for MMS
username String APN username
password String APN password
MMSC String MMSC stands for MMS Center, which is an MMS server.

“http://mmsc.monternet.com”

MMS_proxy String MMS proxy
MMS_port String MMS port


9.3         Response Parameter

Parameter Type Description


error_code Integer Codes that may be returned:

200: Request has been accepted and will be processed later;

400: Request format is not valid 404: Port not found

500: other errors

sn String SN of the gateway

9.4         Example

Request:

curl -k --anyauth -u admin:admin -d  '{"port":0,"configuration":{"APN":"cmwap","username":"","password":"","MMSC":

"http://mmsc.monternet.com","MMS_proxy":"10.0.0.172","MMS_port":"80"},"statu s":"on"}' -H "Content-Type: application/json"  https://gateway_ip/api/mms_configuration


Response:

{"error_code":200, "sn":"xxxx-xxxx-xxxx-xxxx"}