Click or drag to resize
ParaPlan Logo

UserServiceLogin Method

Logs a user into the ParaPlan API.

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public UserToken Login(
	string userName,
	string password,
	string device,
	string version,
	string deviceToken,
	string utcOffSet,
	string deviceType = ""
)

Parameters

userName
Type: SystemString
Email address of user
password
Type: SystemString
SHA-512 encoded password
device
Type: SystemString
Device name used when logging into API
version
Type: SystemString
Version of calling code
deviceToken
Type: SystemString
Push notification token for device
utcOffSet
Type: SystemString
Users delta from UTC
deviceType (Optional)
Type: SystemString
Type of device for push notifications. Use APN or FCM

Return Value

Type: UserToken
Information about the logged in user and a token for future API calls
See Also