- Model APIs
- copyByIdPOST
- copyByIdAndFetchPOST
- copyByIdsPOST
- copyByIdsAndFetchPOST
- countPOST
- createListPOST
- createListAndFetchPOST
- createOnePOST
- createOneAndFetchPOST
- deleteByIdPOST
- deleteByIdsPOST
- deleteBySliceIdPOST
- getByIdPOST
- getByIdsPOST
- getCopyableFieldsGET
- getRowFilesGET
- getUnmaskedFieldGET
- getUnmaskedFieldsGET
- searchListPOST
- searchNamePOST
- searchPagePOST
- searchPivotPOST
- searchSimpleAggPOST
- updateByFilterPOST
- updateListPOST
- updateListAndFetchPOST
- updateOnePOST
- updateOneAndFetchPOST
- uploadFilePOST
- uploadFileToRowPOST
- Toolkit
- ChangeLog
- File Record
- Import Template
- SysPreData
- SysView
- Data Export
- Import
- Metadata Upgrade API
- Export Template
- DeptInfo
- AiRobot
- DocumentTemplate
- FlowConfig
- SysCron
- SysModel
- SysOptionSet
- Flow Automation
- DesignAppEnv
- DesignAppVersion
- DesignModel
searchPivot
POST
/{modelName}/searchPivot
Model APIs
Request
Path Params
modelName
string
required
Body Params application/json
aggFunctions
object (AggFunctions)
optional
Example:
["SUM","amount"]
effectiveDate
string <date>
optional
Today
.fields
array[string]
optional
Example:
["id","name"]
filters
object (Filters)
optional
Example:
["name","=","PM"]
groupBy
array[string]
optional
Example:
[]
orders
object (Orders)
optional
Example:
["name","ASC"]
pageNumber
integer <int32>
optional
Example:
1
pageSize
integer <int32>
optional
Example:
50
splitBy
array[string]
optional
Example:
[]
subQueries
object
optional
Example:
{}
Additional properties
object (SubQuery)
optional
Example:
{}
summary
boolean
optional
Example
{
"aggFunctions": [
"SUM",
"amount"
],
"effectiveDate": "2019-08-24",
"fields": [
"id",
"name"
],
"filters": [
"name",
"=",
"PM"
],
"groupBy": [],
"orders": [
"name",
"ASC"
],
"pageNumber": 1,
"pageSize": 50,
"splitBy": [],
"subQueries": {},
"summary": true
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '//searchPivot' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
*/*
Body
code
integer <int32>
optional
data
object (FileInfo)
optional
checksum
string
optional
fileId
string
optional
fileName
string
optional
fileType
enum<string>
optional
Allowed values:
JPGPNGWEBPBMPTIFSVGGIFICOCSVTXTDOCDOCXPPTPPTXXLSXLSXPDFJSONXMLYAMLZIPGZIPTARRARGZMP3WAVAACOGGFLACMP4AVIMOVWMVFLV
size
integer <int32>
optional
url
string
optional
message
string
optional
Example
{
"code": 0,
"data": {
"checksum": "string",
"fileId": "string",
"fileName": "string",
"fileType": "JPG",
"size": 0,
"url": "string"
},
"message": "string"
}
Modified at 2025-04-04 11:36:48