查询辨识对象(API名称:queryJobObjectList)
功能介绍
该接口用于查询辨识对象(即作业对象)列表。
URL
|
请求方式 |
HTTPS地址 |
消息体类型 |
|---|---|---|
|
POST |
https://AppCube域名/service/ISDP__SecurityRiskBO/1.0.1/queryJobObjectList |
application/json |
请求头
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
String |
是 |
请求体内容类型。 填写为:application/json |
|
access-token |
String |
是 |
调用API要用到的访问令牌,获取access_token中获取的access_token的值。 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
pageStart |
Number |
是 |
查询起始页 |
|
pageSize |
Number |
是 |
查询条数,取值范围:1~200 |
|
siteCode |
String |
否 |
作业对象编码,右模糊查询 |
|
siteName |
String |
否 |
作业对象名称,模糊搜索 |
|
siteType |
String |
否 |
作业对象类型,精确搜索 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
resCode |
String |
响应状态码
|
|
resMsg |
String |
响应描述,如果成功状态,通常会返回“成功”,其他情况返回具体的错误信息 |
|
result |
Object |
响应结果内容 |
result参数说明
|
参数 |
类型 |
描述 |
|---|---|---|
|
jobObjectList |
Object |
作业对象列表 |
|
totalCount |
Number |
查询结果总数 |
请求示例
{
"pageStart":0,
"pageSize":2,
"siteCode":"作业对象44",
"siteName":"",
"siteType":""
}
响应示例
{
"resCode": "0",
"resMsg": "成功",
"result": {
"jobObjectList": [
{
"appName": "basedata-server",
"childCount": 0,
"city": null,
"cityId": null,
"coordinate": null,
"country": null,
"countryId": null,
"createName": "XXX",
"createdBy": 467935,
"creationDate": "2022-10-25T09:18:04.000+00:00",
"creationTimestamp": 1666689483286,
"customerId": null,
"customerName": null,
"deleteFlag": 0,
"deviceId": null,
"deviceTypeId": null,
"entityName": "taskObject",
"geoHash": null,
"groupName": "通用",
"groupNamePathList": [
"通用"
],
"groupPath": "3446",
"groupPathName": "通用",
"lastUpdateDate": "2022-10-25T09:18:04.000+00:00",
"lastUpdateName": "XXX",
"lastUpdateTimestamp": 1666689483286,
"lastUpdatedBy": 467935,
"latitude": "",
"longitude": "",
"mappingOrgId": null,
"orgFlag": "0",
"orgId": null,
"orgPath": null,
"ownerGroupId": null,
"ownerGroupName": null,
"ownerIds": "",
"ownerNames": null,
"positionSystem": "",
"projectName": null,
"projectNo": "",
"province": null,
"provinceId": null,
"regionId": null,
"regionPath": null,
"secret": "0",
"signSiteAddress": "",
"signSiteCode": "作业对象44",
"signSiteId": 99052390,
"signSiteLevel": null,
"signSiteName": "作业对象44",
"signSiteParentId": null,
"signSiteSource": "1",
"signSiteType": "",
"signSiteTypeCode": null,
"supplierId": null,
"supplierName": null,
"taskObjectGroupId": 3446,
"tenantId": 1745,
"tenantName": null,
"udfExtend1": null,
"udfExtend10": null,
"udfExtend2": null,
"udfExtend3": null,
"udfExtend4": null,
"udfExtend5": null,
"udfExtend6": null,
"udfExtend7": null,
"udfExtend8": null,
"udfExtend9": null
}
],
"totalCount": 1
}
}
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。