联发集团
  1. 云7
联发集团
  • 云7
    • 获取access_token接口
      GET
    • 列表查询
      POST
    • 详情查询
      POST
    • 更新
      POST
    • 上传附件
      POST
  1. 云7

列表查询

开发中
POST
/api/launcher/{appCode}/domain_service_runtime/{schemaCode}/query

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
appCode
string 
应用编码
必需
示例值:
workReport
schemaCode
string 
模型编码
必需
示例值:
weekWork
Header 参数
Tenantcode
string 
可选
示例值:
clo7nyn50uh3wtenant
Body 参数application/json
associationProjection
null 
必需
projection
object 
要查询的字段
必需
weekWork
array[string]
模型编码
必需
pageable
object 
分⻚
必需
pageIndex
integer 
必需
pageSize
integer 
必需
countable
boolean 
必需
where
object  | null 
查询条件
可选
可以有多个
nature
string 
必需
⽀持 AND、 OR
criteria
array [object {4}] 
必需
⽀持EQ, NOT_EQ, LIKE, NOT_LIKE, GT, LT, GTE, LTE, IN, NOT_I N, IS_NULL, IS_NOT_NULL, CONTAINS, NOT_CONTAINS;
示例
{
    "associationProjection": null,
    "projection": {
        "weekWork": [
            "workOne",
            "workTwo",
            "workThree",
            "planOne",
            "planTwo",
            "planThree",
            "suggestion",
            "suggestType",
            "userName",
            "submitStatus",
            "period",
            "id",
            "createdBy",
            "createdTime",
            "owner",
            "ownerDept",
            "modifiedBy", 
            "modifiedTime", 
            "status"]
        },

        "pageable": {
            "pageIndex": 0,
            "pageSize": 10,
            "countable": false
        }
    }

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dcode-uat.xudc.com/api/launcher/workReport/domain_service_runtime/weekWork/query' \
--header 'Tenantcode: clo7nyn50uh3wtenant' \
--header 'Content-Type: application/json' \
--data-raw '{
    "associationProjection": null,
    "projection": {
        "weekWork": [
            "workOne",
            "workTwo",
            "workThree",
            "planOne",
            "planTwo",
            "planThree",
            "suggestion",
            "suggestType",
            "userName",
            "submitStatus",
            "period",
            "id",
            "createdBy",
            "createdTime",
            "owner",
            "ownerDept",
            "modifiedBy", 
            "modifiedTime", 
            "status"]
        },

        "pageable": {
            "pageIndex": 0,
            "pageSize": 10,
            "countable": false
        }
    }'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
    "errCode": null,
    "errMessage": null,
    "traceId": "e58320ad1215467fa66d0cff26a2db26",
    "alert": null,
    "total": 7,
    "data": [
        {
            "owner": {
                "id": "U_903170d400455aab2c5185a4abc2ae",
                "name": "朱铁军",
                "type": 3,
                "imgUrl": "/api/webapi/file/common/download?refId=28176346cfcf4565aaffdb07d1e46bc6.jpg"
            },
            "modifiedTime": "2023-08-29 19:19:58",
            "period": {
                "owner": {
                    "id": "U_903170d400455aab2c5185a4abc2ae",
                    "name": "朱铁军",
                    "type": 3,
                    "imgUrl": "/api/webapi/file/common/download?refId=28176346cfcf4565aaffdb07d1e46bc6.jpg"
                },
                "modifiedTime": "2023-06-24 22:38:33",
                "periodName": "08月28日-09月03日 2023年第35周",
                "type": "week",
                "parentId": null,
                "createdBy": {
                    "id": "U_903170d400455aab2c5185a4abc2ae",
                    "name": "朱铁军",
                    "type": 3,
                    "imgUrl": "/api/webapi/file/common/download?refId=28176346cfcf4565aaffdb07d1e46bc6.jpg"
                },
                "createdTime": "2023-06-24 22:38:33",
                "startTime": "2023-08-28 00:00:00",
                "modifiedBy": {
                    "id": "U_903170d400455aab2c5185a4abc2ae",
                    "name": "朱铁军",
                    "type": 3,
                    "imgUrl": "/api/webapi/file/common/download?refId=28176346cfcf4565aaffdb07d1e46bc6.jpg"
                },
                "endTime": "2023-09-03 23:59:59",
                "id": "6fab7711c6454a1baaa4810cca7c546d",
                "ownerDept": {
                    "id": "D_7d5d4911d149c09b209091bb299a91",
                    "name": "联发集团",
                    "type": 1,
                    "imgUrl": null
                },
                "status": "finished"
            },
            "planThree": null,
            "suggestion": "给营销部提建议",
            "userName": {
                "id": "U_e532e9d2a74f3bb5016f9e9fac4eb3",
                "name": "朱艺超",
                "type": 3,
                "imgUrl": "/api/webapi/file/common/download?refId=0b26b7b1978d4327a3c7ff3bfa6b541f.jpg"
            },
            "planTwo": null,
            "#permission#": [
                {
                    "fieldName": "modifiedTime",
                    "permission": 1,
                    "required": null
                },
                {
                    "fieldName": "deptName",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "planThree",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "isRead",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "workThree",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "suggestType",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "post",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "userSort",
                    "permission": 0,
                    "required": null
                },
                {
                    "fieldName": "suggestWeek",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "depSort",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "createdTime",
                    "permission": 1,
                    "required": null
                },
                {
                    "fieldName": "modifiedBy",
                    "permission": 1,
                    "required": null
                },
                {
                    "fieldName": "startTime",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "id",
                    "permission": 1,
                    "required": null
                },
                {
                    "fieldName": "workTwo",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "department",
                    "permission": 2,
                    "required": null
                },
                {
                    "fieldName": "ownerDept",
                    "permission": 2,
      
修改于 2023-08-31 08:50:20
上一页
获取access_token接口
下一页
详情查询
Built with