文档
测试

获取可申请发票商品订单列表

POST
GetProductOrderListForInvoice

接口描述

获取可申请发票商品订单列表

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
index
number
页码 默认1
必填
size
number
每页数量 默认100 ,注如果输入大于等于1000表示获取全问题
必填
key
string
关键字 可为空
可选

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
array
数据列表
必填
is_charge
int
是否收费 【 0未设置 1免费 2收费 】 示例:2
必填
idtype
int
证件类型 【1身份证号 2回乡证 3港奥通行证 4护照】 示例:1
必填
state
int
状态 【0预约成功|1已签到|2预约过期|3预约成功,已支付|4已出报告|5退款申请中|6退款申请通过|7退款申请驳回|8完成退款|9已取消】 示例:1
必填
pe_centre_id
int
体检中心ID 示例:1
必填
member_id
int
会员ID 示例:100001
必填
id
int
预约ID 示例:1
必填
name
string
姓名 示例:王老五
必填
id_no
string
证件号 示例:430545198605010000
必填
idtype_name
string
证件类型名称 示例:身份证号
必填
phone
string
手机号 示例:15626956789
必填
pe_centre_name
string
体检中心名称 示例:唐家xx2号点
必填
reservation_date
string
预约日期
必填
is_report
bool
是否已出报告 [true(有报告) false(未出报告)]
必填
price
number
支付金额, 免费为0
必填
is_can_refund
bool
是否可退款
必填
rejected
string
退款驳回罪原因
必填
pe_centre_phone
string
体检中心联系电话
必填
is_can_invoice
bool
是否可申请发票
必填
invoice_apply_status
number
申请发票状态 【0无 1申请中 2申请通过 3申请驳回 4开票完成 5开票失败】
必填
invoice_pdf
string
开票完成后,返回发票PDF链接,其他状态返回空字符
必填
invoice_apply_status_str
string
申请发票状态说明,如 【已申请,待审核。 | 申请通过,开票中。|开票完成。|开票失败,原因:...】
必填
pay_type
number
支付类型(数值)
必填
pay_type_name
string
支付类型(类型名称)
必填
is_can_delete
bool
是否可删除
必填
lon
int
采集点经度坐标
必填
lat
int
采集点纬度坐标
必填
check_item
string
检查项目
必填
pdf_url
string
PDF报告链接
必填
is_can_edit
bool
是否可编辑
必填
is_can_cancel
bool
是否可取消
必填
task_type
number
任务类型 0 默认 101核酸任务采集(默认) 201其他任务采集类型 301商品预约 302商品自检
必填
class_id
number
检验项目ID 1核酸检测 2肝炎检测
必填
class_name
string
检验项目名称
必填
sales_method
number
销售模式 【2自检不出报告、3自检并实验室出报告】
必填
product_id
string
商品ID
必填
product_name
string
商品名称
必填
product_url
string
商品图片
必填
quantity
string
数量
必填
product_price
string
商品单价
必填
remark
string
备注
必填
total_quantity
string
总数量
必填
total_price
string
总价格
必填
total
number
总数量
必填
ret
int
示例:0
必填
err_code
int
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 https://xxxx.com/WebServiceForDoctor.asmx ## 成功返回示例 新 ```language { "data": { "total": 1, "list": [{ "is_can_delete": true, "is_can_invoice":true, "invoice_apply_status":0, "invoice_pdf":"", "is_can_refund":true, "rejected":"", "pe_centre_phone":"", "is_charge": 2, "idtype": 1, "state": 1, "pe_centre_id": 1, "member_id": 100001, "id": 1, "name": "王老五", "id_no": "430545198605010000", "idtype_name": "身份证号", "check_item": "检查项目", "is_report":true, "phone": "15626956789", "reservation_date": "2020-05-20 22:10:44", "pe_centre_name": "唐家xx2号点", "price":75, "lon": 0.00000, "lat": 0.00000, "string": "PDF报告链接", "task_type": 201, "class_id": 2, "class_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
示例:
必填