RegisterUser
public struct RegisterUser : Codable, JSONEncodedBody
Undocumented
-
Required - A unique email address
Declaration
Swift
public var email: String?
-
Required - can not be null or empty
Declaration
Swift
public var firstname: String?
-
Required - can not be null or empty
Declaration
Swift
public var lastname: String?
-
Optional - phone number
Declaration
Swift
public var tn: String?
-
Optional - date of birth - UTC timestamp
Declaration
Swift
public var dob: Int?
-
Optional - A Java Locale ID - defaults to current locale
Declaration
Swift
public var locale: String?
-
Optional - A Java TimeZone ID
Declaration
Swift
public var timezone: String?
-
Required - can not be null or emptu
Declaration
Swift
public var password: String?
-
Optional - If the user has been invited, this is the invite UUID
Declaration
Swift
public var delegate: String?
-
Optional - Company ID you wish to join
Declaration
Swift
public var companyId: Int?
-
Optional - Coach ID you wish to associate with
Declaration
Swift
public var coachId: Int?
-
Optional - Units of measurement
Declaration
Swift
public var units: UnitMeasurement?
-
Optional - The athlete’s threshold power for by sport
Declaration
Swift
public var pwr: [ActivityType : UserThresholdPower]?
-
Optional - The athlete’s threshold heart rate and max heart rate by sport
Declaration
Swift
public var bpm: [ActivityType : UserThresholdHeart]?
-
Optional - The athlete’s threshold pace by sport
Declaration
Swift
public var pace: [ActivityType : UserThresholdPace]?
-
Optional - The athlete’s current weight (kg)
Declaration
Swift
public var weight: Double?
-
Optional - Use this to request association with a specific company based on the company nic
Declaration
Swift
public var tags: String?
-
Optional - Custom registration directives
Declaration
Swift
public var params: [String : String]?
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public init(email: String, password: String, firstname: String, lastname: String, accept: [String]? = nil, billingCountry: String? = nil)