Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

WCF


Method
public AuthServerResponse ReceivePushResponse(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string mobile,
				 string response,
			     string authnUserReqId)
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account name
mobilestringmobile
responsestringresponse
authnUserReqIdstringauthnUserReqId
Sample WCF C# Method
AuthServerResponse  resp = ReceivePushResponse("accountLogin",             
            "accountKey", 
            "Mandy", 
            "?",
	        "?",
			"?");
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringdelete_device
mobilestringmobile
responsestringresponse
authnUserReqIdstringauthnUserReqId
Sample REST/Json Method
{
"spAccountLoginName": "{{spAccountLoginName}}",
"spAccountLoginKey": "{{spAccountLoginKey}}",
"username": "{{username}}",
"type": "receive_push_response",
"mobile": "?",
"response": "?",
"authnUserReqId": "?"
}
Sample REST/Json Response
 {
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "receive_push_response"
}


  • No labels