Related Documents
Document Properties
Kbid24E866
Last Modified14-Sep-2018
Added to KB09-Jul-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8
  • ICM 7.9
  • ICM 7.10

REST API - Get list of security questions


Note

Starting with 7.10 our REST API is documented using Swagger notation accessible at developer.cloud.intershop.com.

URI

/security/questions

Http Method

GET

Short Description

Get list of security questions

Query Parameters

 

Example Requests

/security/questions

HTTP Status Codes

200 OK

Description

Lists all security questions available in the system.

Cartridge

app_sf_rest_b2c

Application

B2C Web Shop

Product Version

7.4

Product To Version

 

Status

final

JSON

Request Data Format

Request related java object

n/a

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.sellside.rest.common.capi.resource.credentials.SecurityQuestionListResource
com.intershop.sellside.rest.common.capi.resourceobject.SecurityQuestionRO

Response Example

{
    "elements":
    [
        {
            "type": "SecurityQuestion",
            "key": "account.security_question.maiden_name.text",
            "text": "What is your mother's maiden name?"
        },
        {
            "type": "SecurityQuestion",
            "key": "account.security_question.pet_name.text",
            "text": "What is your pet's name?"
        },
        {
            "type": "SecurityQuestion",
            "key": "account.security_question.street_name.text",
            "text": "What street did you grow up on?"
        },
        {
            "type": "SecurityQuestion",
            "key": "account.security_question.elementary_school.text",
            "text": "Where did you go to the elementary school?"
        },
        {
            "type": "SecurityQuestion",
            "key": "account.security_question.first_employer.text",
            "text": "Who was your first employer?"
        }
    ],
    "type": "SecurityQuestions",
    "name": "questions"
}

XML

XML Request Data Format

XML Request Java Objects

n/a

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.sellside.rest.common.capi.resource.credentials.SecurityQuestionListResource
com.intershop.sellside.rest.common.capi.resourceobject.SecurityQuestionRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SecurityQuestions name="questions" type="SecurityQuestions">
  <elements>
    <SecurityQuestion type="SecurityQuestion">
      <key>account.security_question.maiden_name.text</key>
      <text>What is your mother's maiden name?</text>
    </SecurityQuestion>
    <SecurityQuestion type="SecurityQuestion">
      <key>account.security_question.pet_name.text</key>
      <text>What is your pet's name?</text>
    </SecurityQuestion>
    <SecurityQuestion type="SecurityQuestion">
      <key>account.security_question.street_name.text</key>
      <text>What street did you grow up on?</text>
    </SecurityQuestion>
    <SecurityQuestion type="SecurityQuestion">
      <key>account.security_question.elementary_school.text</key>
      <text>Where did you go to the elementary school?</text>
    </SecurityQuestion>
    <SecurityQuestion type="SecurityQuestion">
      <key>account.security_question.first_employer.text</key>
      <text>Who was your first employer?</text>
    </SecurityQuestion>
  </elements>
</SecurityQuestions> 

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets