URI

<user_uri>/extendattrs[.<format>]

Supported Methods

PUT

Parent Resource

user

Introduction

The updateUserExtendAttrs resource allows administrators to modify the extended information of a specified user.

Supported Methods:

  • PUT: Modify the extended information of a specified user.

Supported output formats: RJSON, JSON, HTML, XML.

Resource hierarchy

HTTP Request Method

Perform an HTTP request on the following URI. The rjson output format is used as an example, where supermapiportal is the server name.

http://supermapiportal:8190/iportal/web/users/{username}/extendattrs.rjson

PUT Request

Modify the extended information of a specified user.

Request Parameters

When sending a request, you need to pass the following parameters in the request body:

Name Type Description
extendattrs String The modified user extended information.

Response Structure

The returned resource representation structure is as follows:

Field Type Description
succeed boolean Whether modifying the user's extended information is successful.
error HttpError Error information. If the modification is successful, this field is not returned.

Response Example

An administrator performs a PUT request on the updateUserExtendAttrs resource: http://localhost:8190/iportal/web/users/supermap_user/extendattrs.rjson to modify the extended information of the user with username supermap_user:

These are extended attributes.

The returned rjson response is as follows:

{

    "succeed": true

}

See