GET v1/SecurityQuestions

Get the security question for a user with the given email address

URI template

v1/SecurityQuestions?Email={Email}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Email

string

Required

Body Parameters

None.

Response Information

Resource Description

The security question for the user with the given e-mail address. Known internal error is NotFound.
Sample responses:


Normal customer:
-----------------------------------------------------------
Http status: 200 OK
Content-Type: text/plain; charset=utf-8
Body:
What's the answer?


Social media customer:
-----------------------------------------------------------
Http status: 200 OK
Content-Type: application/json; charset=utf-8
Body:
{
    "$id": "1",
    "Errors": [
        {
            "$id": "2",
            "Message": "Account supports only social media login and doesn't support password reset",
            "ErrorCode": 710
        }
    ]
}


Customer not found:
-----------------------------------------------------------
Http status: 404 Not found
Content-Type: application/json; charset=utf-8
Body:
{
    "$id": "1",
    "Errors": [
        {
            "$id": "2",
            "Message": "Customer not found",
            "ErrorCode": 704
        }
    ]
}


In case of unexpected exception:
-----------------------------------------------------------
Http status: 500 Internal Server Error
Content-Type: application/json; charset=utf-8
Body:
{
    "$id": "1",
    "Message": "An error has occurred.",
    "ExceptionMessage": "Object reference not set to an instance of an object.",
    "ExceptionType": "System.NullReferenceException",
    "StackTrace": "..."
}

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>