
# 明文查询作业对象（API名称：plaintextQuerySignSite）
#### 功能介绍
用于明文查询作业对象的接口
#### 相关接口
| **接口名称**                                                             | **调用说明**                                                     |
|:---|:---|
| [获取Token](https://support.huaweicloud.com/api-isdp/api_01_0019.html) | 调用该接口获取到Token，再调用其他接口时，需要在请求消息头中添加"Authorization"，其值即为Token。 |
| [新增作业对象](https://support.huaweicloud.com/api-isdp/api_01_0266.html)  | 需要有作业对象才可进行查询                                                |
   
#### URL
| **请求方式** | **HTTPS地址**                                                              | **服务架构** | **消息体类型**        |
|:---|:---|:---|:---|
| POST     | https://***isdp+域名***/openapi/v1/taskObjectFacede/plaintextQuerySignSite | OpenAPI  | application/json |
   
#### 请求头
| **KEY**       | VALUE                  | 是否必填 | **描述**                                                                                           |
|:---|:---|:---|:---|
| Content-Type  | application/json       | 是    | 无                                                                                                |
| Authorization | bearer ${access_token} | 是    | bearer +" "+[5.2.1](https://support.huaweicloud.com/api-isdp/api_01_0019.html)中获取的access_token的值 |
   
#### 请求参数
| **参数**        | **类型** | **是否必填** | **描述**      |
|:---|:---|:---|:---|
| page. count   | Int    | 是        | 每页条数        |
| page. start   | Int    | 是        | 起始条数        |
| siteName      | String | 否        | 作业对象名称（右模糊） |
| siteCode      | String | 否        | 作业对象编码（右模糊） |
| siteType      | String | 否        | 作业对象类型      |
| addressIdList | Array  | 否        | 行政区域        |
| orgCode       | String | 否        | 组织编码        |
| startDate     | data   | 否        | 开始时间        |
| endDate       | data   | 否        | 结束时间        |
   
#### 响应参数
| **参数**       | **类型** | **描述**           |
|:---|:---|:---|
| status       | String | 处理结果（0代表success） |
| errorMessage | String | 错误消息             |
| data         | Object | 返回结果（返回都是明文）     |
   
data出参：
|       **参数**        | **类型** |     **描述**      |
|---|---|---|
| signSiteId          | String | 作业对象主键id        |
| customerName        | String | 客户名称            |
| tenantId            | String | 租户id            |
| tenantName          | String | 租户名称            |
| projectNo           | String | 项目编码            |
| projectName         | String | 项目名称            |
| signSiteCode        | String | 作业对象编码          |
| signSiteName        | String | 作业对象名称          |
| signSiteSource      | String | 作业对象来源          |
| signSiteType        | String | 作业对象类型          |
| longitude           | String | 经度              |
| latitude            | String | 纬度              |
| country             | String | 国家              |
| province            | String | 省份              |
| city                | String | 城市              |
| district            | String | 区               |
| town                | String | 镇               |
| signSiteAddress     | String | 详细地址            |
| contactPerson       | String | 联系人             |
| contactNumber       | String | 联系电话            |
| status              | String | 状态（预留字段）        |
| deleteFlag          | String | 删除标识            |
| createdBy           | String | 创建人id           |
| creationDate        | String | 创建时间            |
| lastUpdatedBy       | String | 最后更新人           |
| lastUpdateDate      | String | 最后更新时间          |
| appName             | String | 应用名称            |
| entityName          | String | 实体名称            |
| creationTimestamp   | String | 创建时间对应的毫秒数      |
| lastUpdateTimestamp | String | 最后一次更新时间对应的毫秒数  |
| countryId           | String | 国家id            |
| provinceId          | String | 省份id            |
| cityId              | String | 城市id            |
| createName          | String | 创建人名称           |
| lastUpdateName      | String | 更新人名称           |
| udfExtend1          | String | 扩展字段            |
| udfExtend2          | String | 扩展字段            |
| udfExtend3          | String | 扩展字段            |
| udfExtend4          | String | 扩展字段            |
| udfExtend7          | String | 扩展字段            |
| udfExtend8          | String | 扩展字段            |
| udfExtend9          | String | 扩展字段            |
| udfExtend10         | String | 扩展字段            |
| secret              | String | 是否敏感            |
| geoHash             | String | 经纬度对应geoHash    |
| customerId          | String | 客户id            |
| supplierId          | String | 供应商id           |
| supplierName        | String | 供应商名称           |
| ownerIds            | String | 责任人ID,多个用英文逗号隔开 |
| ownerNames          | String | 责任人群组id         |
| ownerGroupId        | String | 责任人群组名称         |
| ownerGroupName      | String | 责任人名称,多个用英文逗号隔开 |
| orgId               | String | 所属行政组织          |
| orgName             | String | 行政组织名称          |
   
#### 请求示例
```
{
 "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.0",
                "latitude": "0.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
    }
}
```
#### 状态码
状态码请参见[状态码](https://support.huaweicloud.com/api-isdp/api_01_0326.html)。
#### 错误码
错误码请参见[错误码](https://support.huaweicloud.com/api-isdp/api_01_0327.html)。
