根据条件获取表单数据

根据条件获取表单数据


URL

https://ys.yonyoucloud.com/ubpm-web-rest/service/query/ext/iformData


支持格式

JSON


HTTP请求方式

POST


HEADER参数

Content-Type application/json;charset=UTF-8
restservice REST_SERVICE_1.0.0
cache-control no-cache
source approve
tenant 租户id,请看注意事项
securitytenant 租户id,请看注意事项
sign 认证字符串--后端加密算法生成的,根据请求token+url+tenant,具体获取请看注意事项

请求参数


必选 类型及范围 说明
pkbo true String
columnCode false string 字段编码
columnValue false string 字段值

请求JSON数据

{
    "pkBo": "6f3edadfda924146a18fe9357dca60f9",
    "queryOperator": "And",
    "size": 1000,
    "sqlConditions": [
        {
            "columnCode": "rq_160307198384328",
            "columnValue": "2020-10-18",
            "queryOperator": "Equal"
        }
    ],
    "start": 0
}

返回结果

{
    "data": [
        {
            "wb1_1603071983843105": "33",
            "wb3_160307198384359": "33",
            "wb2_1603071983843779": "44",
            "createuser": "0f059088-9c92-4769-a3e7-8f1a341cc3df",
            "rq_160307198384328": "2020-10-18",
            "version": 1,
            "pk_boins": "16c420b831e94ab68689e7e65910c80b",
            "dr": 0,
            "pk_procdef": "processKey:1:cffb83ab-5d13-11ea-84d3-f676d4a6f6aa",
            "pk_procdefins": "218c28e6-11ad-11eb-8b9a-36730f7bdd3f",
            "pk_temp": "b4774eb51ac1484a9a10bd7207be4cdc",
            "sysversion": 0,
            "startdept": "1641272788504832",
            "startorg": "1640198360125696",
            "status": "end",
            "ts": "2020-10-19 09:48:05"
        }
    ],
    "total": 1,
    "start": 0,
    "sort": null,
    "order": null,
    "size": 1000,
    "errcode": 0,
    "errmsg": "ok"
}

注意事项

  • 获取租户id:

图 1

  • 获取sign

获取sign

Copyright © 用友客户成功部 2020 all right reserved,powered by Gitbook修订时间: 2020-10-21 14:47:10

results matching ""

    No results matching ""