EDClientsWebService


Click here for a complete list of operations.

EDCreateWaybill_Shipper_Return

Создание новой накладной с указанием адреса возврата.

Параметры:
Data - данные для накладной

Возвращает: номер накладной

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 /edclientsepd.asmx HTTP/1.1
Host: ed.major-express.ru
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ed.major-express.ru/EDCreateWaybill_Shipper_Return"

<?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>
    <EDCreateWaybill_Shipper_Return xmlns="https://ed.major-express.ru/">
      <Data>
        <RequestID>guid</RequestID>
        <ClientInfo>string</ClientInfo>
        <Shipper>int</Shipper>
        <Consignee>
          <Person>string</Person>
          <Phone>string</Phone>
          <Company>string</Company>
          <Address>string</Address>
          <PostIndex>string</PostIndex>
          <CityCode>int</CityCode>
        </Consignee>
        <ReturnConsignee>
          <Person>string</Person>
          <Phone>string</Phone>
          <Company>string</Company>
          <Address>string</Address>
          <PostIndex>string</PostIndex>
          <CityCode>int</CityCode>
        </ReturnConsignee>
        <Weight>decimal</Weight>
        <Package>short</Package>
        <Cost>decimal</Cost>
        <Size>
          <Length>int</Length>
          <Width>int</Width>
          <Height>int</Height>
        </Size>
        <Description>string</Description>
        <CostCenter>int</CostCenter>
        <DeliveryComment>string</DeliveryComment>
        <ReturnInfo>
          <ClientInfo>string</ClientInfo>
          <Weight>decimal</Weight>
          <Package>short</Package>
          <Cost>decimal</Cost>
          <Description>string</Description>
          <CostCenter>int</CostCenter>
          <DeliveryComment>string</DeliveryComment>
        </ReturnInfo>
        <EPDData>
          <Shipper>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </Shipper>
          <Consignee>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </Consignee>
          <CargoCountryOksmCode>string</CargoCountryOksmCode>
          <ReturnConsignee>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </ReturnConsignee>
        </EPDData>
      </Data>
    </EDCreateWaybill_Shipper_Return>
  </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>
    <EDCreateWaybill_Shipper_ReturnResponse xmlns="https://ed.major-express.ru/">
      <EDCreateWaybill_Shipper_ReturnResult>
        <WBNumber>string</WBNumber>
        <WBReturnNumber>string</WBReturnNumber>
      </EDCreateWaybill_Shipper_ReturnResult>
    </EDCreateWaybill_Shipper_ReturnResponse>
  </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 /edclientsepd.asmx HTTP/1.1
Host: ed.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:Body>
    <EDCreateWaybill_Shipper_Return xmlns="https://ed.major-express.ru/">
      <Data>
        <RequestID>guid</RequestID>
        <ClientInfo>string</ClientInfo>
        <Shipper>int</Shipper>
        <Consignee>
          <Person>string</Person>
          <Phone>string</Phone>
          <Company>string</Company>
          <Address>string</Address>
          <PostIndex>string</PostIndex>
          <CityCode>int</CityCode>
        </Consignee>
        <ReturnConsignee>
          <Person>string</Person>
          <Phone>string</Phone>
          <Company>string</Company>
          <Address>string</Address>
          <PostIndex>string</PostIndex>
          <CityCode>int</CityCode>
        </ReturnConsignee>
        <Weight>decimal</Weight>
        <Package>short</Package>
        <Cost>decimal</Cost>
        <Size>
          <Length>int</Length>
          <Width>int</Width>
          <Height>int</Height>
        </Size>
        <Description>string</Description>
        <CostCenter>int</CostCenter>
        <DeliveryComment>string</DeliveryComment>
        <ReturnInfo>
          <ClientInfo>string</ClientInfo>
          <Weight>decimal</Weight>
          <Package>short</Package>
          <Cost>decimal</Cost>
          <Description>string</Description>
          <CostCenter>int</CostCenter>
          <DeliveryComment>string</DeliveryComment>
        </ReturnInfo>
        <EPDData>
          <Shipper>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </Shipper>
          <Consignee>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </Consignee>
          <CargoCountryOksmCode>string</CargoCountryOksmCode>
          <ReturnConsignee>
            <INN>string</INN>
            <IsIndividual>boolean</IsIndividual>
          </ReturnConsignee>
        </EPDData>
      </Data>
    </EDCreateWaybill_Shipper_Return>
  </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>
    <EDCreateWaybill_Shipper_ReturnResponse xmlns="https://ed.major-express.ru/">
      <EDCreateWaybill_Shipper_ReturnResult>
        <WBNumber>string</WBNumber>
        <WBReturnNumber>string</WBReturnNumber>
      </EDCreateWaybill_Shipper_ReturnResult>
    </EDCreateWaybill_Shipper_ReturnResponse>
  </soap12:Body>
</soap12:Envelope>