inviteIntoFamily

abstract suspend fun inviteIntoFamily(familyId: String, phoneOrMail: String)

Send invitation to user with phoneOrMail into family with familyId.

See also

https://api-saas-dev.cloudike.com/backend_docs/rest/api/2/core_pkg/family_app/FamilyInvites/index.html#post

Throws

SessionIsNotInitializedException

When session is not initialized.

UserAlreadyMemberOfFamilyException

When the user is already a member of a family.

IncorrectPhoneOrEmailException

When the phone or email is not in the correct format.

Another argument problems.

Unauthorized access.

Access was denied.

Another problems.