Get Senior Field Data List
# Description
Retrieve a list of senior field data.
# Request Specification
Request Method: POST + application/json
Request Path: https://${Enter cloud domain}/cgi/seniorOutsideAttendance/find?thirdTraceId=${Random String}
Request Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| searchQuery | Map | Yes | Query conditions |
| conditions | List | No | Filter conditions list |
| dataProjection | Map | No | Return field information |
| limit | Int | No | Number of records to fetch, default 20, max 100 |
| offset | Int | No | Offset, starts from 0, must be an integer multiple of limit |
| orders | List | No | Sorting |
| rangeConditions | List | No | Range conditions list |
# Request Example
{
"searchQuery": {
"rangeConditions": [
{
"fieldName": "last_modified_time",
"from": 1482980437573,
"to": 1482982437573
}
],
"offset": 1,
"limit": 5,
"orders": [
{
"ascending": true,
"field": "name"
}
],
"conditions": [
{
"conditionType": "term_condition",
"conditions": {
"name": "209955435609544554121",
"owner": "FSUID_1B03E88B0C5472F34859558E0899E46D"
}
}
],
"dataProjection": {
"fieldNames": [
"name",
"owner"
]
}
}
}
# Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | View error codes |
| datas | List | Attendance record list |
| totalNumber | Int | Total record count |
# Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0,
"datas":{},
"totalNumber":"123456"
}
# Notes
- Do not use the message field in the response for logical judgment, as errorMessage may change;