- 登录
- 字典
- 区划
- 文件上传
- 大文件上传
- 农业物候
- 耕作制度
- 数据源管理
- 算法模型管理
- 在线 解译(旧)
- 在线解译(新)
- 预览(新)
- 成果管理
- 在线检索
- 格网
- 标签管理
- 样本管理导入
- 样本管理动态切片
- 样本管理
- 样本管理(工作空间临时表)
- 样本图层(工作空间图层)
- 栅格渲染方案
- 工作空间
- 定时任务
- 哨兵L3A合成
- 光谱建库任务
- 解译
- 解译(成果合并)
- 影像镶嵌
- 镶嵌任务
- 遥感指数计算
- 样本集
- 样本集新接口
- 模型库
- 种植属性监测
- 撂荒地监测
- 非粮化
- 非农化
- 模型训练
- 模型发布
- 任务管理
- 样本集 Copy
- 监控模块
- 图斑规则化
- 耕地保护一张图
- 耕地预警
新增作物
POST
http://gykj123.cn:9000/middleground-rsanalysis-knowledge/api/v1/crop
最后修改时间:2023-01-13 01:31:19
责任人:未设置
请求参数
Header 参数
token
string
可选
默认值:
{{access_token}}
Body 参数application/json
crop
object
必需
cropCode
string
必需
cropName
string
必需
briefIntroduction
string
必需
shapeCharacter
string
必需
spectrumCharacter
string
必需
mainProductionArea
string
必需
description
string
必需
cropPeriodList
array [object {4}]
必需
periodCode
string
必需
periodName
string
必需
description
string
必需
sort
integer
必需
示例
{
"crop": {
"cropCode": "07",
"cropName": "冬小麦",
"briefIntroduction": "简介",
"shapeCharacter": "形态特征",
"spectrumCharacter": "光谱特征",
"mainProductionArea": "主产区",
"description": "备注"
},
"cropPeriodList": [
{
"periodCode": "1",
"periodName": "分蘖期",
"description": "描述",
"sort": 1
},
{
"periodCode": "2",
"periodName": "返青期",
"description": "描述",
"sort": 2
}
]
}
示例代码
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://gykj123.cn:9000/middleground-rsanalysis-knowledge/api/v1/crop' \
--header 'token: {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"crop": {
"cropCode": "07",
"cropName": "冬小麦",
"briefIntroduction": "简介",
"shapeCharacter": "形态特征",
"spectrumCharacter": "光谱特征",
"mainProductionArea": "主产区",
"description": "备注"
},
"cropPeriodList": [
{
"periodCode": "1",
"periodName": "分蘖期",
"description": "描述",
"sort": 1
},
{
"periodCode": "2",
"periodName": "返青期",
"description": "描述",
"sort": 2
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}