Methods
(inner) post /product_syndrometype_modify(timestamp, sign, productSyndrometypeId, JSON)
Parameters:
Name |
Type |
Description |
timestamp |
String(10)
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
签名 |
productSyndrometypeId |
String(24)
|
药品ID |
JSON |
JSON
|
body参数
Properties
Name |
Type |
Attributes |
Default |
Description |
diseaseId |
String(24)
|
|
|
病症ID |
syndrometype |
String(50)
|
|
|
证型 |
doctorId |
String(24)
|
<optional>
|
|
医生ID |
productId |
String(24)
|
|
|
药品ID |
quantity |
Number
|
<optional>
|
1
|
数量 |
price |
Number
|
<optional>
|
0
|
单价,元 |
memo |
String(200)
|
<optional>
|
|
备注 |
|
Properties:
Name |
Type |
Description |
success |
Boolean
|
true为修改成功,否则失败 |
productSyndrometypeId |
String(24)
|
附加药品模版ID |
Throws:
400 缺少diseaseId
400 缺少syndrometype
400 缺少productId
400 缺少productSyndrometypeId
Examples
请求示例:/product_syndrometype_modify?productSyndrometypeId=5e1b32e6a8bead28981cfefe&sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924×tamp=1570428513
请求JSON参数:
{
"syndrometype": "风寒",
"diseaseId": "5e3815da27ddaa24a8b0c74b",
"doctorId": "5e0445db99791d7398ccb1ba",
"productId": "62d9403e716c8100112f3dc0",
"quantity": 2,
"price": 158,
"mome": "",
}
返回示例:
{
"success": true,
"productSyndrometypeId": "5e1b32e6a8bead28981cfefe"
}