Get Questions
A SOAP call to retrieve questions for a particular user for use with the ValidateQuestions web service SOAP call.
POST /ValidateService.asmx
REQUEST:
curl --request POST --url http://<MFAServerHostname>/ValidateService.asmx --header 'content-type: text/xml' --data '<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" > <soap12:Body> <GetQuestions xmlns="http://<MFAServerHostname>/"> <username>string</username> <domain>string</domain> <questions> <string>string</string> <string>string</string> </questions> <apiKey>string</apiKey> </GetQuestions> </soap12:Body> </soap12:Envelope>'
RESPONSE 200 OK:
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" > <soap12:Body> <GetQuestionsResponse xmlns="http://cm.2fa.com/"> <GetQuestionsResult>string</GetQuestionsResult> <questions> <string>string</string> <string>string</string> </questions> </GetQuestionsResponse> </soap12:Body> </soap12:Envelope>