GET api/v1/{appId}/contractors?maxResultCount={maxResultCount}

Получения списка компаний по OData фильтр для пользователя (в разработке). Примеры запросов: api/v1/{appId}/contractors?$filter=substringof('папір',tolower(Name)), api/v1/{appId}/contractors?$filter=substringof('3962094',tolower(Identifier)), api/v1/{appId}/contractors?$filter=substringof('б',tolower(Name))&$orderby=Name desc

URI ïàðàìåòðû

NameDescriptionTypeAdditional information
appId

string

Required

maxResultCount

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

Получения списка компаний по OData фильтр для пользователя (в разработке). Примеры запросов: api/v1/{appId}/contractors?$filter=substringof('папір',tolower(Name)), api/v1/{appId}/contractors?$filter=substringof('3962094',tolower(Identifier)), api/v1/{appId}/contractors?$filter=substringof('б',tolower(Name))&$orderby=Name desc

Collection of ContractorSimpleModel
NameDescriptionTypeAdditional information
FullName

Полное наименование предприятия\ФЛП ФИО Источник: ЕГР

string

None.

Name

Краткое наименование предприятия\ФИО

string

None.

Identifier

ЕГРПОУ\ДРФО

string

None.

Address

Адрес

string

None.

IsFop

Юр\Физ

boolean

None.

ShortOpfgName

Сокращенное наименование(ОПФГ и наименование)

string

None.

Response Formats

application/json, text/json

Ïðèìåð:
[
  {
    "FullName": "sample string 1",
    "Name": "sample string 2",
    "Identifier": "sample string 3",
    "Address": "sample string 4",
    "IsFop": true,
    "ShortOpfgName": "sample string 5",
    "DirectorInformation": "sample string 6"
  },
  {
    "FullName": "sample string 1",
    "Name": "sample string 2",
    "Identifier": "sample string 3",
    "Address": "sample string 4",
    "IsFop": true,
    "ShortOpfgName": "sample string 5",
    "DirectorInformation": "sample string 6"
  }
]

application/xml, text/xml

Ïðèìåð:
<ArrayOfContractorSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Pactum">
  <ContractorSimple>
    <Address>sample string 4</Address>
    <FullName>sample string 1</FullName>
    <Identifier>sample string 3</Identifier>
    <IsFop>true</IsFop>
    <Name>sample string 2</Name>
    <ShortOpfgName>sample string 5</ShortOpfgName>
  </ContractorSimple>
  <ContractorSimple>
    <Address>sample string 4</Address>
    <FullName>sample string 1</FullName>
    <Identifier>sample string 3</Identifier>
    <IsFop>true</IsFop>
    <Name>sample string 2</Name>
    <ShortOpfgName>sample string 5</ShortOpfgName>
  </ContractorSimple>
</ArrayOfContractorSimple>