GET api/guardians/growth?id={id}&did={did}&fromDate={fromDate}&toDate={toDate}

Kids/Child growth chart data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

object representing logged in userid that need to get guardian growth data.

integer

Required

did

object representing dependent id that need to get guardian growth data.

string

Required

fromDate

object representing start datetime to get growth data.

decimal number

Required

toDate

object representing end datetime to get growth data.

decimal number

None.

Body Parameters

None.

Response Information

Resource Description

On success, return heart rate data On failure, return null

GuardianGrowthResp
NameDescriptionTypeAdditional information
growth_data

List of child/kids growth data from selected date

Collection of GuardianGrowthData

None.

resp_code

Lifetrons response code

string

None.

resp_msg

Lifetrons response message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "growth_data": [
    {
      "log_id": 1,
      "dependent_id": "sample string 2",
      "weight": 3.0,
      "height": 4.0,
      "head_circumference": 1.0,
      "bmi": 1.0,
      "is_uploaded": 5,
      "date_of_activity": 6.1
    },
    {
      "log_id": 1,
      "dependent_id": "sample string 2",
      "weight": 3.0,
      "height": 4.0,
      "head_circumference": 1.0,
      "bmi": 1.0,
      "is_uploaded": 5,
      "date_of_activity": 6.1
    }
  ],
  "resp_code": "sample string 1",
  "resp_msg": "sample string 2"
}

application/xml, text/xml

Sample:
<guardian_growth_resp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.ResponseAgg">
  <resp_code xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 1</resp_code>
  <resp_msg xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 2</resp_msg>
  <growth_data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.GuardiandsAgg">
    <d2p1:guardian_growth>
      <d2p1:bmi>1</d2p1:bmi>
      <d2p1:date_of_activity>6.1</d2p1:date_of_activity>
      <d2p1:dependent_id>sample string 2</d2p1:dependent_id>
      <d2p1:head_circumference>1</d2p1:head_circumference>
      <d2p1:height>4</d2p1:height>
      <d2p1:is_uploaded>5</d2p1:is_uploaded>
      <d2p1:log_id>1</d2p1:log_id>
      <d2p1:weight>3</d2p1:weight>
    </d2p1:guardian_growth>
    <d2p1:guardian_growth>
      <d2p1:bmi>1</d2p1:bmi>
      <d2p1:date_of_activity>6.1</d2p1:date_of_activity>
      <d2p1:dependent_id>sample string 2</d2p1:dependent_id>
      <d2p1:head_circumference>1</d2p1:head_circumference>
      <d2p1:height>4</d2p1:height>
      <d2p1:is_uploaded>5</d2p1:is_uploaded>
      <d2p1:log_id>1</d2p1:log_id>
      <d2p1:weight>3</d2p1:weight>
    </d2p1:guardian_growth>
  </growth_data>
</guardian_growth_resp>