POST api/CustomFields/SearchType
Поиск типов микросправочника с постраничным выводом, с учетом сортировки и фильтрации
Request Information
URI Parameters
None.
Body Parameters
CustomFieldTypeInQuery| Name | Description | Type | Additional information |
|---|---|---|---|
| Limits |
Объект пейджинга |
QueryLimitIn |
None. |
| Order |
Сортировка |
QueryOrderIn |
None. |
Request Formats
application/json, text/json
Sample:
{
"Limits": {
"Page": 1,
"PageSize": 2
},
"Order": {
"Property": "sample string 1",
"DirectionType": 0
}
}
text/html, multipart/form-data
Sample:
{"Limits":{"Page":1,"PageSize":2},"Order":{"Property":"sample string 1","DirectionType":0}}
application/xml, text/xml
Sample:
<CustomFieldTypeInQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.CustomFields">
<Limits xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.Queries">
<Page>1</Page>
<PageSize>2</PageSize>
</Limits>
<Order xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.Queries">
<DirectionType>Asc</DirectionType>
<Property>sample string 1</Property>
</Order>
</CustomFieldTypeInQuery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Success Resource Description
ResultCollectionPagingOutDtoOfCustomFieldTypeOutViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Limits |
None. |
QueryLimitIn |
None. |
| TotalCount |
None. |
integer |
None. |
| Data |
None. |
Collection of CustomFieldTypeOutViewModel |
None. |
Error Resource Description (Реализовано не везде)
OperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Target |
Возвращаемый объект |
Object |
None. |
| Status |
Статус операции |
ResultStatus |
None. |
| Error |
Детализация ошибки |
Error |
None. |
Response Formats
application/json, text/json, text/html, multipart/form-data
Sample:
Sample not available.
