文档首页/ ISDP/ API参考/ API接口/ 作业对象管理/ 查找作业对象相关字段(API名称:findTaskObjectField)
更新时间:2024-05-21 GMT+08:00
分享

查找作业对象相关字段(API名称:findTaskObjectField)

功能介绍

查找作业对象设置显示的基础字段,扩展属性字段, 包括字段名称,类

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openApi/v1/taskObject/findTaskObjectField

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

响应参数

参数

类型

描述

status

string

接口是否成功信息

msg

string

提示信息

data

array

响应结果json对象数组

failed

boolean

失败

sccess

boolean

成功

响应参数data包含的属性

参数

类型

描述

fieldname

string

属性名

required

string

属性是否是必需的

title

array

作业对象属性描述

isExtendField

boolean

是否是扩展字段

configType

boolean

配置类型

parentKey

string

父属性key

enumList

array

属性是枚举时,枚举列表值

visible

boolean

属性是否可见

请求示例

 {}

响应示例

{
    "status": "success",
    "msg": null,
    "data": [
        {
            "fieldName": "projectNo",
            "required": false,
            "title": "项目编码",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "projectName",
            "required": false,
            "title": "项目名称",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "signSiteCode",
            "required": true,
            "title": "作业对象编码",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "signSiteName",
            "required": true,
            "title": "作业对象名称",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "signSiteType",
            "required": false,
            "title": "位置类型",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "longitude",
            "required": false,
            "title": "经度",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": false
        },
        {
            "fieldName": "latitude",
            "required": false,
            "title": "纬度",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": false
        },
        {
            "fieldName": "signSiteAddress",
            "required": false,
            "title": "详细地址",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "orgId",
            "required": false,
            "title": "所属组织",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "ownerNames",
            "required": false,
            "title": "责任人",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "supplierName",
            "required": false,
            "title": "供应商",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "customerName",
            "required": false,
            "title": "客户",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "regionId",
            "required": false,
            "title": "区域位置",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "positionSystem",
            "required": false,
            "title": "定位系统类型",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "taskObjectGroupId",
            "required": false,
            "title": "作业对象分组",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "signSiteParentId",
            "required": false,
            "title": "上级作业对象",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": false
        },
        {
            "fieldName": "coordinate",
            "required": false,
            "title": "位置坐标",
            "isExtendField": false,
            "configType": null,
            "parentKey": null,
            "enumList": null,
            "visible": true
        },
        {
            "fieldName": "udfExtend1",
            "required": true,
            "title": "自定义扩展属性1",
            "isExtendField": true,
            "configType": "AuiInput",
            "parentKey": null,
            "enumList": [],
            "visible": true
        },
        {
            "fieldName": "udfExtend2",
            "required": true,
            "title": "自定义扩展属性2",
            "isExtendField": true,
            "configType": "AuiSelectCustom",
            "parentKey": "",
            "enumList": [
                "a",
                "b"
            ],
            "visible": true
        },
        {
            "fieldName": "udfExtend3",
            "required": false,
            "title": "自定义扩展属性3",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend4",
            "required": false,
            "title": "自定义扩展属性4",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend5",
            "required": false,
            "title": "自定义扩展属性5",
            "isExtendField": true,
            "configType": "AuiDatePicker",
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend6",
            "required": false,
            "title": "自定义扩展属性6",
            "isExtendField": true,
            "configType": "AuiDatePicker",
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend7",
            "required": false,
            "title": "自定义扩展属性7",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend8",
            "required": false,
            "title": "自定义扩展属性8",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend9",
            "required": false,
            "title": "自定义扩展属性9",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        },
        {
            "fieldName": "udfExtend10",
            "required": false,
            "title": "自定义扩展属性10",
            "isExtendField": true,
            "configType": null,
            "parentKey": null,
            "enumList": [],
            "visible": false
        }
    ],
    "success": true,
    "failed": false
}

相关文档