GET api/user/scale/profiles/{id}?pId={pId}&epochtime={epochtime}

list of scale profiles created by users

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

object representing the details that need to get user scale profiles.

integer

Required

pId

object representing the details that need to get scale specific user.

integer

None.

epochtime

Used to avoid old records. Used for offline mode

decimal number

None.

Body Parameters

None.

Response Information

Resource Description

On success, return list of groups. On failure, return empty list.

ScaleUserProfileResp
NameDescriptionTypeAdditional information
profile

list of user added to scale profile

Collection of ScaleUserProfile

None.

resp_code

Lifetrons response code

string

None.

resp_msg

Lifetrons response message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "profile": [
    {
      "profile_id": 1,
      "name": "sample string 2",
      "date_Of_birth": 4.1,
      "gender": "sample string 5",
      "height": 6,
      "country_code": "sample string 7",
      "mobile_number": "sample string 8",
      "inserted_on": 10.1,
      "updated_on": 12.1,
      "is_deleted": true,
      "no_of_edit": 1
    },
    {
      "profile_id": 1,
      "name": "sample string 2",
      "date_Of_birth": 4.1,
      "gender": "sample string 5",
      "height": 6,
      "country_code": "sample string 7",
      "mobile_number": "sample string 8",
      "inserted_on": 10.1,
      "updated_on": 12.1,
      "is_deleted": true,
      "no_of_edit": 1
    }
  ],
  "resp_code": "sample string 1",
  "resp_msg": "sample string 2"
}

application/xml, text/xml

Sample:
<scale_userprofile_resp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.ResponseAgg.v5">
  <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>
  <profile xmlns:d2p1="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.UserAgg">
    <d2p1:scale_user_profile>
      <d2p1:country_code>sample string 7</d2p1:country_code>
      <d2p1:date_Of_birth>4.1</d2p1:date_Of_birth>
      <d2p1:gender>sample string 5</d2p1:gender>
      <d2p1:height>6</d2p1:height>
      <d2p1:inserted_on>10.1</d2p1:inserted_on>
      <d2p1:is_deleted>true</d2p1:is_deleted>
      <d2p1:mobile_number>sample string 8</d2p1:mobile_number>
      <d2p1:name>sample string 2</d2p1:name>
      <d2p1:no_of_edit>1</d2p1:no_of_edit>
      <d2p1:profile_id>1</d2p1:profile_id>
      <d2p1:updated_on>12.1</d2p1:updated_on>
    </d2p1:scale_user_profile>
    <d2p1:scale_user_profile>
      <d2p1:country_code>sample string 7</d2p1:country_code>
      <d2p1:date_Of_birth>4.1</d2p1:date_Of_birth>
      <d2p1:gender>sample string 5</d2p1:gender>
      <d2p1:height>6</d2p1:height>
      <d2p1:inserted_on>10.1</d2p1:inserted_on>
      <d2p1:is_deleted>true</d2p1:is_deleted>
      <d2p1:mobile_number>sample string 8</d2p1:mobile_number>
      <d2p1:name>sample string 2</d2p1:name>
      <d2p1:no_of_edit>1</d2p1:no_of_edit>
      <d2p1:profile_id>1</d2p1:profile_id>
      <d2p1:updated_on>12.1</d2p1:updated_on>
    </d2p1:scale_user_profile>
  </profile>
</scale_userprofile_resp>