GET v2.0/client/ediCode?inn={inn}&documentTypeCode={documentTypeCode}&kpp={kpp}&hasRelation={hasRelation}
Возвращает идентификатор участника ЭДО получателя.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| inn | ИНН получателя. | string | Required | 
| documentTypeCode | Код типа документа. | string | Required | 
| kpp | КПП получателя. | string | None. | 
| hasRelation | Признак поиска по компаниям, у которых есть активные взаимосвязи по заданному типу документа. | boolean | Default value is False | 
Body Parameters
None.
Response Information
Resource Description
Идентификатор участника ЭДО получателя.
Korus.Eds.Api.ClientEdiCode| Name | Description | Type | Additional information | 
|---|---|---|---|
| OperatorName | string | None. | |
| IsCurrent | boolean | None. | |
| IsActive | boolean | None. | |
| IsDefault | boolean | None. | |
| OperatorId | integer | None. | |
| Code | string | None. | |
| OperatorCode | string | None. | |
| IsOneCHub | boolean | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "operatorName": "sample string 1",
  "isCurrent": true,
  "isActive": true,
  "isDefault": true,
  "operatorId": 5,
  "code": "sample string 6",
  "operatorCode": "sample string 7",
  "isOneCHub": true
}
        application/xml, text/xml
            Sample:
<ClientEdiCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api"> <Code>sample string 6</Code> <IsActive>true</IsActive> <IsCurrent>true</IsCurrent> <IsDefault>true</IsDefault> <IsOneCHub>true</IsOneCHub> <OperatorCode>sample string 7</OperatorCode> <OperatorId>5</OperatorId> <OperatorName>sample string 1</OperatorName> </ClientEdiCode>
