爱康云医接口文档

爱康云医API文档


营养日记列表查询

<p><strong>迭代版本:</strong>2.8.30(新增)</p> <p><strong>简要描述:</strong></p> <ul> <li>营养日记列表查询</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><a href="http://aky.mynatapp.cc/chronic/nutritionRecord/list">http://aky.mynatapp.cc/chronic/nutritionRecord/list</a></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST/GET</li> <li>Content-Type:application/form</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">patientId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Integer</td> <td>患者id</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Integer</td> <td>餐类型早中晚 0,1,2</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "retcode": "0000", "errMsg": "操作成功", "body": { "standardEnergy": 616.5, "totalEnergy": 2052, "actualEnergy": 152, "list": [ { "id": 12, "patientId": 4237, "diaryId": 14, "name": "热干面", "weight": 2, "type": 0, "url": "http://aikangcloudtest-new.oss-cn-qingdao.aliyuncs.com/oss/imag/2019/11/354419723745914880.jpg", "energy": 153, "createTime": "2019-11-13 10:24:18" } ] } }</code></pre> <p><strong>返回参数说明</strong> </p> <p>|参数名|类型|说明| <strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML