作者:管理员 历史版本:1 最后编辑:龚清 更新时间:2024-11-20 15:41
根据业务对象编码版本创建数据对象
简述:
- 根据业务对象编码版本创建数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/create/dataObject
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
boCode | String | 是 | 业务对象定义编码 | ||
boVersion | String | 是 | 业务对象定义版本 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bo/instance/create/dataObject?boCode=df&boVersion=1
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"id": null,
"tenantId": null,
"curUserId": null,
"optIp": null,
"dataStatus": null,
"version": 0,
"pageVersion": 0,
"createTime": null,
"defId": "666226850036449280",
"boDef": {
"pk": "id",
"name": "地方",
"ip": null,
"createBy": "1",
"createTime": "2020-01-13 10:27:38",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850036449280",
"code": "df",
"desc": "",
"dataFormat": "json",
"version": 1,
"isMain": "N",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "654693282692988928",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850321661952",
"defId": "666226850036449280",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850325856256",
"defId": "666226850036449280",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850330050560",
"defId": "666226850036449280",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850334244864",
"defId": "666226850036449280",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850338439168",
"defId": "666226850036449280",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850342633472",
"defId": "666226850036449280",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850346827776",
"defId": "666226850036449280",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850351022080",
"defId": "666226850036449280",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850325856256",
"defId": "666226850036449280",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850330050560",
"defId": "666226850036449280",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850334244864",
"defId": "666226850036449280",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850338439168",
"defId": "666226850036449280",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850342633472",
"defId": "666226850036449280",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850346827776",
"defId": "666226850036449280",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850351022080",
"defId": "666226850036449280",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
}
],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850321661952",
"defId": "666226850036449280",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": null,
"subMap": {}
},
"attrName": null,
"saveType": "SAVE",
"saveMode": null,
"newData": null,
"initialize": false,
"data": "{}",
"formOptions": "[]",
"key": null,
"item": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
根据业务对象编码版本及数据创建数据对象
简述:
- 根据业务对象编码版本及数据创建数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/create/dataObject/data
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
boDefId | String | 是 | 业务对象定义Id |
- Body:
DataObjectVo 对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
code | String | 是 | 业务对象编码 | |
version | Integer | 是 | 业务对象版本号 | |
data | Object | 是 | 业务对象数据,json格式 |
请求参数示例:
{
"code": "df",
"data": "[{\"name\":\"tests\",\"code\":\"tests\",\"boType\":\"object\",\"dsName\":\"\",\"dsAlias\":\"\",\"tblName\":\"\",\"state\":\"new\",\"status\":\"\",\"dataFormat\":\"json\",\"pk\":\"id\",\"id\":\"58211e82-2a65-4c48-a0e8-f40476139741\",\"fk\":\"id\",\"fromAttr\":null,\"relation\":\"one2many\",\"desc\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"isMain\":\"Y\",\"isMaster\":\"Y\",\"attrs\":[{\"id\":\"3a8286ac-8d7e-45dd-9e39-6f84328f45c5\",\"name\":\"主键\",\"code\":\"id\",\"fieldName\":\"ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"4bfceeb4-0715-44c7-afb8-39a0b5eb19df\",\"name\":\"租户ID\",\"code\":\"tenantId\",\"fieldName\":\"TENANT_ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"9016c8eb-1a6c-4919-97f0-f7777c593426\",\"name\":\"IP地址\",\"code\":\"ip\",\"fieldName\":\"IP_\",\"dataType\":\"varchar\",\"attrLength\":15,\"precision\":0,\"format\":\"\"},{\"id\":\"76c2486d-8331-4dbc-972b-6cd725ad5421\",\"name\":\"创建人\",\"code\":\"createBy\",\"fieldName\":\"CREATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"2f380048-cc22-443d-a7dc-20f7efbb6e89\",\"name\":\"创建时间\",\"code\":\"createTime\",\"fieldName\":\"CREATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"},{\"id\":\"536bcc9d-0548-45e3-ac43-687cf55da7d1\",\"name\":\"更新人\",\"code\":\"updateBy\",\"fieldName\":\"UPDATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"0e51260e-159e-46d4-93dd-7d9692861300\",\"name\":\"更新时间\",\"code\":\"updateTime\",\"fieldName\":\"UPDATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"}],\"edit\":true,\"typeId\":\"\"}]",
"version": 1
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"id": null,
"tenantId": null,
"curUserId": null,
"optIp": null,
"dataStatus": null,
"version": 0,
"pageVersion": 0,
"createTime": null,
"defId": "666226850036449280",
"boDef": {
"pk": "id",
"name": "地方",
"ip": null,
"createBy": "1",
"createTime": "2020-01-13 10:27:38",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850036449280",
"code": "df",
"desc": "",
"dataFormat": "json",
"version": 1,
"isMain": "N",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "654693282692988928",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850321661952",
"defId": "666226850036449280",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850325856256",
"defId": "666226850036449280",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850330050560",
"defId": "666226850036449280",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850334244864",
"defId": "666226850036449280",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850338439168",
"defId": "666226850036449280",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850342633472",
"defId": "666226850036449280",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850346827776",
"defId": "666226850036449280",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850351022080",
"defId": "666226850036449280",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850325856256",
"defId": "666226850036449280",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850330050560",
"defId": "666226850036449280",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850334244864",
"defId": "666226850036449280",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850338439168",
"defId": "666226850036449280",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850342633472",
"defId": "666226850036449280",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850346827776",
"defId": "666226850036449280",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850351022080",
"defId": "666226850036449280",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
}
],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666226850321661952",
"defId": "666226850036449280",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": null,
"subMap": {}
},
"attrName": null,
"saveType": "SAVE",
"saveMode": null,
"newData": null,
"initialize": true,
"data": "[{\"name\":\"tests\",\"code\":\"tests\",\"boType\":\"object\",\"dsName\":\"\",\"dsAlias\":\"\",\"tblName\":\"\",\"state\":\"new\",\"status\":\"\",\"dataFormat\":\"json\",\"pk\":\"id\",\"id\":\"58211e82-2a65-4c48-a0e8-f40476139741\",\"fk\":\"id\",\"fromAttr\":null,\"relation\":\"one2many\",\"desc\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"isMain\":\"Y\",\"isMaster\":\"Y\",\"attrs\":[{\"id\":\"3a8286ac-8d7e-45dd-9e39-6f84328f45c5\",\"name\":\"主键\",\"code\":\"id\",\"fieldName\":\"ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"4bfceeb4-0715-44c7-afb8-39a0b5eb19df\",\"name\":\"租户ID\",\"code\":\"tenantId\",\"fieldName\":\"TENANT_ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"9016c8eb-1a6c-4919-97f0-f7777c593426\",\"name\":\"IP地址\",\"code\":\"ip\",\"fieldName\":\"IP_\",\"dataType\":\"varchar\",\"attrLength\":15,\"precision\":0,\"format\":\"\"},{\"id\":\"76c2486d-8331-4dbc-972b-6cd725ad5421\",\"name\":\"创建人\",\"code\":\"createBy\",\"fieldName\":\"CREATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"2f380048-cc22-443d-a7dc-20f7efbb6e89\",\"name\":\"创建时间\",\"code\":\"createTime\",\"fieldName\":\"CREATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"},{\"id\":\"536bcc9d-0548-45e3-ac43-687cf55da7d1\",\"name\":\"更新人\",\"code\":\"updateBy\",\"fieldName\":\"UPDATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"0e51260e-159e-46d4-93dd-7d9692861300\",\"name\":\"更新时间\",\"code\":\"updateTime\",\"fieldName\":\"UPDATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"}],\"edit\":true,\"typeId\":\"\"}]",
"formOptions": "[]",
"key": null,
"item": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
创建子业务对象数据对象
简述:
- 创建子业务对象数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/createSubDataObjectModel
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
boDefId | String | 是 | 业务对象定义Id |
- Body:
暂无
请求参数示例:
{
"pk": "id",
"name": "主1",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 11:31:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041257168896",
"code": "z1",
"desc": "",
"dataFormat": "json",
"version": 9,
"isMain": "Y",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {}
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"id": null,
"tenantId": null,
"curUserId": null,
"optIp": null,
"dataStatus": null,
"version": 0,
"pageVersion": 0,
"createTime": null,
"defId": "654665041257168896",
"boDef": {
"pk": "id",
"name": "主1",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 11:31:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041257168896",
"code": "z1",
"desc": "",
"dataFormat": "json",
"version": 9,
"isMain": "Y",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": "t_z1",
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041697570816",
"defId": "654665041257168896",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041743708160",
"defId": "654665041257168896",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041869537280",
"defId": "654665041257168896",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041907286016",
"defId": "654665041257168896",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041949229056",
"defId": "654665041257168896",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 5,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041986977792",
"defId": "654665041257168896",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 6,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042028920832",
"defId": "654665041257168896",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 7,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "1",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042062475264",
"defId": "654665041257168896",
"code": "1",
"desc": "1",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 8,
"fieldName": "1_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041743708160",
"defId": "654665041257168896",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041869537280",
"defId": "654665041257168896",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041907286016",
"defId": "654665041257168896",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041949229056",
"defId": "654665041257168896",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 5,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041986977792",
"defId": "654665041257168896",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 6,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042028920832",
"defId": "654665041257168896",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 7,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "1",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042062475264",
"defId": "654665041257168896",
"code": "1",
"desc": "1",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 8,
"fieldName": "1_"
}
],
"fkRelAttribute": null,
"subDefList": [
{
"pk": "id",
"name": "子2",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 11:31:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042368659456",
"code": "z2",
"desc": "",
"dataFormat": "json",
"version": 2,
"isMain": "Y",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": "t_z2",
"dsName": null,
"parentId": null,
"fk": "parentId",
"fromAttr": "id",
"relation": "one2many",
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042725175296",
"defId": "654665042368659456",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042750341120",
"defId": "654665042368659456",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042783895552",
"defId": "654665042368659456",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042813255680",
"defId": "654665042368659456",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042842615808",
"defId": "654665042368659456",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042871975936",
"defId": "654665042368659456",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042901336064",
"defId": "654665042368659456",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042934890496",
"defId": "654665042368659456",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "子2",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042964250624",
"defId": "654665042368659456",
"code": "zi2",
"desc": "子2",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "zi_2_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042783895552",
"defId": "654665042368659456",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042813255680",
"defId": "654665042368659456",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042842615808",
"defId": "654665042368659456",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042871975936",
"defId": "654665042368659456",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042901336064",
"defId": "654665042368659456",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042934890496",
"defId": "654665042368659456",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "子2",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042964250624",
"defId": "654665042368659456",
"code": "zi2",
"desc": "子2",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "zi_2_"
}
],
"fkRelAttribute": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041697570816",
"defId": "654665041257168896",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"subDefList": [],
"boDefRelList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665043119439872",
"parentId": "654665041257168896",
"subId": "654665042368659456",
"fk": "parentId",
"fromAttr": "id",
"relation": "one2many",
"path": "654665041257168896.654665042368659456"
}
],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042725175296",
"defId": "654665042368659456",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": {
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042750341120",
"defId": "654665042368659456",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
"subMap": {}
}
],
"boDefRelList": [],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041697570816",
"defId": "654665041257168896",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": null,
"subMap": {
"z2": {
"pk": "id",
"name": "子2",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 11:31:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042368659456",
"code": "z2",
"desc": "",
"dataFormat": "json",
"version": 2,
"isMain": "Y",
"boType": "object",
"isCreateTable": "N",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": "t_z2",
"dsName": null,
"parentId": null,
"fk": "parentId",
"fromAttr": "id",
"relation": "one2many",
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042725175296",
"defId": "654665042368659456",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042750341120",
"defId": "654665042368659456",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042783895552",
"defId": "654665042368659456",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042813255680",
"defId": "654665042368659456",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042842615808",
"defId": "654665042368659456",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042871975936",
"defId": "654665042368659456",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042901336064",
"defId": "654665042368659456",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042934890496",
"defId": "654665042368659456",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "子2",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042964250624",
"defId": "654665042368659456",
"code": "zi2",
"desc": "子2",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "zi_2_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042783895552",
"defId": "654665042368659456",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042813255680",
"defId": "654665042368659456",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042842615808",
"defId": "654665042368659456",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 5,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042871975936",
"defId": "654665042368659456",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 6,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042901336064",
"defId": "654665042368659456",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 7,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042934890496",
"defId": "654665042368659456",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 8,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "子2",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042964250624",
"defId": "654665042368659456",
"code": "zi2",
"desc": "子2",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "zi_2_"
}
],
"fkRelAttribute": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665041697570816",
"defId": "654665041257168896",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"subDefList": [],
"boDefRelList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665043119439872",
"parentId": "654665041257168896",
"subId": "654665042368659456",
"fk": "parentId",
"fromAttr": "id",
"relation": "one2many",
"path": "654665041257168896.654665042368659456"
}
],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042725175296",
"defId": "654665042368659456",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": {
"pk": "",
"name": "外键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654665042750341120",
"defId": "654665042368659456",
"code": "parentId",
"desc": "外键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "parent_id_"
},
"subMap": {}
}
}
},
"attrName": null,
"saveType": "SAVE",
"saveMode": null,
"newData": null,
"initialize": true,
"data": "{z1:null}",
"formOptions": "[]",
"key": null,
"item": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
读取数据对象
简述:
- 读取数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/get/adtaObject
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
bizId | String | 是 | 业务对象数据ID | ||
boCode | String | 是 | 业务对象定义编码 | ||
boVersion | integer | 是 | 业务对象定义版本 | ||
saveMode | String | 是 | 业务对象保存模式 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bo/instance/get/dataObject?bizId=656513876610777088&boCode=lxz1&boVersion=1&saveMode=table
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"id": "656513876610777088",
"tenantId": null,
"curUserId": null,
"optIp": null,
"dataStatus": null,
"version": 0,
"pageVersion": 0,
"createTime": null,
"defId": "656499210295705600",
"boDef": {
"pk": "id",
"name": "离线子1",
"ip": null,
"createBy": "1",
"createTime": "2019-12-17 14:13:29",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210295705600",
"code": "lxz1",
"desc": "",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": "t_lxz1",
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [
{
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420800",
"defId": "656499210295705600",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420801",
"defId": "656499210295705600",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420802",
"defId": "656499210295705600",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420803",
"defId": "656499210295705600",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420804",
"defId": "656499210295705600",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 5,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420805",
"defId": "656499210295705600",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 6,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420806",
"defId": "656499210295705600",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 7,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "姓名",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420807",
"defId": "656499210295705600",
"code": "xingMing",
"desc": "姓名",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 8,
"fieldName": "xing_ming_"
},
{
"pk": "",
"name": "年龄",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420808",
"defId": "656499210295705600",
"code": "nianLing",
"desc": "年龄",
"type": "base",
"dataType": "number",
"attrLength": 20,
"precision": 0,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "nian_ling_"
},
{
"pk": "",
"name": "日期",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420809",
"defId": "656499210295705600",
"code": "riQi",
"desc": "日期",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 10,
"fieldName": "ri_qi_"
},
{
"pk": "",
"name": "描述",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420810",
"defId": "656499210295705600",
"code": "miaoShu",
"desc": "描述",
"type": "base",
"dataType": "clob",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 11,
"fieldName": "miao_shu_"
}
],
"commonAttrList": [
{
"pk": "",
"name": "租户ID",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420801",
"defId": "656499210295705600",
"code": "tenantId",
"desc": "租户ID",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 2,
"fieldName": "tenant_id_"
},
{
"pk": "",
"name": "IP地址",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420802",
"defId": "656499210295705600",
"code": "ip",
"desc": "IP地址",
"type": "base",
"dataType": "varchar",
"attrLength": 15,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 3,
"fieldName": "ip_"
},
{
"pk": "",
"name": "创建人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420803",
"defId": "656499210295705600",
"code": "createBy",
"desc": "创建人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 4,
"fieldName": "create_by_"
},
{
"pk": "",
"name": "创建时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420804",
"defId": "656499210295705600",
"code": "createTime",
"desc": "创建时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 5,
"fieldName": "create_time_"
},
{
"pk": "",
"name": "更新人",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420805",
"defId": "656499210295705600",
"code": "updateBy",
"desc": "更新人",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 6,
"fieldName": "update_by_"
},
{
"pk": "",
"name": "更新时间",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420806",
"defId": "656499210295705600",
"code": "updateTime",
"desc": "更新时间",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd HH:mm:ss",
"isNull": "Y",
"sn": 7,
"fieldName": "update_time_"
},
{
"pk": "",
"name": "姓名",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420807",
"defId": "656499210295705600",
"code": "xingMing",
"desc": "姓名",
"type": "base",
"dataType": "varchar",
"attrLength": 200,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 8,
"fieldName": "xing_ming_"
},
{
"pk": "",
"name": "年龄",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420808",
"defId": "656499210295705600",
"code": "nianLing",
"desc": "年龄",
"type": "base",
"dataType": "number",
"attrLength": 20,
"precision": 0,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 9,
"fieldName": "nian_ling_"
},
{
"pk": "",
"name": "日期",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420809",
"defId": "656499210295705600",
"code": "riQi",
"desc": "日期",
"type": "base",
"dataType": "date",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 10,
"fieldName": "ri_qi_"
},
{
"pk": "",
"name": "描述",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420810",
"defId": "656499210295705600",
"code": "miaoShu",
"desc": "描述",
"type": "base",
"dataType": "clob",
"attrLength": null,
"precision": null,
"defValue": "",
"format": "yyyy-MM-dd",
"isNull": "Y",
"sn": 11,
"fieldName": "miao_shu_"
}
],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": {
"pk": "",
"name": "主键",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656499210505420800",
"defId": "656499210295705600",
"code": "id",
"desc": "主键",
"type": "base",
"dataType": "varchar",
"attrLength": 64,
"precision": null,
"defValue": "",
"format": "",
"isNull": "Y",
"sn": 1,
"fieldName": "id_"
},
"fkAttr": null,
"subMap": {}
},
"attrName": null,
"saveType": "SAVE",
"saveMode": null,
"newData": null,
"initialize": true,
"data": "{\"createBy\":\"1\",\"createTime\":\"2019-12-17 15:11:46\",\"updateBy\":\"\",\"ip\":\"192.168.3.160\",\"tenantId\":\"\",\"miaoShu\":\"1212\",\"nianLing\":\"12\",\"updateTime\":\"\",\"riQi\":\"2019-12-23 00:00:00\",\"id\":\"656513876610777088\",\"xingMing\":\"12\"}",
"formOptions": "[]",
"key": null,
"item": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Boolean |
获取指定标识的模型
简述:
- 获取指定标识的模型
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/getDataObjectModel
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataObjectModel对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
tenantId | String | 否 | 当前租户ID | |
curUserId | String | 否 | 当前用户ID | |
optIp | String | 否 | 当前用户IP | |
dataStatus | String | 否 | 数据状态 | |
version | String | 否 | 当前记录版本号 | |
pageVersion | String | 否 | 当前记录版本号 | |
createTime | Date | 否 | 创建时间 | |
defId | String | 否 | 对象定义ID | |
boDef | BoDefPo | 否 | 对象定义 | |
attrName | String | 否 | 对应的属性名称 | |
saveType | String | 否 | bo保存方式 | |
saveMode | String | 否 | bo保存模式 | |
newData | Object | 否 | 需要合并的新数据 | |
initialize | Boolean | 否 | false | 初始化状态,所有属性只有默认值的状态 |
data | String | 否 | 数据json | |
formOptions | String | 否 | 表单json数据 | |
key | String | |||
item | DataObjectModel |
请求参数示例:
// TODO key格式待确认
{
"pk": "id",
"name": "测试数据类型",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 10:29:34",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654630921634316288",
"code": "cssjlx",
"desc": "测试数据类型",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {},
"key": ""
}
返回示例:
// TODO 待修正
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
获取指定标识的模型集合
简述:
- 获取指定标识的模型集合
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/getDataObjectModels
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataObjectModel对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
tenantId | String | 否 | 当前租户ID | |
curUserId | String | 否 | 当前用户ID | |
optIp | String | 否 | 当前用户IP | |
dataStatus | String | 否 | 数据状态 | |
version | String | 否 | 当前记录版本号 | |
pageVersion | String | 否 | 当前记录版本号 | |
createTime | Date | 否 | 创建时间 | |
defId | String | 否 | 对象定义ID | |
boDef | BoDefPo | 否 | 对象定义 | |
attrName | String | 否 | 对应的属性名称 | |
saveType | String | 否 | bo保存方式 | |
saveMode | String | 否 | bo保存模式 | |
newData | Object | 否 | 需要合并的新数据 | |
initialize | Boolean | 否 | false | 初始化状态,所有属性只有默认值的状态 |
data | String | 否 | 数据json | |
formOptions | String | 否 | 表单json数据 | |
key | String | |||
item | DataObjectModel |
请求参数示例:
// TODO key格式待确认
{
"pk": "id",
"name": "测试数据类型",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 10:29:34",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654630921634316288",
"code": "cssjlx",
"desc": "测试数据类型",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {},
"key": ""
}
返回示例:
// TODO 待修正
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< DataObjectModel > | 数据对象模型对象集合 |
合并数据对象
简述:
- 合并数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/merge
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataObjectModel对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
tenantId | String | 否 | 当前租户ID | |
curUserId | String | 否 | 当前用户ID | |
optIp | String | 否 | 当前用户IP | |
dataStatus | String | 否 | 数据状态 | |
version | String | 否 | 当前记录版本号 | |
pageVersion | String | 否 | 当前记录版本号 | |
createTime | Date | 否 | 创建时间 | |
defId | String | 否 | 对象定义ID | |
boDef | BoDefPo | 否 | 对象定义 | |
attrName | String | 否 | 对应的属性名称 | |
saveType | String | 否 | bo保存方式 | |
saveMode | String | 否 | bo保存模式 | |
newData | Object | 否 | 需要合并的新数据 | |
initialize | Boolean | 否 | false | 初始化状态,所有属性只有默认值的状态 |
data | String | 否 | 数据json | |
formOptions | String | 否 | 表单json数据 | |
key | String | |||
item | DataObjectModel |
请求参数示例:
// TODO 参数待确认
{
"pk": "id",
"name": "测试数据类型",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 10:29:34",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654630921634316288",
"code": "cssjlx",
"desc": "测试数据类型",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {},
"key": ""
}
返回示例:
// TODO 待修正
{
"state": 6060600,
"request": null,
"message": "业务对象异常",
"cause": "初始化失败,业务对象为空!",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
添加数据对象
简述:
- 添加数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/putDataObjectModel
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataObjectModel对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
tenantId | String | 否 | 当前租户ID | |
curUserId | String | 否 | 当前用户ID | |
optIp | String | 否 | 当前用户IP | |
dataStatus | String | 否 | 数据状态 | |
version | String | 否 | 当前记录版本号 | |
pageVersion | String | 否 | 当前记录版本号 | |
createTime | Date | 否 | 创建时间 | |
defId | String | 否 | 对象定义ID | |
boDef | BoDefPo | 否 | 对象定义 | |
attrName | String | 否 | 对应的属性名称 | |
saveType | String | 否 | bo保存方式 | |
saveMode | String | 否 | bo保存模式 | |
newData | Object | 否 | 需要合并的新数据 | |
initialize | Boolean | 否 | false | 初始化状态,所有属性只有默认值的状态 |
data | String | 否 | 数据json | |
formOptions | String | 否 | 表单json数据 | |
key | String | |||
item | DataObjectModel |
请求参数示例:
// TODO 格式待确认
{
"pk": "id",
"name": "测试数据类型",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 10:29:34",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654630921634316288",
"code": "cssjlx",
"desc": "测试数据类型",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {},
"key": ""
}
返回示例:
// TODO 待修正
{
"state": 6060600,
"request": null,
"message": "业务对象异常",
"cause": null,
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataObjectModel | 数据对象模型对象 |
删除数据对象
简述:
- 删除数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/remove/dataObject
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
boCode | String | 是 | 业务对象定义编码 | ||
boVersion | integer | 是 | 业务对象定义版本 | ||
ids | String[] | 是 | 业务对象数据ID集合 | ||
saveMode | String | 是 | 业务对象保存模式 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bo/instance/remove/dataObject?boCode=xxxxb&boVersion=1&ids=654630921634316288&saveMode=table
返回示例:
// TODO 待修正
{
"state": 6060600,
"request": null,
"message": "业务对象异常",
"cause": "com.lc.ibps.base.bo.persistence.entity.BoDefPo cannot be cast to java.util.Map",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存数据对象
简述:
- 保存数据对象
请求URL:
- http://ip:port/ibps/platform/v3/bo/instance/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataObjectModel对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
tenantId | String | 否 | 当前租户ID | |
curUserId | String | 否 | 当前用户ID | |
optIp | String | 否 | 当前用户IP | |
dataStatus | String | 否 | 数据状态 | |
version | String | 否 | 当前记录版本号 | |
pageVersion | String | 否 | 当前记录版本号 | |
createTime | Date | 否 | 创建时间 | |
defId | String | 否 | 对象定义ID | |
boDef | BoDefPo | 否 | 对象定义 | |
attrName | String | 否 | 对应的属性名称 | |
saveType | String | 否 | bo保存方式 | |
saveMode | String | 否 | bo保存模式 | |
newData | Object | 否 | 需要合并的新数据 | |
initialize | Boolean | 否 | false | 初始化状态,所有属性只有默认值的状态 |
data | String | 否 | 数据json | |
formOptions | String | 否 | 表单json数据 | |
key | String | |||
item | DataObjectModel |
请求参数示例:
// TODO 格式待确认
{
"pk": "id",
"name": "测试数据类型",
"ip": null,
"createBy": "654621442352087040",
"createTime": "2019-12-12 10:29:34",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654630921634316288",
"code": "cssjlx",
"desc": "测试数据类型",
"dataFormat": "json",
"version": 1,
"isMain": "Y",
"boType": "object",
"isCreateTable": "Y",
"status": "actived",
"state": "exist",
"dsAlias": "",
"typeId": "",
"options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
"saveType": "SAVE",
"versionCount": 1,
"isComb": "N",
"tblName": null,
"dsName": null,
"parentId": null,
"fk": null,
"fromAttr": null,
"relation": null,
"path": null,
"attrList": [],
"commonAttrList": [],
"fkRelAttribute": null,
"subDefList": [],
"boDefRelList": [],
"data": null,
"pkAttr": null,
"fkAttr": null,
"subMap": {},
"key": ""
}
返回示例:
// TODO 待修正
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | BoResultVo | bo结果对象 |