Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId SurePassID account login name
authServerPartnerLoginPasswordstringSurePassId SurePassID account login key
authServerPartnerUserLoginNamestringUser account name
mobilestringmobileMobile number of account that received push message
responsestringresponseResponse to push message sent to mobile device e.g. Yes user accepted message or No.
authnUserReqIdstringauthnUserReqIdSystem generated push notification request Identifier.


Code Block
languagec#
titleSample WCF C# Method
AuthServerResponse  resp = ReceivePushResponse("accountLogin",             
            "accountKey", 
            "Mandy", 
            "?(123)456-7890",
	        "?User accepted",
			"?");


Code Block
languagec#
titleSample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId SurePassID account login name
spAccountLoginKeystringSurePassId SurePassID account login key
usernamestringuser account login name
typestringdeletereceive_push_deviceresponse
mobilestringmobileMobile number of account that received push message
responsestringresponseResponse to push message sent to mobile device e.g. Yes user accepted message or No.
authnUserReqIdstringauthnUserReqIdSystem generated push notification request Identifier.


Code Block
languagejs
titleSample REST/Json Method
{
"spAccountLoginName": "{{spAccountLoginName}}",
"spAccountLoginKey": "{{spAccountLoginKey}}",
"username": "{{username}}",
"type": "receive_push_response",
"mobile": "?(123)456-7890",
"response": "?User accepted",
"authnUserReqId": "?"
}

...