云服务器内容精选

  • 请求示例 { "page": { "count": 15, "start": 0 }, "siteName": "作业对象名", "siteCode": "作业对象", "siteType": "屋顶站", "addressIdList": [ 1349762, 13497681, 1349870 ], "startDate": "2022-01-18 00:00:00", "endDate": "2022-04-18 23:59:59" }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "signSiteId": 9911276271, "customerName": null, "tenantId": 100846, "tenantName": null, "projectNo": "", "projectName": null, "signSiteCode": "作业对象编码", "signSiteName": "作业对象名称", "signSiteSource": "1", "signSiteType": "屋顶站", "longitude": "0**.**", "latitude": "0**.**", "country": "中国", "province": "XX省", "city": "XX市", "district": null, "town": null, "signSiteAddress": "******", "contactPerson": null, "contactNumber": null, "status": null, "deleteFlag": 0, "createdBy": 223394, "creationDate": "2022-04-18T05:27:45.000+00:00", "lastUpdatedBy": 223394, "lastUpdateDate": "2022-04-18T05:42:15.000+00:00", "appName": "basedata-server", "entityName": "taskObject", "creationTimestamp": 1650259665322, "lastUpdateTimestamp": 1650260534803, "countryId": 1349762, "provinceId": 1349768, "cityId": 1349870, "createName": "133XXXX1010", "lastUpdateName": "133XXXX1010", "udfExtend1": null, "udfExtend2": null, "udfExtend3": null, "udfExtend4": null, "udfExtend7": null, "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "secret": "0", "geoHash": "7zzzzzzz", "customerId": null, "supplierId": null, "supplierName": null, "ownerIds": "", "ownerNames": null, "ownerGroupId": null, "ownerGroupName": null, "orgId": 112645, "orgName": "133XXXX1010" } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
  • 响应参数 参数 类型 描述 status String 处理结果(0代表success) errorMessage String 错误消息 data Object 返回结果 data出参: 字段名 字段名称 示例 signSiteId 作业对象主键id 9911276271, customerName 客户名称 null, tenantId 租户id 100846, tenantName 租户名称 null, projectNo 项目编码 - projectName 项目名称 null, signSiteCode 作业对象编码 作业对象编码 signSiteName 作业对象名称 作业对象名称 signSiteSource 作业对象来源 1 signSiteType 作业对象类型 屋顶站 longitude 经度 0**.** latitude 纬度 0**.** country 国家 中国 province 省份 XX省 city 城市 XX市 district 区 null, town 镇 null, signSiteAddress 详细地址 ****** contactPerson 联系人 null, contactNumber 联系电话 null, status 状态(预留字段) null, deleteFlag 删除标识 0, createdBy 创建人id 223394, creationDate 创建时间 2022-04-18T05:27:45.000+00:00 lastUpdatedBy 最后更新人 223394, lastUpdateDate 最后更新时间 2022-04-18T05:42:15.000+00:00 appName 应用名称 basedata-server entityName 实体名称 taskObject creationTimestamp 创建时间对应的毫秒数 1650259665322, lastUpdateTimestamp 最后一次更新时间对应的毫秒数 1650260534803, countryId 国家id 1349762, provinceId 省份id 1349768, cityId 城市id 1349870, createName 创建人名称 133XXXX1010 lastUpdateName 更新人名称 133XXXX1010 udfExtend1 扩展字段 null, udfExtend2 扩展字段 null, udfExtend3 扩展字段 null, udfExtend4 扩展字段 null, udfExtend7 扩展字段 null, udfExtend8 扩展字段 null, udfExtend9 扩展字段 null, udfExtend10 扩展字段 null, secret 是否敏感 0 geoHash 经纬度对应geoHash 7zzzzzzz customerId 客户id null, supplierId 供应商id null, supplierName 供应商名称 null, ownerIds 责任人ID,多个用英文逗号隔开 ownerNames 责任人群组id null, ownerGroupId 责任人群组名称 null, ownerGroupName 责任人名称,多个用英文逗号隔开 null, orgId 所属行政组织 112645, orgName 行政组织名称 133XXXX1010"
  • 请求参数 参数 类型 是否必填 描述 page. count Int 是 每页条数 page. start Int 是 起始条数 siteName String 否 作业对象名称(新增时必填) siteCode String 否 作业对象编码(新增时必填) siteType String 否 作业对象类型 addressIdList Array 否 行政区域 startDate data 否 开始时间 endDate data 否 结束时间 udfExtend[1-10] 除udfExtend5和 udfExtend6为date类型,其他为String类型 否 扩展字段1-10 ownerIds String 否 责任人ID,多个ID用英文逗号隔开
  • 请求参数 参数 类型 是否必填 描述 longitude string 是 经度 latitude string 是 纬度 distance integer 否 距离(米), 最多50000, 不存默认10000 siteName string 否 作业对象名称 groupIdList array[long] 否 作业对象分组id数组(最多支持200个id) groupIncludeChild boolean 否 是否包含下层分组的数据(为true时groupIdLis数组长度只能为1) signSiteParentId long 否 作业对象父节点id page.start integer 否 分页起点 page.count integer 否 一页显示数量 orgId array[long] 否 组织单元id数组(最多支持200个id) orgIncludeChild boolean 否 是否包含下层组织单元的数据(为true时orgId数组长度只能为1) addressIds string 否 行政区域id路径,用英文逗号路径隔开,例如: 1000,1001,1002 mode string 否 支持list和map,不传默认list,为map时排除超过distance的数据 deviceId string 否 设备id customerId long 否 客户id supplierId long 否 供应商id
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "signSiteId": 99053449, "customerName": "客户名称", "tenantId": 51678, "tenantName": null, "projectNo": "166755315906451678;tstteste1107", "projectName": "数据飞升1;没有行政区域", "signSiteCode": "fsefwefwewew", "signSiteName": "测试test315", "signSiteSource": "1", "signSiteType": "屋顶站", "signSiteTypeCode": "3", "signSiteLevel": null, "signSiteParentId": null, "longitude": "113.986606", "latitude": "22.670707", "country": "中国", "province": null, "city": null, "signSiteAddress": "******", "deleteFlag": 0, "createdBy": 234159, "creationDate": "2022-11-04T06:30:09.000+00:00", "lastUpdatedBy": 234159, "lastUpdateDate": "2023-03-15T02:02:53.000+00:00", "creationTimestamp": 1667543409629, "lastUpdateTimestamp": 1678845772720, "appName": "basedata-server", "entityName": "taskObject", "countryId": 1024531, "provinceId": null, "cityId": null, "createName": "155xxxx5678", "lastUpdateName": "155xxxx5678", "udfExtend1": "test", "udfExtend2": "123", "udfExtend3": "3", "udfExtend4": "", "udfExtend5": null, "udfExtend6": "2023-03-29T16:00:00.000+00:00", "udfExtend7": "自定义扩展属性7", "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "secret": "0", "geoHash": "ws10cz4d", "customerId": 275298, "supplierId": 296511, "supplierName": "供应商名称", "ownerIds": "1208239", "ownerNames": "131xxxx9888", "ownerGroupId": null, "ownerGroupName": null, "orgId": 98995196, "regionPath": "1024531", "regionId": 1024531, "orgPath": "-1.98995162.98995194.98995196", "orgFlag": "0", "positionSystem": "GPS", "taskObjectGroupId": 6731, "mappingOrgId": null, "deviceId": null, "deviceTypeId": null, "coordinate": "12,123.24,2541", "groupName": "通用", "groupPath": "6731", "distance": 1, "childCount": 0, "regionPathName": "中国", "regionNamePathList": [ "中国" ], "regionName": "中国" } ], "totalCount": 1 } }
  • 请求示例 { "longitude":"113.9866", "latitude": "22.6707", "distance":20000, "mode":"", "siteName":"", "groupIdList":[], "groupIncludeChild":"", "signSiteParentId":"", "orgId":null, "orgIncludeChild":"", "addressIds":"", "deviceId":"", "customerId":"", "supplierId":"", "page":{"count":15,"start":0} }