EDClientsWebService
Click here for a complete list of operations.
CreateOrder_ShipperConsignee
Создание нового заказа.
Параметры:
RequestID - идентификатор запроса
CargoTakenDate - дата забора
OrderIntervalID - временной интервал для забора груза
ClientInfo - идентификатор отправки клиента
Shipper - идентификатор отправителя
Consignee - идентификатор получателя
Weight - вес (кг)
Package - количество мест
Cost - стоимость (руб)
Size - ДШВ (см)
Description - описание груза
Remarks - комментарий
IsOrderUrgent - срочность заказа
CostCenter - центр затрат
DeliveryCondition - особые условия доставки
IsWBRequired - требуется накладная
DeliveryComment - комментарий к доставке
WBNumber - номер накладной
Возвращает: номер заказа
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: stage-ed.major-express.ru
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ed.major-express.ru/CreateOrder_ShipperConsignee"
<?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>
<CreateOrder_ShipperConsignee xmlns="https://ed.major-express.ru/">
<RequestID>guid</RequestID>
<CargoTakenDate>dateTime</CargoTakenDate>
<OrderIntervalID>short</OrderIntervalID>
<ClientInfo>string</ClientInfo>
<Shipper>int</Shipper>
<Consignee>int</Consignee>
<Weight>decimal</Weight>
<Package>short</Package>
<Cost>decimal</Cost>
<Size>
<Length>int</Length>
<Width>int</Width>
<Height>int</Height>
</Size>
<Description>string</Description>
<Remarks>string</Remarks>
<IsOrderUrgent>boolean</IsOrderUrgent>
<CostCenter>int</CostCenter>
<DeliveryCondition>None or Promptly or Saturday or Return</DeliveryCondition>
<IsWBRequired>boolean</IsWBRequired>
<DeliveryComment>string</DeliveryComment>
<WBNumber>string</WBNumber>
</CreateOrder_ShipperConsignee>
</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>
<CreateOrder_ShipperConsigneeResponse xmlns="https://ed.major-express.ru/">
<CreateOrder_ShipperConsigneeResult>int</CreateOrder_ShipperConsigneeResult>
<WBNumber>string</WBNumber>
</CreateOrder_ShipperConsigneeResponse>
</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: stage-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>
<CreateOrder_ShipperConsignee xmlns="https://ed.major-express.ru/">
<RequestID>guid</RequestID>
<CargoTakenDate>dateTime</CargoTakenDate>
<OrderIntervalID>short</OrderIntervalID>
<ClientInfo>string</ClientInfo>
<Shipper>int</Shipper>
<Consignee>int</Consignee>
<Weight>decimal</Weight>
<Package>short</Package>
<Cost>decimal</Cost>
<Size>
<Length>int</Length>
<Width>int</Width>
<Height>int</Height>
</Size>
<Description>string</Description>
<Remarks>string</Remarks>
<IsOrderUrgent>boolean</IsOrderUrgent>
<CostCenter>int</CostCenter>
<DeliveryCondition>None or Promptly or Saturday or Return</DeliveryCondition>
<IsWBRequired>boolean</IsWBRequired>
<DeliveryComment>string</DeliveryComment>
<WBNumber>string</WBNumber>
</CreateOrder_ShipperConsignee>
</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>
<CreateOrder_ShipperConsigneeResponse xmlns="https://ed.major-express.ru/">
<CreateOrder_ShipperConsigneeResult>int</CreateOrder_ShipperConsigneeResult>
<WBNumber>string</WBNumber>
</CreateOrder_ShipperConsigneeResponse>
</soap12:Body>
</soap12:Envelope>