- 销售端
- 每日打卡
- 申请记录
- 唤发服务2025
- 个人中心
- 唤发服务
- 健康检查
- soap
- 销售端2025
- 短信
- 用户
- 个人信息
- 登录
- 系统设置
- 客户端2025
销售代表创建唤发服务2025
POST
/sale/hair_service/create
销售端2025
请求参数
Body 参数application/json
consultation_date
string
首诊日期
consultation_duration
string
首诊时间阶段
customer_id
string
客户ID
doctor_id
string
医生ID
drug_purchase_receipt_photo
string
药品购买收据照片
forehead_photo
string
前额照片
head_left_photo
string
左侧头像照片
head_photo
string
头像照片
head_right_photo
string
右侧头像照片
purchase_address
string
购药详细地点
purchase_address_code
string
可选
time_buying
string
药品购买时间
user_id
string
必需
示例
{
"consultation_date": "string",
"consultation_duration": "string",
"customer_id": "string",
"doctor_id": "string",
"drug_purchase_receipt_photo": "string",
"forehead_photo": "string",
"head_left_photo": "string",
"head_photo": "string",
"head_right_photo": "string",
"purchase_address": "string",
"purchase_address_code": "string",
"time_buying": "string",
"user_id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://test-cn.your-api-server.com/sale/hair_service/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"consultation_date": "string",
"consultation_duration": "string",
"customer_id": "string",
"doctor_id": "string",
"drug_purchase_receipt_photo": "string",
"forehead_photo": "string",
"head_left_photo": "string",
"head_photo": "string",
"head_right_photo": "string",
"purchase_address": "string",
"purchase_address_code": "string",
"time_buying": "string",
"user_id": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
示例值:
0
data
数据
msg
string
消息
示例值:
ok
示例
{
"code": 0,
"data": null,
"msg": "ok"
}
🟠400请求有误
🟠401没有权限