POST api/trustedorg/orgs/link/stats/{id}
public link org and it's member stats updates
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
logged in user id. |
integer |
Required |
Body Parameters
stats data
MemberOrgEventReq| Name | Description | Type | Additional information |
|---|---|---|---|
| org_id |
org id |
integer |
None. |
| org_branch_id |
org branch id |
integer |
None. |
| org_member_id |
org member id |
integer |
None. |
| event_type |
even type |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"org_id": 1,
"org_branch_id": 1,
"org_member_id": 2,
"event_type": "sample string 3"
}
application/xml, text/xml
Sample:
<member_org_event_req xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.RequestAgg.v5"> <event_type>sample string 3</event_type> <org_branch_id>1</org_branch_id> <org_id>1</org_id> <org_member_id>2</org_member_id> </member_org_event_req>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
On success, returns org, member details On failure, return Lifetrons standard responses codes.
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| resp_code |
Lifetrons response code |
string |
None. |
| resp_msg |
Lifetrons response message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"resp_code": "sample string 1",
"resp_msg": "sample string 2"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models"> <resp_code>sample string 1</resp_code> <resp_msg>sample string 2</resp_msg> </Response>