Versions Compared

Key

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

WCF


Code Block
languagec#
title Method
public AuthServerResponse ProvisionPushDevice(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string pw,
				 string deviceId,
			     string pushType,
				 string deviceName,
				 string token,
			     string relyingParty)

...

Code Block
languagec#
titleSample 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
typestringprovision_push_device
pwstringUser password
deviceIdstringPush device ID
pushTypestringAndroid or iOS push device
deviceNamestringFriendly name of push device
tokenstringtoken
relyingPartystringRelying party

...