分批查询规格
POST
/api/open/v3/SPECIFICATION/searchAfter
查询
请求参数
Path 参数
viewKey
string
必需
Body 参数application/json
conditions
object (SPECIFICATION_filter)
可选
code
object
可选
sorts
object (SPECIFICATION_sort)
可选
fieldKeys
array[string]
可选
paging
object
必需
start
integer
分页开始
>= 0
length
integer
分页大小
>= 1<= 500
boundaryIds
array[string]
可选
length
integer
一次查询数量
>= 1<= 2000
示例
{
"conditions": {
"code": {
"conditionType": "KEYWORD",
"value": "string"
}
},
"sorts": {},
"fieldKeys": [
"string"
],
"paging": {
"start": 0,
"length": 1
},
"boundaryIds": [
"string"
],
"length": 1
}
示例代码
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://c2.xinheyun.com/api/open/v3/SPECIFICATION/searchAfter' \
--header 'Content-Type: application/json' \
--data-raw '{
"conditions": {
"code": {
"conditionType": "KEYWORD",
"value": "string"
}
},
"sorts": {},
"fieldKeys": [
"string"
],
"paging": {
"start": 0,
"length": 1
},
"boundaryIds": [
"string"
],
"length": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
可选
message
string
可选
data
object
可选
list
array[object (SPECIFICATION) {6}]
可选
start
integer
可选
length
integer
可选
recordsTotal
integer
可选
boundaryIds
array[string]
可选
示例
{
"code": 0,
"message": "string",
"data": {
"list": [
{
"creator": 0,
"code": "string",
"createTime": 0,
"name": "string",
"isDisabled": true,
"type": "string"
}
],
"start": 0,
"length": 0,
"recordsTotal": 0,
"boundaryIds": [
"string"
]
}
}
🟢201成功
🟠401没有权限
🟠403禁止访问
🟠404记录不存在