Members List

Get the information of all available members

Use the members query to list the information of a all available members.

Available fields

Field name

Type

Description

name

String

Member name

birthdate

Date

Member birthdate

phone

String

Member's phone

memberSince

Date

Date when the member has joined the TeleWellness Portal.

biologicalSex

biologicalSex

The biological sex of the user. Valid values are MALE and FEMALE

activityLevel

ActivityLevel

User's weekly activity level. Valid values are NOT_ACTIVE, EXERCISE_1 (1 - 2 times per week) and EXERCISE_2 (3+ times per week)

startingWeight

Float

The user's current weight. Expressed in kilograms.

targetWeight

Float

The user's target weight. Expressed in kilograms.

weeklyWeightGoal

WeeklyWeightGoal

User weekly weight-related goal. Valid values are:

MANTAIN: maintain the weight,

GOAL_1: lose 0.5 lb,

GOAL_2: lose (1 lb),

GOAL_3: lose (1.5 lb),

GOAL_4: lose (4 lb)

goalsOn

Boolean

True if the goals functionality is enabled. Requires all other parameters to be set.

lastLogin

DateTime

Date of the member's last login

program

Object that returns the program information assigned to the member

restrictions

Object that returns the information of the restrictions applied to the member

Examples

query {
  members {
    edges {
      node {
        id
        name
        email
        birthdate
        weight
        height
        lastLogin
         memberSince
        restrictions {
          name
          isOnProgram
        }

      }
    }
  }
}

Last updated