8007-患者端API
  1. notifications
8007-患者端API
  • departments
    • 获取所有科室
      GET
    • 根据科室ID获取医生
      GET
  • medical_records
    • 获取所有病历
      GET
    • 创建医疗记录
      POST
    • 根据病历ID获取病历详情
      GET
  • patients
    • 添加或更新就诊人
      POST
    • 更新默认就诊人
      POST
    • 编辑就诊人信息
      PUT
    • 删除就诊人
      DELETE
    • 获取就诊人列表
      GET
  • sessions
    • 获取所有会话
      GET
    • 获取问诊信息
      POST
    • 获取会话消息
      GET
    • 获取会话详情
      POST
  • users
    • 注册用户
      POST
  • appointments
    • 创建挂号
      POST
  • doctors
    • 注册医生
      POST
  • notifications
    • Send a notification message
      POST
  • Schemas
    • Schemas
      • controllers.GetMedicalRecordsResponse
      • controllers.GetSessionsResponse
      • controllers.GetMessagesResponse
      • controllers.GetMemoReq
      • models.AiDoctor
      • controllers.UpdateDefaultPatientRequest
      • controllers.GetMemoResp
      • models.Department
      • models.Function
      • models.AIDoctor
      • models.MedicalRecord
      • models.CardType
      • models.Appointment
      • models.Patient
      • models.CreateMedicalRecordRequest
      • models.Relation
      • models.FormattedMedicalRecord
      • models.Session
      • models.Gender
      • models.Notification
      • models.Doctor
      • models.User
      • models.History
      • models.InspectionExamination
      • models.MedicalHistory
      • models.Message
      • models.PatientBasicInfo
      • models.PregnancyStatus
      • models.SignatureInfo
  1. notifications

Send a notification message

POST
/send-message
Send a notification message to a specific user

Request

Body Params application/json

Example
{
    "content": "string",
    "extras": {},
    "receiver_id": "string",
    "title": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/send-message' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": "string",
    "extras": {},
    "receiver_id": "string",
    "title": "string"
}'

Responses

🟢200OK
application/json
Successfully sent notification
Body

Example
{
    "content": "string",
    "extras": {},
    "receiver_id": "string",
    "title": "string"
}
Modified at 2025-08-27 03:59:00
Previous
注册医生
Next
controllers.GetMedicalRecordsResponse
Built with