createDeviceToken

fun createDeviceToken(instanceId: String, instanceKey: String, email: String? = null, phone: String? = null, clientId: String? = null, firstName: String? = null, lastName: String? = null, birthDay: String? = null, maritalStatus: MaritalStatus? = null, childrenCount: Int? = null, address: String? = null, gender: Gender? = null): Task<CreateResult>

Creates new user with specified instanceId, instanceKey and optional parameters

Return

Task parametrised with CreateResult

Parameters

instanceId

(required)

instanceKey

(required)

email

(optional)

phone

(optional)

clientId

(optional)

firstName

(optional)

lastName

(optional)

birthDay

(optional) - date-time string in yyyy-MM-dd'T'HH:mm:ss format

maritalStatus

(optional) - MaritalStatus enum entry

childrenCount

(optional)

address

(optional) - address string

gender

(optional) - Gender enum entry