Манифесты Заказы Накладные
Click here for a complete list of operations.
Me_ListWayBills
Получение списка накладных за определенный период. Период не может быть более, чем 90 дней. При НЕуказании дат - будет использоваться период 'месяц до текущего дня включительно'. При указании только даты начала: (дата окончания) = (дата начала)+(1 месяц). При указании только даты окончания: (дата начала) = (дата окончания)-(1 месяц)
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Manifest.asmx HTTP/1.1 Host: agents.major-express.ru Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/Me_ListWayBills" <?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_ListWayBills xmlns="http://tempuri.org/"> <beginDate>dateTime</beginDate> <endDate>dateTime</endDate> <whoWillPay>unsignedByte</whoWillPay> <shipperAgentCode>short</shipperAgentCode> <consigneeAgentCode>short</consigneeAgentCode> <isDelivered>boolean</isDelivered> <isNeedScan>boolean</isNeedScan> </Me_ListWayBills> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?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_ListWayBillsResponse xmlns="http://tempuri.org/"> <Me_ListWayBillsResult> <SP_ListWayBillsResult> <WBNumber>string</WBNumber> <WBOpenDate>dateTime</WBOpenDate> <WBCloseDate>dateTime</WBCloseDate> <WBOldNumber>string</WBOldNumber> <FedexNum>string</FedexNum> <ClientCode>int</ClientCode> <Client_Name>string</Client_Name> <PayerCode>int</PayerCode> <ShipperLastName>string</ShipperLastName> <ShipperCompany>string</ShipperCompany> <ShipperAdres>string</ShipperAdres> <ShipperCityCode>int</ShipperCityCode> <ShipperCity_Name>string</ShipperCity_Name> <ShipperAgentCode>short</ShipperAgentCode> <ShipperAgent_Name>string</ShipperAgent_Name> <ConsigneeLastName>string</ConsigneeLastName> <ConsigneeCompany>string</ConsigneeCompany> <ConsigneeAdres>string</ConsigneeAdres> <ConsigneePhone>string</ConsigneePhone> <ConsigneeCityCode>int</ConsigneeCityCode> <ConsigneeCity_Name>string</ConsigneeCity_Name> <ConsigneeAgentCode>short</ConsigneeAgentCode> <ConsigneeAgent_Name>string</ConsigneeAgent_Name> <ConsigneeCountry>string</ConsigneeCountry> <WBPackage>short</WBPackage> <WBWeight>float</WBWeight> <WBVolumeWeight>float</WBVolumeWeight> <WBCost>float</WBCost> <MoneyType>string</MoneyType> <WhoWillPay>unsignedByte</WhoWillPay> <PaymentType>unsignedByte</PaymentType> <Freight_RUR>double</Freight_RUR> <Insurance_RUR>double</Insurance_RUR> <WBDescription>string</WBDescription> <ReAddr>string</ReAddr> <NaklStatusId>unsignedByte</NaklStatusId> <NaklStatus>string</NaklStatus> <SpecialDelivConditions>string</SpecialDelivConditions> <IsNeedScan>boolean</IsNeedScan> <ConsigneeCountryCode>short</ConsigneeCountryCode> <SpecialDeliveryConditions> <SpecialDeliveryCondition xsi:nil="true" /> <SpecialDeliveryCondition xsi:nil="true" /> </SpecialDeliveryConditions> </SP_ListWayBillsResult> <SP_ListWayBillsResult> <WBNumber>string</WBNumber> <WBOpenDate>dateTime</WBOpenDate> <WBCloseDate>dateTime</WBCloseDate> <WBOldNumber>string</WBOldNumber> <FedexNum>string</FedexNum> <ClientCode>int</ClientCode> <Client_Name>string</Client_Name> <PayerCode>int</PayerCode> <ShipperLastName>string</ShipperLastName> <ShipperCompany>string</ShipperCompany> <ShipperAdres>string</ShipperAdres> <ShipperCityCode>int</ShipperCityCode> <ShipperCity_Name>string</ShipperCity_Name> <ShipperAgentCode>short</ShipperAgentCode> <ShipperAgent_Name>string</ShipperAgent_Name> <ConsigneeLastName>string</ConsigneeLastName> <ConsigneeCompany>string</ConsigneeCompany> <ConsigneeAdres>string</ConsigneeAdres> <ConsigneePhone>string</ConsigneePhone> <ConsigneeCityCode>int</ConsigneeCityCode> <ConsigneeCity_Name>string</ConsigneeCity_Name> <ConsigneeAgentCode>short</ConsigneeAgentCode> <ConsigneeAgent_Name>string</ConsigneeAgent_Name> <ConsigneeCountry>string</ConsigneeCountry> <WBPackage>short</WBPackage> <WBWeight>float</WBWeight> <WBVolumeWeight>float</WBVolumeWeight> <WBCost>float</WBCost> <MoneyType>string</MoneyType> <WhoWillPay>unsignedByte</WhoWillPay> <PaymentType>unsignedByte</PaymentType> <Freight_RUR>double</Freight_RUR> <Insurance_RUR>double</Insurance_RUR> <WBDescription>string</WBDescription> <ReAddr>string</ReAddr> <NaklStatusId>unsignedByte</NaklStatusId> <NaklStatus>string</NaklStatus> <SpecialDelivConditions>string</SpecialDelivConditions> <IsNeedScan>boolean</IsNeedScan> <ConsigneeCountryCode>short</ConsigneeCountryCode> <SpecialDeliveryConditions> <SpecialDeliveryCondition xsi:nil="true" /> <SpecialDeliveryCondition xsi:nil="true" /> </SpecialDeliveryConditions> </SP_ListWayBillsResult> </Me_ListWayBillsResult> </Me_ListWayBillsResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Manifest.asmx HTTP/1.1 Host: agents.major-express.ru Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <TicketHeader xmlns="http://tempuri.org/"> <Ticket>string</Ticket> <UserName>string</UserName> <CheckSum>int</CheckSum> <inRole>boolean</inRole> </TicketHeader> </soap12:Header> <soap12:Body> <Me_ListWayBills xmlns="http://tempuri.org/"> <beginDate>dateTime</beginDate> <endDate>dateTime</endDate> <whoWillPay>unsignedByte</whoWillPay> <shipperAgentCode>short</shipperAgentCode> <consigneeAgentCode>short</consigneeAgentCode> <isDelivered>boolean</isDelivered> <isNeedScan>boolean</isNeedScan> </Me_ListWayBills> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Me_ListWayBillsResponse xmlns="http://tempuri.org/"> <Me_ListWayBillsResult> <SP_ListWayBillsResult> <WBNumber>string</WBNumber> <WBOpenDate>dateTime</WBOpenDate> <WBCloseDate>dateTime</WBCloseDate> <WBOldNumber>string</WBOldNumber> <FedexNum>string</FedexNum> <ClientCode>int</ClientCode> <Client_Name>string</Client_Name> <PayerCode>int</PayerCode> <ShipperLastName>string</ShipperLastName> <ShipperCompany>string</ShipperCompany> <ShipperAdres>string</ShipperAdres> <ShipperCityCode>int</ShipperCityCode> <ShipperCity_Name>string</ShipperCity_Name> <ShipperAgentCode>short</ShipperAgentCode> <ShipperAgent_Name>string</ShipperAgent_Name> <ConsigneeLastName>string</ConsigneeLastName> <ConsigneeCompany>string</ConsigneeCompany> <ConsigneeAdres>string</ConsigneeAdres> <ConsigneePhone>string</ConsigneePhone> <ConsigneeCityCode>int</ConsigneeCityCode> <ConsigneeCity_Name>string</ConsigneeCity_Name> <ConsigneeAgentCode>short</ConsigneeAgentCode> <ConsigneeAgent_Name>string</ConsigneeAgent_Name> <ConsigneeCountry>string</ConsigneeCountry> <WBPackage>short</WBPackage> <WBWeight>float</WBWeight> <WBVolumeWeight>float</WBVolumeWeight> <WBCost>float</WBCost> <MoneyType>string</MoneyType> <WhoWillPay>unsignedByte</WhoWillPay> <PaymentType>unsignedByte</PaymentType> <Freight_RUR>double</Freight_RUR> <Insurance_RUR>double</Insurance_RUR> <WBDescription>string</WBDescription> <ReAddr>string</ReAddr> <NaklStatusId>unsignedByte</NaklStatusId> <NaklStatus>string</NaklStatus> <SpecialDelivConditions>string</SpecialDelivConditions> <IsNeedScan>boolean</IsNeedScan> <ConsigneeCountryCode>short</ConsigneeCountryCode> <SpecialDeliveryConditions> <SpecialDeliveryCondition xsi:nil="true" /> <SpecialDeliveryCondition xsi:nil="true" /> </SpecialDeliveryConditions> </SP_ListWayBillsResult> <SP_ListWayBillsResult> <WBNumber>string</WBNumber> <WBOpenDate>dateTime</WBOpenDate> <WBCloseDate>dateTime</WBCloseDate> <WBOldNumber>string</WBOldNumber> <FedexNum>string</FedexNum> <ClientCode>int</ClientCode> <Client_Name>string</Client_Name> <PayerCode>int</PayerCode> <ShipperLastName>string</ShipperLastName> <ShipperCompany>string</ShipperCompany> <ShipperAdres>string</ShipperAdres> <ShipperCityCode>int</ShipperCityCode> <ShipperCity_Name>string</ShipperCity_Name> <ShipperAgentCode>short</ShipperAgentCode> <ShipperAgent_Name>string</ShipperAgent_Name> <ConsigneeLastName>string</ConsigneeLastName> <ConsigneeCompany>string</ConsigneeCompany> <ConsigneeAdres>string</ConsigneeAdres> <ConsigneePhone>string</ConsigneePhone> <ConsigneeCityCode>int</ConsigneeCityCode> <ConsigneeCity_Name>string</ConsigneeCity_Name> <ConsigneeAgentCode>short</ConsigneeAgentCode> <ConsigneeAgent_Name>string</ConsigneeAgent_Name> <ConsigneeCountry>string</ConsigneeCountry> <WBPackage>short</WBPackage> <WBWeight>float</WBWeight> <WBVolumeWeight>float</WBVolumeWeight> <WBCost>float</WBCost> <MoneyType>string</MoneyType> <WhoWillPay>unsignedByte</WhoWillPay> <PaymentType>unsignedByte</PaymentType> <Freight_RUR>double</Freight_RUR> <Insurance_RUR>double</Insurance_RUR> <WBDescription>string</WBDescription> <ReAddr>string</ReAddr> <NaklStatusId>unsignedByte</NaklStatusId> <NaklStatus>string</NaklStatus> <SpecialDelivConditions>string</SpecialDelivConditions> <IsNeedScan>boolean</IsNeedScan> <ConsigneeCountryCode>short</ConsigneeCountryCode> <SpecialDeliveryConditions> <SpecialDeliveryCondition xsi:nil="true" /> <SpecialDeliveryCondition xsi:nil="true" /> </SpecialDeliveryConditions> </SP_ListWayBillsResult> </Me_ListWayBillsResult> </Me_ListWayBillsResponse> </soap12:Body> </soap12:Envelope>