POST api/workNormative/Search
Поиск в нормативах
Request Information
URI Parameters
None.
Body Parameters
WorkNormativeSearchInQueryName | Description | Type | Additional information |
---|---|---|---|
ApproverIds |
Массив идентификаторов согласующих |
Collection of integer |
None. |
Limits |
Объект пейджинга |
QueryLimitIn |
None. |
Order |
Сортировка |
QueryOrderIn |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApproverIds": [ 1, 2 ], "Limits": { "Page": 1, "PageSize": 2 }, "Order": { "Property": "sample string 1", "DirectionType": 0 } }
text/html, multipart/form-data
Sample:
{"ApproverIds":[1,2],"Limits":{"Page":1,"PageSize":2},"Order":{"Property":"sample string 1","DirectionType":0}}
application/xml, text/xml
Sample:
<WorkNormativeSearchInQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.WorkNormative"> <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> <ApproverIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ApproverIds> </WorkNormativeSearchInQuery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Success Resource Description
ResultCollectionPagingOutDtoOfWorkNormativeViewModelName | Description | Type | Additional information |
---|---|---|---|
Limits |
None. |
QueryLimitIn |
None. |
TotalCount |
None. |
integer |
None. |
Data |
None. |
Collection of WorkNormativeViewModel |
None. |
Error Resource Description (Реализовано не везде)
OperationResultName | 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.