URI
<user_uri>/hasquestion[.<format>]
Supported methods
Parent resource
Introduction
hasPwdQuestion resource is used to verity whether to input the sucurity questions.
Supported Methods:
- POST: Verity whether to input the sucurity questions.
Supported output formats: RJSON, JSON, HTML, XML.
Resource hierarchy

HTTP request methods
Implement the HTTP request on the following URI, where supermapiportal is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/users/{username}/hasquestion.rjson
POST request
Verity whether to input the security questions.
Response structure
The returned resource representation structure is as follows:
|
Field |
Type | Description |
|
succeed |
boolean | Whether to input the to input the security questions used to password reset. When the succeed is true, mean to input; otherwise, none. |
Response example
Implement the POST request for the hasPwdQuestion resource: http://localhost:8090/iportal/web/users/admin/hasquestion.rjson. Verity whether to input the security questions used to password reset. The returned rjson format is as follows:
{ "succeed": true}