Информация по накладным без детализации по местам

Метод устарел.

Был заменён на метод:
Получение данных о накладной по её номеру (текущее состояние)
WaybillInfo

Обоснование замены:

Критерийme_oneInvoiceWaybillInfoВывод
НазначениеПолучение информации по одной накладнойПолучение информации по одной накладнойФункционально почти один в один
Названиеme_oneInvoiceWaybillInfo🟢 Новое название понятнее и соответствует другим методам
Входной параметрMajorNumberwaybillNumber🟢 Новый вариант лучше отражает бизнес-смысл
Структура ответаПлоский список полейЛогические блоки🟢 Большое улучшение
ОтправительShipperLastName, ShipperPhone, ShipperAdresRoute → Shipper🟢 Лучше организована модель
ПолучательConsigneeLastName, ConsigneePhone и т.д.Route → Consignee🟢 Лучше организована модель
ГрузWBWeight, WBLength, WBWidthCargoInfo🟢 Выделена отдельная сущность
ОплатаПоля разбросаны среди остальныхPaymentInfo🟢 Логическое выделение
Места грузаНет явной детализации по местамPlaces🟢 Новый метод явно поддерживает список мест
ИсторияНетОтдельный метод WaybillInfoWithHistory🟢 Добавлена специализированная операция
Типы данныхЕсть string для размеров (WbLength)Более строгие типы (double)🟢 Лучше типизация
РасширениеДобавление поля увеличивает плоский объектДобавление внутри соответствующего блока🟢 Проще сопровождение

Бывшее местоположение: Major Express Wiki > WEB-СЕРВИСЫ > WEB-СЕРВИС АГЕНТСКИЙ > ЭКСПРЕСС-ДОСТАВКА > МЕТОДЫ > НАКЛАДНАЯ > Информация по накладным без детализации по местам

Функция me_oneInvoice (MajorNumber) возвращает информацию по накладной

ОПИСАНИЕ ПАРАМЕТРОВ ЗАПРОСА

ПАРАМЕТРОПИСАНИЕ В WSDLОПИСАНИЕ
MajorNumberminOccurs="0"
maxOccurs="1"
type="string"
номер накладной МЭ

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <TicketHeader xmlns="http://tempuri.org/">
      <Ticket>string</Ticket>
      <UserName>string</UserName>
      <CheckSum>int</CheckSum>
      <inRole>boolean</inRole>
    </TicketHeader>
  </soap:Header>
  <soap:Body>
    <me_oneInvoice xmlns="http://tempuri.org/">
      <MajorNumber>string</MajorNumber>
    </me_oneInvoice>
  </soap:Body>
</soap:Envelope>

ОПИСАНИЕ ПАРАМЕТРОВ ОТВЕТА

