HTTP/HTTPS
Protocol
YesDev / Mobile\ / 添加新备注
添加新备注
API Url:http://test.www.yesdev.cn/api/mobile.php?s=Mobile.Notes_Note.CreateNewNote
API Description: 添加新备注
API Parameters
| Parameter Name | Type | Is Required | Default | Note | Description |
|---|---|---|---|---|---|
| access_token | 字符串 | Optional | 访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口 | ||
| app_key | 字符串 | Optional | app_key,团队代码 | ||
| sign | 字符串 | Optional | - | 动态签名,签名算法请联系我们技术客服获取 | |
| note_content | 字符串 | Required | - | min: 1 | 备注,支持富文本 |
| project_id | 整型 | Optional | 0 | 项目ID | |
| need_id | 整型 | Optional | 0 | 需求ID | |
| bug_id | 整型 | Optional | 0 | 问题ID | |
| problem_id | 整型 | Optional | 0 | 问题ID | |
| task_id | 整型 | Optional | 0 | 任务id | |
| test_case_id | 整型 | Optional | 0 | 测试用例id | |
| test_plan_id | 整型 | Optional | 0 | 测试计划id | |
| document_id | 整型 | Optional | 0 | 文档id | |
| from_channel | 字符串 | Optional | 来源,项目:detail_in_PROJECT,任务:detail_in_TASK | ||
| notice_staff_ids | 字符串 | Optional | 通知成员消息 | ||
| customer_id | 整型 | Optional | 0 | 客户ID |
Return Field
| Response Result | Type | Description |
|---|---|---|
| ret | int | status code, 200 is ok, 4xx is bad request, 5xx is server inside error |
| data | object/mixed | business data, decided by API implementation |
| data.id | 整型 | 新增的备注ID |
| msg | string | message, usually error message |
Test Online
| Parameter | Is Required | Value |
|---|---|---|
| service | Required | |
| access_token | Optional | |
| app_key | Optional | |
| sign | Optional | |
| note_content | Required | |
| project_id | Optional | |
| need_id | Optional | |
| bug_id | Optional | |
| problem_id | Optional | |
| task_id | Optional | |
| test_case_id | Optional | |
| test_plan_id | Optional | |
| document_id | Optional | |
| from_channel | Optional | |
| notice_staff_ids | Optional | |
| customer_id | Optional |
Client Request Demo
# 暂无示例,可添加示例文件:./src/view/docs/demos/Mobile.Notes_Note.CreateNewNote.jsonError List
| Error Status | Error Description |
|---|---|
| 400 | ret=400,客户端参数错误或非法请求 |
| 404 | 表示接口服务不存在 |
| 406 | ret=406,access_token令牌校验不通过 |
| 407 | ret=407,app_key权限不足,或未知应用 |
| 408 | ret=408,当前用户禁止使用,或用户未登录 |
| 500 | 表示服务端内部错误 |
Last generated at: 2026-05-31 08:17:00 联系我们开通接入OpenAPI