myMail


URI

<myaccount_uri>/mailbox[.<format>]

Supported methods

PUT

Parent resource

myAccount

Introduction

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.

Resource hierarchy

HTTP request methods

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

PUT request

Modify the email address affiliated with the current user.

Response structure

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.

Response example

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}

See