新增非遗线索

POST /api/tcc-open-platform/open-api/heritage/clue
消耗
  • application/json
生成
  • */*
参数
类型 名称 说明 类型
Body dto
必填
dto [开放平台新增非遗线索Dto]

开放平台新增非遗线索Dto

名称 说明 类型
areaName
必填
省/市/区
样例 : "广东省/广州市/天河区"
string
classifyName
必填
分类名称 string
createBy
可选
创建人
样例 : "张三"
string
createTime
可选
创建时间
样例 : "2020-12-14 00:00:00"
string (date-time)
describe
必填
详细说明 string
fileType
必填
线索材料类型:0/图片,1/音频,2/视频 integer (int32)
fileUrlList
必填
上传资料url列表,图片类型最多5个,其他1个 < string > array
inheritorAge
必填
传承人年龄 integer (int32)
inheritorName
必填
传承人 string
inheritorPhone
必填
传承人联系方式 string
inheritorSex
必填
传承人性别:0/女,1/男 integer (int32)
orgId
必填
租户id integer (int64)
supplyUser
必填
线索提供者 string
supplyUserAge
必填
线索提供人年龄 integer (int32)
supplyUserId
可选
线索提供人userId integer (int64)
supplyUserPhone
必填
线索提供者联系方式 string
supplyUserSex
必填
线索提供人性别:0/女,1/男 integer (int32)
title
必填
线索名称 string
调用示例
{
  "areaName": "广东省/广州市/天河区",
  "classifyName": "string",
  "createBy": "张三",
  "createTime": "2020-12-14 03:35:06",
  "describe": "string",
  "fileType": 0,
  "fileUrlList": [
    "string"
  ],
  "inheritorAge": 0,
  "inheritorName": "string",
  "inheritorPhone": "string",
  "inheritorSex": 0,
  "orgId": 0,
  "supplyUser": "string",
  "supplyUserAge": 0,
  "supplyUserId": 0,
  "supplyUserPhone": "string",
  "supplyUserSex": 0,
  "title": "string"
}
响应
HTTP代码 说明 类型
200 OK RestData
201 Created 无内容
401 Unauthorized 无内容
403 Forbidden 无内容
404 Not Found 无内容

响应示例

{
	"code": 200,
	"data": id(非遗线索id),
	"desc": ""
}