文档
测试

获取机构院感订单信息

POST
GetReceiptHospitalInfectionOrderInfoForInstitution

接口描述

获取机构院感订单信息

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
lab_id
number
实验室ID 114
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
receipt_id
number
签收单ID
必填
order_id
number
订单ID
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
receipt_id
int
签收单ID 示例:1
必填
institution_id
int
机构ID 示例:1
必填
order_id
int
订单ID 示例:1
必填
name
string
联系人姓名 示例:姓名
必填
phone
string
联系电话 示例:
必填
address
string
配送地址 示例:
必填
is_hospital_infection_order
bool
是否院感订单 可以判断是调用【获取机构订单信息】还是【获取机构院感订单信息】
必填
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
必填
order_status_name
string
订单状态名称 示例:待付款
必填
sample_size
int
样本数量 示例:2
必填
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
采样地点
必填
items_list
array
数据列表 检测项目例表
必填
item_id
int
检测项目ID 示例:1
必填
item_name
string
检测项目名称 示例:检测项目
必填
payment_method
int
结算方式 1现结 2月结
必填
payment_method_str
string
结算方式名称 现结 、月结
必填
created_payment_date
string
下单时间
必填
payment_date
string
支付时间j
必填
refund_succeed
int
退款成功状态 0未申请 1退款完成 2退款失败
必填
refund_succeed_str
string
退款成功状态名称
必填
request_refund_date
string
申请退款时间
必填
refund_date
string
退款完成时间
必填
rejected
string
退款失败 原因
必填
is_can_edit
bool
是否可编辑
必填
is_can_cancel
bool
是否可取消
必填
is_can_delete
bool
是否可删除
必填
is_can_payment
bool
是否可支付
必填
is_can_refund
bool
是否可退款
必填
class_id
string
产品分类ID 12院感 示例:12
必填
class_name
string
产品分类名称 示例:院感
必填
time_frame_list
array
预约上门收单时间范围
必填
what_day
int
星期几 如:1 (1一 2二 3三 4四 5五 6六 7七)
必填
time_type
int
时间范围 如:0(0上午和下午 1上午 2下午)
必填
ret
int
示例:0
必填
err_code
int
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 https://xxxx.com/WebServiceForDoctor.asmx ## 成功返回示例 新 ```language { "data": { "receipt_id":1, "institution_id":1, "order_id":1, "name":"姓名", "phone":"", "address":"", "is_hospital_infection_order":true, "is_can_appointment":true, "is_can_alter_appointment":false, "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, "payment_method":2, "payment_method_str":"月结", "created_payment_date":"", "payment_date":"", "refund_succeed":0, "refund_succeed_str":"未申请", "request_refund_date":"", "refund_date":"", "rejected":"", "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":"院感", "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, "rep_url":"" } ], "items_list":[ { "item_id":1, "item_name":"检测项目" } ] }, "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
示例:
必填