ПАРАМЕТРОПИСАНИЕ В WSDLОПИСАНИЕ
ResCodeminOccurs="1"
maxOccurs="1"
type="int"
код ответа
ResTextminOccurs="0"
maxOccurs="1"
type="string"
текст ответа
WBNumberminOccurs="0"
maxOccurs="1"
type="string"
номер накладной
WBOpenDateminOccurs="1"
maxOccurs="1"
type="dateTime"
дата создания накладной
WBOpenTimeminOccurs="1"
maxOccurs="1"
type="dateTime"
время создания накладной
WBOldNumberminOccurs="0"
maxOccurs="1"
type="string"
идентификатор отправки клиента (максимально 50 символов)
FedexNumminOccurs="0"
maxOccurs="1"
type="string"
номер международной накладной
Client_NameminOccurs="0"
maxOccurs="1"
type="string"
название Клиента
PayerCodeminOccurs="1"
maxOccurs="1"
type="int"
номер плательщика
ShipperLastNameminOccurs="0"
maxOccurs="1"
type="string"
ФИО Отправителя
ShipperCompanyminOccurs="0"
maxOccurs="1"
type="string"
компания Отправителя
ShipperPostIndexminOccurs="0"
maxOccurs="1"
type="string"
почтовый индекс Отправителя
ShipperAdresminOccurs="0"
maxOccurs="1"
type="string"
адрес Отправителя
ShipperCityCodeminOccurs="1"
maxOccurs="1"
type="int"
код города Отправителя
ShipperCity_NameminOccurs="0"
maxOccurs="1"
type="string"
название города Отправителя
ShipperAgentCodeminOccurs="1"
maxOccurs="1"
type="short"
код Агента Отправителя
ShipperAgent_NameminOccurs="0"
maxOccurs="1"
type="string"
название Агента Отправителя
ConsigneeLastNameminOccurs="0"
maxOccurs="1"
type="string"
ФИО Получателя
ConsigneeCompanyminOccurs="0"
maxOccurs="1"
type="string"
компания Получателя
ConsigneeAdresminOccurs="0"
maxOccurs="1"
type="string"
адрес Получателя
ConsigneePhoneminOccurs="0"
maxOccurs="1"
type="string"
телефон Получателя
ConsigneePostIndexminOccurs="0"
maxOccurs="1"
type="string"
почтовый индекс Получателя
ConsigneeCityCodeminOccurs="1"
maxOccurs="1"
type="int"
код города Получателя
ConsigneeCity_NameminOccurs="0"
maxOccurs="1"
type="string"
название города Получателя
ConsigneeAgentCodeminOccurs="1"
maxOccurs="1"
type="short"
код Агента Получателя
ConsigneeAgent_NameminOccurs="0"
maxOccurs="1"
type="string"
название Агента Получателя
ConsigneeCountryCodeminOccurs="1"
maxOccurs="1"
type="short"
код страны Получателя
WBPackageminOccurs="1"
maxOccurs="1"
type="short"
количество мест (не может быть отрицательным или нулевым)
WBWeightminOccurs="1"
maxOccurs="1"
type="float"
вес [кг] (не может быть меньше 0,1 кг, а также превышать 10.000 кг)
WBPackageTypeminOccurs="0"
maxOccurs="1"
type="string"
тип упаковки
WbLengthminOccurs="0"
maxOccurs="1"
type="string"
длина (см)
WbWidthminOccurs="0"
maxOccurs="1"
type="string"
ширина (см)
WbHeightminOccurs="0"
maxOccurs="1"
type="string"
высота (см)
WBVolumeWeightminOccurs="1"
maxOccurs="1"
type="float"
объемный вес отправления (груза)
WBCostminOccurs="1"
maxOccurs="1"
type="float"
объявленная ценность в рублях (не может быть отрицательной или нулевой, а также превышать 100.000.000 рублей)
MoneyTypeminOccurs="0"
maxOccurs="1"
type="string"
валюта объявленной ценности
WhoWillPayminOccurs="1"
maxOccurs="1"
type="unsignedByte"
код стороны оплаты
1 - отправитель,
2 - получатель,
3 - я сторона
PaymentTypeminOccurs="1"
maxOccurs="1"
type="unsignedByte"
код типа оплаты
1 - наличные
2 - безналичные
PaymentType_NameminOccurs="0"
maxOccurs="1"
type="string"
название типа оплаты
CommentsminOccurs="0"
maxOccurs="1"
type="string"
комментарии
WBCloseDateminOccurs="1"
maxOccurs="1"
type="dateTime"
дата доставки
WBCloseTimeminOccurs="0"
maxOccurs="1"
type="string"
время доставки
SubmitterminOccurs="0"
maxOccurs="1"
type="string"
фактический получатель груза
фамилия +
1.секретарь (reception)  
2.сотрудник  
3.канцелярия (экспедиция)  
4.лично  
5.охрана  
6.родственник
CourierminOccurs="0"
maxOccurs="1"
type="string"
доставил груз
Freight_USDminOccurs="1"
maxOccurs="1"
type="double"
стоимость перевозки (USD)
Freight_RURminOccurs="1"
maxOccurs="1"
type="double"
стоимость перевозки (руб.)
Insurance_RURminOccurs="1"
maxOccurs="1"
type="double"
страховая премия (руб.)
Insurance_USDminOccurs="1"
maxOccurs="1"
type="double"
страховая премия (USD)
TransitMoscowminOccurs="1"
maxOccurs="1"
type="int"
транзит через Москву
FreightTypeminOccurs="1"
maxOccurs="1"
type="boolean"
тип перевозки
WBDescriptionminOccurs="0"
maxOccurs="1"
type="string"
описание вложений
ReAddrminOccurs="0"
maxOccurs="1"
type="string"
переадресация
NaklStatusIdminOccurs="1"
maxOccurs="1"
type="unsignedByte"
код статуса накладной
NaklStatusminOccurs="0"
maxOccurs="1"
type="string"
название статуса накладной
SpecialDelivConditionsminOccurs="0"
maxOccurs="1"
type="string"
особые условия доставки:
0 - нет,
1 - срочная доставка,
2 - доставка в субботу,
3 - доставка с возвратом,
4 - возвратная накладная.
IsNeedScanminOccurs="1"
maxOccurs="1"
type="boolean"
нужен ли скан
ConsigneeCountryCodeminOccurs="1"
maxOccurs="1"
type="short"
код страны получателя
SpecialDeliveryConditionsminOccurs="0"
maxOccurs="1"
type="ArrayOfSpecialDeliveryCondition"
расширенный перечень особых условий доставки и платных услуг
WbReturnNumberminOccurs="0"
maxOccurs="1"
type="string"
номер возвратной накладной
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <me_oneInvoiceResponse xmlns="http://tempuri.org/">
      <me_oneInvoiceResult>
        <SP_Invoice_GenerResult>
          <ResCode>int</ResCode>
          <ResText>string</ResText>
          <WBNumber>string</WBNumber>
          <WBOpenDate>dateTime</WBOpenDate>
          <WBOpenTime>string</WBOpenTime>
          <WBOldNumber>string</WBOldNumber>
          <FedexNum>string</FedexNum>
          <Client_Name>string</Client_Name>
          <PayerCode>int</PayerCode>
          <ShipperLastName>string</ShipperLastName>
          <ShipperPhone>string</ShipperPhone>
          <ShipperCompany>string</ShipperCompany>
          <ShipperPostIndex>string</ShipperPostIndex>
          <ShipperAdres>string</ShipperAdres>
          <ShipperCityCode>int</ShipperCityCode>
          <ShipperCity_Name>string</ShipperCity_Name>
          <ShipperAgentCode>short</ShipperAgentCode>
          <ShipperAgent_Name>string</ShipperAgent_Name>
          <ConsigneeLastName>string</ConsigneeLastName>
          <ConsigneePhone>string</ConsigneePhone>
          <ConsigneeCompany>string</ConsigneeCompany>
          <ConsigneePostIndex>string</ConsigneePostIndex>
          <ConsigneeAdres>string</ConsigneeAdres>
          <ConsigneeCountryCode>short</ConsigneeCountryCode>
          <ConsigneeCityCode>int</ConsigneeCityCode>
          <ConsigneeCity_Name>string</ConsigneeCity_Name>
          <ConsigneeAgentCode>short</ConsigneeAgentCode>
          <ConsigneeAgent_Name>string</ConsigneeAgent_Name>
          <WBWeight>string</WBWeight>
          <WBPackage>short</WBPackage>
          <WBPackageType>unsignedByte</WBPackageType>
          <WBLength>string</WBLength>
          <WBWidth>string</WBWidth>
          <WBHeight>string</WBHeight>
          <WBVolumeWeight>float</WBVolumeWeight>
          <PaymentType>unsignedByte</PaymentType>
          <PaymentType_Name>string</PaymentType_Name>
          <WhoWillPay>unsignedByte</WhoWillPay>
          <PaymentSide>string</PaymentSide>
          <WBCost>string</WBCost>
          <MoneyType>string</MoneyType>
          <WBDescription>string</WBDescription>
          <Comments>string</Comments>
          <ReAddr>string</ReAddr>
          <WBCloseDate>dateTime</WBCloseDate>
          <WBCloseTime>string</WBCloseTime>
          <Submitter>string</Submitter>
          <Courier>string</Courier>
          <Insurance_USD>double</Insurance_USD>
          <Insurance_RUR>double</Insurance_RUR>
          <Freight_USD>double</Freight_USD>
          <Freight_RUR>double</Freight_RUR>
          <TransitMoscow>int</TransitMoscow>
          <FreightType>boolean</FreightType>
          <NaklStatusId>unsignedByte</NaklStatusId>
          <NaklStatus>string</NaklStatus>
          <SpecialDelivConditions>unsignedByte</SpecialDelivConditions>
          <IsNeedScan>int</IsNeedScan>
          <ShipperCountryCode>short</ShipperCountryCode>
          <SpecialDeliveryConditions>
            <SpecialDeliveryCondition xsi:nil="true" />
            <SpecialDeliveryCondition xsi:nil="true" />
          </SpecialDeliveryConditions>
          <WbReturnNumber>string</WbReturnNumber>
        </SP_Invoice_GenerResult>
        <SP_Invoice_GenerResult>
          <ResCode>int</ResCode>
          <ResText>string</ResText>
          <WBNumber>string</WBNumber>
          <WBOpenDate>dateTime</WBOpenDate>
          <WBOpenTime>string</WBOpenTime>
          <WBOldNumber>string</WBOldNumber>
          <FedexNum>string</FedexNum>
          <Client_Name>string</Client_Name>
          <PayerCode>int</PayerCode>
          <ShipperLastName>string</ShipperLastName>
          <ShipperPhone>string</ShipperPhone>
          <ShipperCompany>string</ShipperCompany>
          <ShipperPostIndex>string</ShipperPostIndex>
          <ShipperAdres>string</ShipperAdres>
          <ShipperCityCode>int</ShipperCityCode>
          <ShipperCity_Name>string</ShipperCity_Name>
          <ShipperAgentCode>short</ShipperAgentCode>
          <ShipperAgent_Name>string</ShipperAgent_Name>
          <ConsigneeLastName>string</ConsigneeLastName>
          <ConsigneePhone>string</ConsigneePhone>
          <ConsigneeCompany>string</ConsigneeCompany>
          <ConsigneePostIndex>string</ConsigneePostIndex>
          <ConsigneeAdres>string</ConsigneeAdres>
          <ConsigneeCountryCode>short</ConsigneeCountryCode>
          <ConsigneeCityCode>int</ConsigneeCityCode>
          <ConsigneeCity_Name>string</ConsigneeCity_Name>
          <ConsigneeAgentCode>short</ConsigneeAgentCode>
          <ConsigneeAgent_Name>string</ConsigneeAgent_Name>
          <WBWeight>string</WBWeight>
          <WBPackage>short</WBPackage>
          <WBPackageType>unsignedByte</WBPackageType>
          <WBLength>string</WBLength>
          <WBWidth>string</WBWidth>
          <WBHeight>string</WBHeight>
          <WBVolumeWeight>float</WBVolumeWeight>
          <PaymentType>unsignedByte</PaymentType>
          <PaymentType_Name>string</PaymentType_Name>
          <WhoWillPay>unsignedByte</WhoWillPay>
          <PaymentSide>string</PaymentSide>
          <WBCost>string</WBCost>
          <MoneyType>string</MoneyType>
          <WBDescription>string</WBDescription>
          <Comments>string</Comments>
          <ReAddr>string</ReAddr>
          <WBCloseDate>dateTime</WBCloseDate>
          <WBCloseTime>string</WBCloseTime>
          <Submitter>string</Submitter>
          <Courier>string</Courier>
          <Insurance_USD>double</Insurance_USD>
          <Insurance_RUR>double</Insurance_RUR>
          <Freight_USD>double</Freight_USD>
          <Freight_RUR>double</Freight_RUR>
          <TransitMoscow>int</TransitMoscow>
          <FreightType>boolean</FreightType>
          <NaklStatusId>unsignedByte</NaklStatusId>
          <NaklStatus>string</NaklStatus>
          <SpecialDelivConditions>unsignedByte</SpecialDelivConditions>
          <IsNeedScan>int</IsNeedScan>
          <ShipperCountryCode>short</ShipperCountryCode>
          <SpecialDeliveryConditions>
            <SpecialDeliveryCondition xsi:nil="true" />
            <SpecialDeliveryCondition xsi:nil="true" />
          </SpecialDeliveryConditions>
          <WbReturnNumber>string</WbReturnNumber>
        </SP_Invoice_GenerResult>
      </me_oneInvoiceResult>
    </me_oneInvoiceResponse>
  </soap:Body>
</soap:Envelope>