GET internal/operator/{code}
Информация об операторе ЭДО по его коду.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
Код оператора. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Информация оператора ЭДО.
Korus.Eds.Api.OperatorDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Kpp | string |
None. |
|
| RegistrationCode | string |
None. |
|
| EndpointUrl | string |
None. |
|
| IsAvoidanceAvailable | boolean |
None. |
|
| ExchangeMode | Korus.Eds.Core.ExchangeMode |
None. |
|
| ActiveEdiExist | boolean |
None. |
|
| IsCurrent | boolean |
None. |
|
| OperatorType | Korus.Eds.Core.OperatorType |
None. |
|
| IsInvitationAvailable | boolean |
None. |
|
| Code | string |
None. |
|
| Inn | string |
None. |
|
| Name | string |
None. |
|
| TransportPackageMaxSize | integer |
None. |
|
| IsOneCHub | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"kpp": "sample string 2",
"registrationCode": "sample string 3",
"endpointUrl": "sample string 4",
"isAvoidanceAvailable": true,
"exchangeMode": 0,
"activeEdiExist": true,
"isCurrent": true,
"operatorType": 0,
"isInvitationAvailable": true,
"code": "sample string 9",
"inn": "sample string 10",
"name": "sample string 11",
"transportPackageMaxSize": 12,
"isOneCHub": true
}
application/xml, text/xml
Sample:
<OperatorDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api"> <ActiveEdiExist>true</ActiveEdiExist> <Code>sample string 9</Code> <EndpointUrl>sample string 4</EndpointUrl> <ExchangeMode>None</ExchangeMode> <Id>1</Id> <Inn>sample string 10</Inn> <IsAvoidanceAvailable>true</IsAvoidanceAvailable> <IsCurrent>true</IsCurrent> <IsInvitationAvailable>true</IsInvitationAvailable> <IsOneCHub>true</IsOneCHub> <Kpp>sample string 2</Kpp> <Name>sample string 11</Name> <OperatorType>None</OperatorType> <RegistrationCode>sample string 3</RegistrationCode> <TransportPackageMaxSize>12</TransportPackageMaxSize> </OperatorDetails>