Member List

Use the member query to list the information of a specific member by a given ID.

Required Argument

Required NameTypeDescription

Required Name

Type

Description

id

ID

Unique member ID. Get this ID by executing the member query.

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 {
  member(id: "TWVtYmVyOjBhMTA3YWM5LTg4Y2EtNGJkYy1iOTdhLWIyODE4NDA1ODVjZA==") {
   id
    name
    birthdate
    memberSince
    weight
    height
    credits {
      id
      value
    }

    program {
      id
      name
      slug
      author
      image
      cover
      backgroundImage
      descriptionShort
      descriptionLong
      restrictions {
        id
        name
        slug
      }
    }
  }
}

Last updated