Validate Push Custom
A SOAP call to determine whether PingMe is valid with respect to the username and the domain, however, it differs from Validate Push in two ways: a customMessage and customTimeout can be included, and the loginTo element is not required; Validate Push Custom replaces the default Validate Push text with admin-defined text.
The response returns a boolean, with True indicating Push Custom is valid and False indicating Push Custom is not valid.
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> <ValidatePushCustom xmlns="http://cm.2fa.com/"> <username>string</username> <domain>string</domain> <customMessage>string</customMessage> <customTimeout>string</customTimeout> <apiKey>string</apiKey> </ValidatePushCustom> </soap12:Body> </soap12:Envelope>'
REQUEST BODY:
<soap12:Body> <ValidatePushCustom xmlns="http://cm.2fa.com/"> <username>string</username> <domain>string</domain> <customMessage>string</customMessage> <customTimeout>string</customTimeout> <apiKey>string</apiKey> </ValidatePushCustom> </soap12:Body>
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> <ValidatePushCustomResponse xmlns="http://cm.2fa.com/"> <ValidatePushCustomResult>boolean</ValidatePushCustomResult> </ValidatePushCustomResponse> </soap12:Body> </soap12:Envelope>