<myaccount_uri>/mailbox[.<format>]
The email address affiliated with the current user. It is supported to modify the email address for the user.
Supported Methods:
Supported representation formats: RJSON, JSON, HTML, XML.
Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/mycontent/account/mailbox.rjson
Modify the email address affiliated with the current user.
Execute a PUT request on the myMail resource to modify the email address. The representation structure for the resource returned is shown as below:
Field | Type | Description |
succeed | boolean | Whether the email is modified successfully. |
error | Httperror | Error message. This field will not be created if the email address is modified successfully. |
Execute a PUT request on the myMail resource: http://localhost:8090/iportal/web/mycontent/account/mailbox.rjson to modify the email address:
admin1@supermap.com
The response result in rjson format returned is as follows:
{"succeed": true}