- 接口变更记录
- 开发前准备
- 请求签名鉴权方式
- OAuth2.0鉴权方式
- 常见问题速查
- 接入
- 公共数据获取
- 系统管理接口
- 患者档案相关
- CRM
- 会员
- HIS
- 外加工
- 进销存
- OA审批
- 渠道管理
- 三方平台
获取会员已领取优惠券列表
开发中
GET
/api/anon/openapi/vip/coupon/patient/own
最后修改时间:2022-09-13 15:17:06
责任人:肖工
请求参数
Query 参数
patientID
integer
患者id
Header 参数
FRHis-Open-Timestamp
string
必需
示例值:
{% mock 'timestamp' %}
FRHis-Open-App-Id
string
必需
示例值:
{{appid}}
FRHis-Open-Token
string
必需
示例值:
{{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/anon/openapi/vip/coupon/patient/own?patientID' \
--header 'FRHis-Open-Timestamp: {% mock '\''timestamp'\'' %}' \
--header 'FRHis-Open-App-Id: {{appid}}' \
--header 'FRHis-Open-Token: {{token}}'
返回响应
🟢200成功
application/json
Body
errcode
integer
状态码
errmsg
string
信息
data
array[object (会员优惠券BO) {10}]
返回结果
couponNo
string | null
优惠券编号
couponName
string
优惠券名称
amount
number
必需
amountLimit
number
必需
等于0 :视为不限制
大于0 :限制使用优惠券的起始金额
reused
boolean
必需
effectiveDate
string | null
必需
expireDate
string | null
必需
status
integer | null
必需
1=过期
2=作废
3=新券(未使用)
4=已使用
5=已转赠
memo
string | null
优惠券说明
operatorID
integer | null
必需
示例
{
"errcode": 0,
"errmsg": "string",
"data": [
{
"couponNo": "string",
"couponName": "string",
"amount": 0,
"amountLimit": 0,
"reused": true,
"effectiveDate": "string",
"expireDate": "string",
"status": 0,
"memo": "string",
"operatorID": 0
}
]
}
修改于 2022-09-13 15:17:06