简要描述:
- 查询科研系统中的项目
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | 海浪 | 2023-08-06 | null |
请求URL:
- /ky-openapi/projects
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Sign | 是 | string | 请求签名 |
请求示例:
GET /ky-openapi/projects?code=111&page=1&size=10 HTTP/1.1
Sign: a34000ad9f1c456f942acc4ffb5423ae
App-Key: 12345678
Timestamp: 1691651505
Host: xxxx.com请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| code | 否 | string | 项目编号 |
| title | 否 | string | 项目名称,模糊查询 |
返回示例:
正确时返回:
Http Status Code 返回 200
Http Response Body 返回:
{
"contents": [
{
"id": "0cf84036b50945d2a13328a53bd6680b",
"code": "111",
"title": "项目111",
"leader": "1035",
"leaderName": "科研人员03",
"department": "技术部",
"projectType": "横向科研项目",
"projectLevel": "国家级",
"projectSourceAffiliation": "国家自然科学基金委员会",
"projectClassification": "面上项目",
"year": 2023,
"committer": 1035,
"committerName": "科研人员03",
"committedAt": "2023-07-14T08:40:44Z",
"startDatetime": "2023-07-31T16:00:00Z",
"endDatetime": "2023-08-30T16:00:00Z"
}
],
"totalElements": 1,
"size": 10,
"page": 1
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | string | 项目id |
| code | string | 项目编号 |
| title | string | 项目名称 |
| leader | string | 负责人工号 |
| leaderName | string | 负责人姓名 |
| department | string | 负责人所属部门 |
| startDatetime | string | 项目开始时间,UTC |
| endDatetime | string | 项目结束时间,UTC |
| projectType | string | 项目类型,(“纵向科研项目”或“横向科研项目”) |
| projectLevel | string | 项目级别 |
| projectSourceAffiliation | string | 项目来源 |
| projectClassification | string | 项目分类 |
| year | Integer | 立项年度 |
| committer | string | 提交人工号 |
| committerName | string | 提交人姓名 |
| committedAt | string | 提交时间,UTC |
错误时返回:
查看公共响应
备注:
- 更多返回错误代码请看错误代码描述
作者:admin 创建时间:2023-08-09 17:11
最后编辑:Lin 更新时间:2025-01-23 09:40
最后编辑:Lin 更新时间:2025-01-23 09:40