Versions Compared

Key

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

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId 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 account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringdelete_device
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": "?"
}

...