PUT api/group/goal_update/{id}?gId={gId}

update group member goalUpdated status after setting goal

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

logged in user id to confirm goal for group.

integer

Required

gId

groups id to update goal for challenge

integer

Required

Body Parameters

None.

Response Information

Resource Description

On success, return recently updated group id. On failure, return empty.

Response
NameDescriptionTypeAdditional 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>