文档
测试

获取机构订单例表

POST
GettOrderListForMemberID

接口描述

获取机构订单例表

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
lab_id
number
实验室ID 1114
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
institution_id
number
机构ID
必填
state
number
订单状态 0全部 1未付款 2待收取 3已收取 4完成 5退款
必填
index
number
页码 默认1
必填
size
number
每页数量 默认10
必填
key
string
关键字 可为空
可选
start_date
string
开始日期 可为空
可选
end_date
string
结束日期 可为空
可选
type
number
分类类型 0(全部) 1(常规) 2(院感) 默认0
可选

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
array
常规订单项
必填
institution_id
int
机构ID 示例:1
必填
order_id
int
订单ID 示例:1
必填
name
string
姓名 示例:
必填
age
int
年龄 示例:25
必填
gender
int
性别 示例:1
必填
gender_name
string
性别名称 示例:男
必填
hospital_code
string
住院号 示例:
必填
department
string
科室 示例:
必填
emergency_phone
string
手机号 示例:
必填
bed_code
string
床号 示例:
必填
clinical_diagnosis
string
临床诊断 示例:
必填
doctor
string
医生 示例:
必填
doctor_phone
string
医生电话 示例:
必填
request_date
string
申请日期 示例:
必填
sampler
string
采样人 示例:
必填
sampling_date
string
采样时间 示例:
必填
product_id
int
商品ID 示例:1
必填
product_name
string
商品名称 示例:
必填
product_content
string
商品内容 示例:
必填
product_price
int
商品价格 示例:125
必填
price
int
订单价格 示例:125
必填
order_status
int
订单状态 示例:0 【0待付款,6已取消,1月结, 2已付款,4已退款,3申请退款中(退款失败),7已收取(待出报告),5完成(已出报告)】
必填
order_status_name
string
订单状态名称 示例:待付款 【0待付款,6已取消,1月结, 2已付款,4已退款,3申请退款中(退款失败),7已收取(待出报告),5完成(已出报告)】
必填
sample_size
int
样本数量 示例:2
必填
bar_code
string
条码号 示例:xxx0001、xxxx02
必填
is_rep_report
bool
是否含有报告
必填
payment_method
int
结算方式 1现结 2月结
必填
payment_method_str
string
结算方式名称 现结 、月结
必填
is_can_edit
bool
是否可编辑
必填
is_can_cancel
bool
是否可取消
必填
is_can_delete
bool
是否可删除
必填
is_can_payment
bool
是否可支付
必填
is_can_refund
bool
是否可退款
必填
rep_report_list
array
报告例表
必填
bar_code
string
条码号
必填
is_rep_report
bool
是否已出报告
必填
rep_url
string
报告链接
必填
class_id
string
产品分类ID 12院感 示例:12
必填
class_name
string
产品分类名称 示例:院感
必填
is_hospital_infection_order
bool
是否院感订单 可以判断是调用【获取机构订单信息】还是【获取机构院感订单信息】
必填
containers_list
array
数据列表 容器例表
必填
id
int
容器ID 示例:1
必填
bar_code
string
绑定条码号 示例:xxx01
必填
img_url
string
容器图片URL 示例:http://xxx
必填
name
string
容器名称 示例:容器1
必填
notes
string
注意事项 示例:注意事项
必填
specimen_type
int
容器样本类型 示例:1
必填
specimen_type_name
string
容器样本类型名称 示例:血液
必填
com_id
string
组合ID
必填
com_name
string
组合名称
必填
samp_sam_id
string
组合样本类型ID
必填
samp_sam_name
string
组合样本类型名称
必填
is_rep_report
bool
是否已出报告
必填
rep_url
string
报告链接
必填
list
array
院感订单项
必填
institution_id
int
机构ID 示例:1
必填
order_id
int
订单ID 示例:1
必填
name
string
联系人姓名 示例:
必填
phone
string
联系人电话 示例:
必填
address
string
配送地址 示例:
必填
is_can_appointment
bool
是否可预约 示例:
必填
is_can_alter_appointment
bool
是否可编辑预约 只有预约后才会返回 true 示例:
必填
appointment_time
string
预约时间 示例:
必填
request_date
string
申请日期 示例:
必填
sampler
string
采样人 示例:
必填
sampling_date
string
采样时间 示例:
必填
product_id
int
商品ID 示例:1
必填
product_name
string
商品名称 示例:
必填
product_content
string
商品内容 示例:
必填
product_price
int
商品价格 示例:125
必填
price
int
订单价格 示例:125
必填
order_status
int
订单状态 示例:0 【0待付款,6已取消,1月结, 2已付款,4已退款,3申请退款中(退款失败),7已收取(待出报告),5完成(已出报告)】
必填
order_status_name
string
订单状态名称 示例:待付款 【0待付款,6已取消,1月结, 2已付款,4已退款,3申请退款中(退款失败),7已收取(待出报告),5完成(已出报告)】
必填
sample_size
int
样本数量 示例:2
必填
bar_code
string
条码号 示例:xxx0001、xxxx02
必填
is_rep_report
bool
是否含有报告
必填
payment_method
int
结算方式 1现结 2月结
必填
payment_method_str
string
结算方式名称 现结 、月结
必填
is_can_edit
bool
是否可编辑
必填
is_can_cancel
bool
是否可取消
必填
is_can_delete
bool
是否可删除
必填
is_can_payment
bool
是否可支付
必填
is_can_refund
bool
是否可退款
必填
rep_report_list
array
报告例表
必填
bar_code
string
条码号
必填
is_rep_report
bool
是否已出报告
必填
rep_url
string
报告链接
必填
class_id
string
产品分类ID 12院感 示例:12
必填
class_name
string
产品分类名称 示例:院感
必填
is_hospital_infection_order
bool
是否院感订单 可以判断是调用【获取机构订单信息】还是【获取机构院感订单信息】
必填
containers_list
array
数据列表 容器例表
必填
id
int
容器ID 示例:1
必填
bar_code
string
绑定条码号 示例:xxx01
必填
img_url
string
容器图片URL 示例:http://xxx
必填
name
string
容器名称 示例:容器1
必填
notes
string
注意事项 示例:注意事项
必填
specimen_type
int
容器样本类型 示例:1
必填
specimen_type_name
string
容器样本类型名称 示例:血液
必填
com_id
string
组合ID
必填
com_name
string
组合名称
必填
samp_sam_id
string
组合样本类型ID
必填
samp_sam_name
string
组合样本类型名称
必填
is_rep_report
bool
是否已出报告
必填
rep_url
string
报告链接
必填
sampling_site
string
采样地点
必填
time_frame_list
array
预约上门收单时间范围
必填
what_day
int
星期几 如:1 (1一 2二 3三 4四 5五 6六 7七)
必填
time_type
int
时间范围 如:0(0上午和下午 1上午 2下午)
必填
total
number
总数量
必填
ret
int
示例:0
必填
err_code
int
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 https://xxxx.com/WebServiceForDoctor.asmx ## 成功返回示例 新 ```language { "data": { "list":[ { "institution_id":1, "order_id":1, "name":"姓名", "age":25, "gender":1, "gender_name":"男", "hospital_code":"住院号", "department":"科室", "emergency_phone":"手机号", "bed_code":"床号", "clinical_diagnosis":"临床诊断", "doctor":"医生", "doctor_phone":"医生电话", "request_date":"申请日期", "sampler":"采样人", "sampling_date":"采样时间", "product_id":1, "product_name":"产品名称", "product_content":"产品内容", "product_price":125.00, "price":125.00, "order_status":0, "order_status_name":"待付款", "sample_size":2, "bar_code":"xxx0001、xxxx02", "payment_method":2, "payment_method_str":"月结", "is_rep_report":false, "is_can_edit":false, "is_can_cancel":false, "is_can_delete":false, "is_can_payment":false, "is_can_refund":false, "class_id":"12", "class_name":"院感", "is_hospital_infection_order":false, "rep_report_list":[ { "bar_code":"xxx0012", "is_rep_report":false, "rep_url":"" } ], "containers_list":[ { "id":1, "bar_code":"绑定条码号", "img_url":"http://xxx", "name":"容器1", "notes":"注意事项", "specimen_type":1, "specimen_type_name":"血液", "com_id":"10716", "com_name":"心肌酶四项", "samp_sam_id":"11781", "samp_sam_name":"血清", "is_rep_report":false, "rep_url":"" } ] }, { "institution_id":1, "order_id":1, "name":"姓名", "phone":"", "address":"", "is_hospital_infection_order":true, "is_can_appointment":true, "is_can_alter_appointment":false, "appointment_time":"", "request_date":"申请日期", "sampler":"采样人", "sampling_date":"采样时间", "product_id":1, "product_name":"产品名称", "product_content":"产品内容", "product_price":125.00, "price":125.00, "order_status":0, "order_status_name":"待付款", "sample_size":2, "bar_code":"xxx0001、xxxx02", "payment_method":2, "payment_method_str":"月结", "is_rep_report":false, "is_can_edit":false, "is_can_cancel":false, "is_can_delete":false, "is_can_payment":false, "is_can_refund":false, "class_id":"12", "class_name":"院感", "rep_report_list":[ { "bar_code":"xxx0012", "is_rep_report":false, "rep_url":"" } ], "time_frame_list":[{"what_day":1,"time_type":0},{"what_day":7,"time_type":1}], "containers_list":[ { "id":1, "bar_code":"绑定条码号", "img_url":"http://xxx", "name":"容器1", "notes":"注意事项", "specimen_type":1, "specimen_type_name":"血液", "com_id":"10716", "com_name":"心肌酶四项", "samp_sam_id":"11781", "samp_sam_name":"血清", "is_rep_report":false, "sampling_site":"", "rep_url":"" } ] } ], "total":10 }, "ret": 0, "err_code": 0, "msg": "ok" } ``` >i 注:ret = 0 为成功 ## 失败返回示例 ```language { "ret": 4, "msg": "参数不能为空", "err_code": 10008 } ``` >d 注:ret > 0 为失败 ## 错误编号(errCode):

响应参数-新

参数名
类型
描述
必填
ret
number
示例:0
必填
err_code
number
示例:0
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
id
number
示例:10003
必填
name
string
示例:七分裤
必填
comment_count
number
示例:0
必填
sale_count
number
示例:0
必填
subtitle
string
示例:甚至三厢一非顶不可在末枯要
必填
service_list
array
数据列表
必填
name
string
示例:7天包退
必填
content
string
示例:7天包退7天包退
必填
attributes
array
数据列表
必填
name
string
示例:一箱
必填
content
string
示例:24包
必填
album
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1572417096.mp4
必填
poster
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728088.jpg
必填
type
number
示例:2
必填
pic_info
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728095.jpg
必填
poster
string
示例:
必填
type
number
示例:1
必填
product
object
数据字典
必填
index
number
示例:0
必填
price
number
示例:100
必填
market_price
number
示例:120
必填
stock
number
示例:0
必填
specs_list
array
数据列表
必填
goods_activities
array
数据列表
必填
tj_titel
string
示例:
必填
tj_content
string
示例:
必填