PUT api/trustedorg/orgs/link/connect/{id}?uId={uId}&oId={oId}&obId={obId}&oMId={oMId}
connect with org member using public link
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
logged in user id. |
integer |
Required |
| uId |
unique id received in deep link |
integer |
Required |
| oId |
org id assigned to org member |
integer |
Required |
| obId |
org branch id assigned to org member for specific branch |
integer |
Required |
| oMId |
org member id to connect |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, returns org, member details On failure, return Lifetrons standard responses codes.
TrustedOrgWithMemberResp| Name | Description | Type | Additional information |
|---|---|---|---|
| org |
Lifetrons user trusted org details |
Collection of TrustedOrgWithMember |
None. |
| resp_code |
Lifetrons response code |
string |
None. |
| resp_msg |
Lifetrons response message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"org": [
{
"org_mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"org_name": "sample string 5",
"org_branch_name": "sample string 6",
"address": "sample string 7",
"org_main_type_id": 8,
"org_type_name": "sample string 9",
"org_type_display_name": "sample string 10",
"image_url": "sample string 11",
"is_removed": true,
"org_members": [
{
"mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"uid": "sample string 5",
"org_member_display_name": "sample string 6",
"org_member_image_url": "sample string 7",
"country_code": "sample string 8",
"org_mobile_number": "sample string 9",
"last_update": 10.1,
"is_deleted": true,
"created_on": 14.1,
"review": {
"Id": 1,
"OrgId": 2,
"OrgBranchId": 1,
"OrgMemberId": 3,
"UserId": 1,
"Rating": 4.0,
"ReviewTitle": "sample string 5",
"ReviewDesc": "sample string 6",
"ReviewTag": "sample string 7",
"inserted_on": 9.1,
"updated_on": 1.1,
"IsPublic": true,
"ReviewerName": "sample string 11",
"ReviewerImageURL": "sample string 12",
"NoOfHelpful": 1,
"NoOfReport": 1
},
"steps": true,
"activity": true,
"heartrate": true,
"sleep": true,
"water": true,
"bodystats": true,
"food": true,
"medical": true,
"bp": true,
"bs": true,
"whr": true,
"body_measurements": true,
"body_transformation": true
},
{
"mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"uid": "sample string 5",
"org_member_display_name": "sample string 6",
"org_member_image_url": "sample string 7",
"country_code": "sample string 8",
"org_mobile_number": "sample string 9",
"last_update": 10.1,
"is_deleted": true,
"created_on": 14.1,
"review": {
"Id": 1,
"OrgId": 2,
"OrgBranchId": 1,
"OrgMemberId": 3,
"UserId": 1,
"Rating": 4.0,
"ReviewTitle": "sample string 5",
"ReviewDesc": "sample string 6",
"ReviewTag": "sample string 7",
"inserted_on": 9.1,
"updated_on": 1.1,
"IsPublic": true,
"ReviewerName": "sample string 11",
"ReviewerImageURL": "sample string 12",
"NoOfHelpful": 1,
"NoOfReport": 1
},
"steps": true,
"activity": true,
"heartrate": true,
"sleep": true,
"water": true,
"bodystats": true,
"food": true,
"medical": true,
"bp": true,
"bs": true,
"whr": true,
"body_measurements": true,
"body_transformation": true
}
]
},
{
"org_mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"org_name": "sample string 5",
"org_branch_name": "sample string 6",
"address": "sample string 7",
"org_main_type_id": 8,
"org_type_name": "sample string 9",
"org_type_display_name": "sample string 10",
"image_url": "sample string 11",
"is_removed": true,
"org_members": [
{
"mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"uid": "sample string 5",
"org_member_display_name": "sample string 6",
"org_member_image_url": "sample string 7",
"country_code": "sample string 8",
"org_mobile_number": "sample string 9",
"last_update": 10.1,
"is_deleted": true,
"created_on": 14.1,
"review": {
"Id": 1,
"OrgId": 2,
"OrgBranchId": 1,
"OrgMemberId": 3,
"UserId": 1,
"Rating": 4.0,
"ReviewTitle": "sample string 5",
"ReviewDesc": "sample string 6",
"ReviewTag": "sample string 7",
"inserted_on": 9.1,
"updated_on": 1.1,
"IsPublic": true,
"ReviewerName": "sample string 11",
"ReviewerImageURL": "sample string 12",
"NoOfHelpful": 1,
"NoOfReport": 1
},
"steps": true,
"activity": true,
"heartrate": true,
"sleep": true,
"water": true,
"bodystats": true,
"food": true,
"medical": true,
"bp": true,
"bs": true,
"whr": true,
"body_measurements": true,
"body_transformation": true
},
{
"mapping_id": "sample string 1",
"org_id": 2,
"org_branch_id": 3,
"org_member_id": 4,
"uid": "sample string 5",
"org_member_display_name": "sample string 6",
"org_member_image_url": "sample string 7",
"country_code": "sample string 8",
"org_mobile_number": "sample string 9",
"last_update": 10.1,
"is_deleted": true,
"created_on": 14.1,
"review": {
"Id": 1,
"OrgId": 2,
"OrgBranchId": 1,
"OrgMemberId": 3,
"UserId": 1,
"Rating": 4.0,
"ReviewTitle": "sample string 5",
"ReviewDesc": "sample string 6",
"ReviewTag": "sample string 7",
"inserted_on": 9.1,
"updated_on": 1.1,
"IsPublic": true,
"ReviewerName": "sample string 11",
"ReviewerImageURL": "sample string 12",
"NoOfHelpful": 1,
"NoOfReport": 1
},
"steps": true,
"activity": true,
"heartrate": true,
"sleep": true,
"water": true,
"bodystats": true,
"food": true,
"medical": true,
"bp": true,
"bs": true,
"whr": true,
"body_measurements": true,
"body_transformation": true
}
]
}
],
"resp_code": "sample string 1",
"resp_msg": "sample string 2"
}
application/xml, text/xml
Sample:
<trusted_org_with_member_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>
<org xmlns:d2p1="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.TrustedOrgAgg">
<d2p1:trusted_org_with_member>
<d2p1:address>sample string 7</d2p1:address>
<d2p1:image_url>sample string 11</d2p1:image_url>
<d2p1:is_removed>true</d2p1:is_removed>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_branch_name>sample string 6</d2p1:org_branch_name>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_main_type_id>8</d2p1:org_main_type_id>
<d2p1:org_mapping_id>sample string 1</d2p1:org_mapping_id>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_members>
<d2p1:trusted_org>
<activity xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</activity>
<body_measurements xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_measurements>
<body_transformation xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_transformation>
<bodystats xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bodystats>
<bp xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bp>
<bs xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bs>
<food xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</food>
<heartrate xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</heartrate>
<medical xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</medical>
<sleep xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</sleep>
<steps xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</steps>
<water xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</water>
<whr xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</whr>
<d2p1:country_code>sample string 8</d2p1:country_code>
<d2p1:created_on>14.1</d2p1:created_on>
<d2p1:is_deleted>true</d2p1:is_deleted>
<d2p1:last_update>10.1</d2p1:last_update>
<d2p1:mapping_id>sample string 1</d2p1:mapping_id>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_member_display_name>sample string 6</d2p1:org_member_display_name>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_member_image_url>sample string 7</d2p1:org_member_image_url>
<d2p1:org_mobile_number>sample string 9</d2p1:org_mobile_number>
<d2p1:review xmlns:d6p1="http://schemas.datacontract.org/2004/07/CommonClasses.Org">
<d6p1:Id>1</d6p1:Id>
<d6p1:IsPublic>true</d6p1:IsPublic>
<d6p1:NoOfHelpful>1</d6p1:NoOfHelpful>
<d6p1:NoOfReport>1</d6p1:NoOfReport>
<d6p1:OrgBranchId>1</d6p1:OrgBranchId>
<d6p1:OrgId>2</d6p1:OrgId>
<d6p1:OrgMemberId>3</d6p1:OrgMemberId>
<d6p1:Rating>4</d6p1:Rating>
<d6p1:ReviewDesc>sample string 6</d6p1:ReviewDesc>
<d6p1:ReviewTag>sample string 7</d6p1:ReviewTag>
<d6p1:ReviewTitle>sample string 5</d6p1:ReviewTitle>
<d6p1:ReviewerImageURL>sample string 12</d6p1:ReviewerImageURL>
<d6p1:ReviewerName>sample string 11</d6p1:ReviewerName>
<d6p1:UserId>1</d6p1:UserId>
<d6p1:inserted_on>9.1</d6p1:inserted_on>
<d6p1:updated_on>1.1</d6p1:updated_on>
</d2p1:review>
<d2p1:uid>sample string 5</d2p1:uid>
</d2p1:trusted_org>
<d2p1:trusted_org>
<activity xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</activity>
<body_measurements xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_measurements>
<body_transformation xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_transformation>
<bodystats xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bodystats>
<bp xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bp>
<bs xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bs>
<food xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</food>
<heartrate xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</heartrate>
<medical xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</medical>
<sleep xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</sleep>
<steps xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</steps>
<water xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</water>
<whr xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</whr>
<d2p1:country_code>sample string 8</d2p1:country_code>
<d2p1:created_on>14.1</d2p1:created_on>
<d2p1:is_deleted>true</d2p1:is_deleted>
<d2p1:last_update>10.1</d2p1:last_update>
<d2p1:mapping_id>sample string 1</d2p1:mapping_id>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_member_display_name>sample string 6</d2p1:org_member_display_name>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_member_image_url>sample string 7</d2p1:org_member_image_url>
<d2p1:org_mobile_number>sample string 9</d2p1:org_mobile_number>
<d2p1:review xmlns:d6p1="http://schemas.datacontract.org/2004/07/CommonClasses.Org">
<d6p1:Id>1</d6p1:Id>
<d6p1:IsPublic>true</d6p1:IsPublic>
<d6p1:NoOfHelpful>1</d6p1:NoOfHelpful>
<d6p1:NoOfReport>1</d6p1:NoOfReport>
<d6p1:OrgBranchId>1</d6p1:OrgBranchId>
<d6p1:OrgId>2</d6p1:OrgId>
<d6p1:OrgMemberId>3</d6p1:OrgMemberId>
<d6p1:Rating>4</d6p1:Rating>
<d6p1:ReviewDesc>sample string 6</d6p1:ReviewDesc>
<d6p1:ReviewTag>sample string 7</d6p1:ReviewTag>
<d6p1:ReviewTitle>sample string 5</d6p1:ReviewTitle>
<d6p1:ReviewerImageURL>sample string 12</d6p1:ReviewerImageURL>
<d6p1:ReviewerName>sample string 11</d6p1:ReviewerName>
<d6p1:UserId>1</d6p1:UserId>
<d6p1:inserted_on>9.1</d6p1:inserted_on>
<d6p1:updated_on>1.1</d6p1:updated_on>
</d2p1:review>
<d2p1:uid>sample string 5</d2p1:uid>
</d2p1:trusted_org>
</d2p1:org_members>
<d2p1:org_name>sample string 5</d2p1:org_name>
<d2p1:org_type_display_name>sample string 10</d2p1:org_type_display_name>
<d2p1:org_type_name>sample string 9</d2p1:org_type_name>
</d2p1:trusted_org_with_member>
<d2p1:trusted_org_with_member>
<d2p1:address>sample string 7</d2p1:address>
<d2p1:image_url>sample string 11</d2p1:image_url>
<d2p1:is_removed>true</d2p1:is_removed>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_branch_name>sample string 6</d2p1:org_branch_name>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_main_type_id>8</d2p1:org_main_type_id>
<d2p1:org_mapping_id>sample string 1</d2p1:org_mapping_id>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_members>
<d2p1:trusted_org>
<activity xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</activity>
<body_measurements xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_measurements>
<body_transformation xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_transformation>
<bodystats xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bodystats>
<bp xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bp>
<bs xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bs>
<food xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</food>
<heartrate xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</heartrate>
<medical xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</medical>
<sleep xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</sleep>
<steps xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</steps>
<water xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</water>
<whr xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</whr>
<d2p1:country_code>sample string 8</d2p1:country_code>
<d2p1:created_on>14.1</d2p1:created_on>
<d2p1:is_deleted>true</d2p1:is_deleted>
<d2p1:last_update>10.1</d2p1:last_update>
<d2p1:mapping_id>sample string 1</d2p1:mapping_id>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_member_display_name>sample string 6</d2p1:org_member_display_name>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_member_image_url>sample string 7</d2p1:org_member_image_url>
<d2p1:org_mobile_number>sample string 9</d2p1:org_mobile_number>
<d2p1:review xmlns:d6p1="http://schemas.datacontract.org/2004/07/CommonClasses.Org">
<d6p1:Id>1</d6p1:Id>
<d6p1:IsPublic>true</d6p1:IsPublic>
<d6p1:NoOfHelpful>1</d6p1:NoOfHelpful>
<d6p1:NoOfReport>1</d6p1:NoOfReport>
<d6p1:OrgBranchId>1</d6p1:OrgBranchId>
<d6p1:OrgId>2</d6p1:OrgId>
<d6p1:OrgMemberId>3</d6p1:OrgMemberId>
<d6p1:Rating>4</d6p1:Rating>
<d6p1:ReviewDesc>sample string 6</d6p1:ReviewDesc>
<d6p1:ReviewTag>sample string 7</d6p1:ReviewTag>
<d6p1:ReviewTitle>sample string 5</d6p1:ReviewTitle>
<d6p1:ReviewerImageURL>sample string 12</d6p1:ReviewerImageURL>
<d6p1:ReviewerName>sample string 11</d6p1:ReviewerName>
<d6p1:UserId>1</d6p1:UserId>
<d6p1:inserted_on>9.1</d6p1:inserted_on>
<d6p1:updated_on>1.1</d6p1:updated_on>
</d2p1:review>
<d2p1:uid>sample string 5</d2p1:uid>
</d2p1:trusted_org>
<d2p1:trusted_org>
<activity xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</activity>
<body_measurements xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_measurements>
<body_transformation xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</body_transformation>
<bodystats xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bodystats>
<bp xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bp>
<bs xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</bs>
<food xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</food>
<heartrate xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</heartrate>
<medical xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</medical>
<sleep xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</sleep>
<steps xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</steps>
<water xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</water>
<whr xmlns="http://schemas.datacontract.org/2004/07/CommonClasses.user">true</whr>
<d2p1:country_code>sample string 8</d2p1:country_code>
<d2p1:created_on>14.1</d2p1:created_on>
<d2p1:is_deleted>true</d2p1:is_deleted>
<d2p1:last_update>10.1</d2p1:last_update>
<d2p1:mapping_id>sample string 1</d2p1:mapping_id>
<d2p1:org_branch_id>3</d2p1:org_branch_id>
<d2p1:org_id>2</d2p1:org_id>
<d2p1:org_member_display_name>sample string 6</d2p1:org_member_display_name>
<d2p1:org_member_id>4</d2p1:org_member_id>
<d2p1:org_member_image_url>sample string 7</d2p1:org_member_image_url>
<d2p1:org_mobile_number>sample string 9</d2p1:org_mobile_number>
<d2p1:review xmlns:d6p1="http://schemas.datacontract.org/2004/07/CommonClasses.Org">
<d6p1:Id>1</d6p1:Id>
<d6p1:IsPublic>true</d6p1:IsPublic>
<d6p1:NoOfHelpful>1</d6p1:NoOfHelpful>
<d6p1:NoOfReport>1</d6p1:NoOfReport>
<d6p1:OrgBranchId>1</d6p1:OrgBranchId>
<d6p1:OrgId>2</d6p1:OrgId>
<d6p1:OrgMemberId>3</d6p1:OrgMemberId>
<d6p1:Rating>4</d6p1:Rating>
<d6p1:ReviewDesc>sample string 6</d6p1:ReviewDesc>
<d6p1:ReviewTag>sample string 7</d6p1:ReviewTag>
<d6p1:ReviewTitle>sample string 5</d6p1:ReviewTitle>
<d6p1:ReviewerImageURL>sample string 12</d6p1:ReviewerImageURL>
<d6p1:ReviewerName>sample string 11</d6p1:ReviewerName>
<d6p1:UserId>1</d6p1:UserId>
<d6p1:inserted_on>9.1</d6p1:inserted_on>
<d6p1:updated_on>1.1</d6p1:updated_on>
</d2p1:review>
<d2p1:uid>sample string 5</d2p1:uid>
</d2p1:trusted_org>
</d2p1:org_members>
<d2p1:org_name>sample string 5</d2p1:org_name>
<d2p1:org_type_display_name>sample string 10</d2p1:org_type_display_name>
<d2p1:org_type_name>sample string 9</d2p1:org_type_name>
</d2p1:trusted_org_with_member>
</org>
</trusted_org_with_member_resp>