验证门牌号
[TOC]
简要描述
- 验证门牌号
请求URL
http://xx.com/api/doorplate/verify
请求方式
- POST
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
doorplate | 是 | String | 用户选择的门牌号 |
返回示例
验证失败返回待验证手机号列表
{
"resp": "fail",
"data":{
"phone":[
"xxx-xxxx-xxxx",
"xxx-xxxx-xxxx",
"xxx-xxxx-xxxx"
]
}
}
验证成功返回用户处方单列表
{
"resp": "ok",
"data":{
"rx":[
{
"Serial No":1,
"Prescription No":"12345-1",
"Purpose":"血压",
"Drug name":"ABCDE",
"Status":"已配好",
"Out of pocket":5
},
{
"Serial No":1,
"Prescription No":"12345-2",
"Purpose":"血糖",
"Drug name":"ABCDE",
"Status":"待出药",
"Out of pocket":0
}
]
}
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
resp | string | 验证结果,ok:验证通过;fail:验证失败 |
data | object | 验证成功返回用户处方单列表,验证失败返回待验证手机号列表 |