POST api/AccessTree/Search

Поиск в ресурсах допуска

Request Information

URI Parameters

None.

Body Parameters

AccessTreeInQuery
NameDescriptionTypeAdditional 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:
<AccessTreeInQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.AccessTree">
  <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>
</AccessTreeInQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Success Resource Description

ResultCollectionPagingOutDtoOfAccessTreeOutViewModel
NameDescriptionTypeAdditional information
Limits

None.

QueryLimitIn

None.

TotalCount

None.

integer

None.

Data

None.

Collection of AccessTreeOutViewModel

None.

Error Resource Description (Реализовано не везде)

OperationResult
NameDescriptionTypeAdditional 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.