Name

User Add Recommendation

Description

Add a recommendation for the user

Uri

/v1/user/addrecommendation

Parameters

Name Required Default Format Examples Description
appKeyyesstringqiusdjsls9273sdYour application key
authTokenyesstringdGVzdF9rZXkmNCYxNDEwODk4MzgxJmRldmVsThe authToken returned from the /auth/login call. If no authToken is given a temporary user will be created.
conditionIdyesdigits8The condition id to write the recommendation for
treatmentIdyesdigits5The treatment id to write the recommendation for
bodynostringThis treatment was greatThe body text of the recommendation
externalResourceUrlnostringhttps://www.test.comThe full url of the external resource

Response Description

Example Request

http://api.healthoutcome.org/v1/user/addrecommendation?conditionId=5&treatmentId=5&body=test&authToken=dGVzdF9rZXkmNCYxNDEwODk4MzgxJmRldmVs