URI
<myAccount_uri>/basic[.<format>]
Supported Methods
Parent Resource
Description
The basic information of the current user. Supports modifying the basic information of the current user.
Supported Methods:
- PUT: Modify the basic information of the current user.
Supported output formats: RJSON, JSON, HTML, XML.
Resource hierarchy
HTTP Request Methods
Perform HTTP requests on the following URI. The rjson output format is used as an example, where supermapiportal is the server name.
http://supermapiportal:8190/iportal/web/mycontent/account/basic.rjson
PUT Request
Modify the basic information of the current user.
Request Parameters
Perform a PUT request on the myBasicInfo resource to modify the basic information of the current user. The following parameters must be included in the request body:
| Name | Type | Description |
| String | The email of the user. | |
| nickname | String | The nickname of the user. |
Response Structure
The returned resource representation structure is as follows:
| Field | Type | Description |
| succeed | boolean | Whether the modification of the user's basic information was successful. |
| error | HttpError | Error information. This field is not returned if the modification is successful. |
Response Example
Perform a PUT request on the myBasicInfo resource: http://localhost:8190/iportal/web/mycontent/account/basic.rjson to modify the user's basic information:
{"nickname":"user1","email":"user1@supermap.com"}
The rjson format response is as follows:
{
"succeed": true
}