Поиск по групповым соглашениям
Метод предназначен для поиска по групповым соглашениям с возможностью задавать набор полей в ответе и порядок сортировки элементов.
application/json
Request Body required
request
countFrom int32
countTo int32
fields string[]
ids int64[]
orderBy string
orderByFields object[]
orderDirection string
resultsQty int32
searchFields object[]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
fields object
id int64
[
{
"fields": {},
"id": 0
}
]
Created
Unauthorized
Forbidden
Not Found
POST /main/group-conventions/partial-load
Request
Request
curl / cURL
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'
python / requests
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'
go / native
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'
nodejs / axios
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'
php / guzzle
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'
java / OkHttp
curl -L -X POST '//localhost/main/group-conventions/partial-load' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"countFrom": 0,
"countTo": 0,
"fields": [
"string"
],
"ids": [
0
],
"orderBy": "string",
"orderByFields": [
{
"direction": "string",
"field": "string"
}
],
"orderDirection": "string",
"resultsQty": 0,
"searchFields": [
{
"field": "string",
"ornumber": "string",
"value": "string"
}
]
}'