Поиск по сайту

API
Главная / API - Order

Order

Обновлено 04.10.2021

General information

To place an order/preorder (see below) use https://api.dellin.ru/v2/request method, see "Placing LTL orders"

Pre-orderIf a client wants to bring the cargo to the company terminal, they may place an order online, print the paper and bring it to the terminal. Thus they will be able to save time since the clients who placed a pre-order are served out of turn. For more information see Delovye Linii company website.
The examples may be used for testing, however in this case it is necessary to pass the unique "appkey", "sessionID", "members.requester.uid" and address book objects IDs ("addressID", "contactIDs", "phoneIDs"), as well as update the dates ("delivery.derival.produceDate" and "payment.cashOnDelivery.orderDate")

Example 1

The user is authorizedYes
The user role in transportation processSender
Delivery termsFrom the terminal of the sender to the terminal of the receiver
Transportation typeBy truck
Additional transport requirementsNo
Number of cargo places10
PackagingBag, 5 pc (1)
AdditionalSimplified shipping (2)
PayerReceiver

Notes:

  1. See "Directory of additional services".
  2. "members.receiver.counteragent.isAnonym" request parameter value is "true", see "Placing LTL orders". Delovye Linii company allows providing minimum information on the receiver - only name and phone number. In this case SMS with a code is sent to the phone number. The code is used to receive the goods

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-09-15",
         "variant":"terminal",
         "terminalID":"337"
      },
      "arrival":{
         "variant":"terminal",
         "terminalID":"59"
      },
      "packages":[
         {
            "uid":"0x947845D9BDC69EFA49630D8C080C4FBE",
            "count":5
         }
      ]
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"ЭЛЕКТРОКОНТАКТОР",
            "inn":"1502013069"
         },
         "contactPersons":[
            {
               "name":"Марат"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79187777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xab91feea04f6d4ad48df42161b6c2e7a",
            "isAnonym":true,
            "phone":"79227777777",
            "name":"Виталий"
         }
      }
   },
   "cargo":{
      "quantity":10,
      "length":0.7,
      "width":0.4,
      "height":0.5,
      "weight":8,
      "totalVolume":2,
      "totalWeight":80,
      "freightUID":"0x98086eae8b603ea911e5e1f3ed746e6b"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"receiver"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-15</produceDate>
         <variant>terminal</variant>
         <terminalID>337</terminalID>
      </derival>
      <arrival>
         <variant>terminal</variant>
         <terminalID>59</terminalID>
      </arrival>
      <packages>
         <uid>0x947845D9BDC69EFA49630D8C080C4FBE</uid>
         <count>5</count>
      </packages>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>ЭЛЕКТРОКОНТАКТОР</name>
            <inn>1502013069</inn>
         </counteragent>
         <contactPersons>
            <name>Марат</name>
         </contactPersons>
         <phoneNumbers>
            <number>79187777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xab91feea04f6d4ad48df42161b6c2e7a</form>
            <isAnonym>true</isAnonym>
            <phone>79227777777</phone>
            <name>Виталий</name>
         </counteragent>
      </receiver>
   </members>
   <cargo>
      <quantity>10</quantity>
      <length>0.7</length>
      <width>0.4</width>
      <height>0.5</height>
      <weight>8</weight>
      <totalVolume>2</totalVolume>
      <totalWeight>80</totalWeight>
      <freightUID>0x98086eae8b603ea911e5e1f3ed746e6b</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>receiver</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-15 17:18:14"
   },
   "data":{
      "state":"success",
      "requestID":24290275,
      "barcode":"4150946020402902750000021"
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-15 17:18:14</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>24290275</requestID>
      <barcode>4150946020402902750000021</barcode>
   </data>
</response>

Example 2

The user is authorizedYes
The user role in transportation processThird party
Delivery termsFrom the address of the sender to the address of the receiver
Transportation typeSmall cargo transportation (1)
Additional transport requirementsNo
Number of cargo places1
PackagingCardboard box (2)
AdditionalDelivery at the exact specified time (3)
Simplified shipping (4)
PayerReceiver

Notes:

  1. Small size cargo is the cargo with parameters that do not exceed the following values:

    • weight is less than or equal to 30 kg;
    • LWH is less than or equal to 0.54*0.39*0.39 m;
    • volume is less than or equal to 0.1 cubic meters.

    It is only possible to order Small Cargo Delivery service if there are Delovye Linii company terminals in the city of departure and city of arrival. For more information see company website.

  2. See "Directory of additional services".
  3. "delivery.arrival.time.exactTime" request parameter value is "true", see "Placing LTL orders".
  4. "members.receiver.counteragent.isAnonym" request parameter value is "true", see "Placing LTL orders". Delovye Linii company allows providing minimum information on the receiver - only name and phone number. In this case SMS with a code is sent to the phone number. The code is used to receive the goods

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"small"
      },
      "derival":{
         "produceDate":"2021-09-19",
         "variant":"address",
         "address":{
            "search":"Санкт-Петербург, ул Уральская, д 4"
         },
         "time":{
            "worktimeStart":"12:00",
            "worktimeEnd":"21:00"
         }
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"Краснодарский край, г Сочи, Олимпийский пр-т 15"
         },
         "time":{
            "worktimeStart":"16:00",
            "worktimeEnd":"16:30",
            "exactTime":true
         }
      },
      "packages":[
         {
            "uid":"0x82750921BC8128924D74F982DD961379",
            "count":1
         }
      ]
   },
   "members":{
      "requester":{
         "role":"third",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0x92ee03691f25a9fe4be9910cd87ca9ca",
            "name":"ГЕРОФАРМ",
            "inn":"7826043970"
         },
         "contactPersons":[
            {
               "name":"Плотников Владимир"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79317777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xab91feea04f6d4ad48df42161b6c2e7a",
            "isAnonym":true,
            "phone":"79287777777",
            "name":"Валерия"
         }
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.45,
      "width":0.25,
      "height":0.2,
      "totalVolume":0.02,
      "totalWeight":6.0,
      "hazardClass":0,
      "freightUID":"0xbc1dc60ddac5304d4a0f9b57e6810903"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"receiver"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>small</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-19</produceDate>
         <variant>address</variant>
         <address>
            <search>Санкт-Петербург, ул Уральская, д 4</search>
         </address>
         <time>
            <worktimeStart>12:00</worktimeStart>
            <worktimeEnd>21:00</worktimeEnd>
         </time>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>Краснодарский край, г Сочи, Олимпийский пр-т 15</search>
         </address>
         <time>
            <worktimeStart>16:00</worktimeStart>
            <worktimeEnd>16:30</worktimeEnd>
            <exactTime>true</exactTime>
         </time>
      </arrival>
      <packages>
         <uid>0x82750921BC8128924D74F982DD961379</uid>
         <count>1</count>
      </packages>
   </delivery>
   <members>
      <requester>
         <role>third</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0x92ee03691f25a9fe4be9910cd87ca9ca</form>
            <name>ГЕРОФАРМ</name>
            <inn>7826043970</inn>
         </counteragent>
         <contactPersons>
            <name>Плотников Владимир</name>
         </contactPersons>
         <phoneNumbers>
            <number>79317777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xab91feea04f6d4ad48df42161b6c2e7a</form>
            <isAnonym>true</isAnonym>
            <phone>79287777777</phone>
            <name>Валерия</name>
         </counteragent>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.45</length>
      <width>0.25</width>
      <height>0.2</height>
      <totalVolume>0.02</totalVolume>
      <totalWeight>6</totalWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0xbc1dc60ddac5304d4a0f9b57e6810903</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>receiver</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-16 19:30:20"
   },
   "data":{
      "state":"success",
      "requestID":400484230,
      "foundAddresses":[
         {
            "source":"Санкт-Петербург, ул Уральская, д 4",
            "result":"199155, Россия, г Санкт-Петербург, ул Уральская, дом 4",
            "field":"delivery.derival.address.search"
         },
         {
            "source":"Краснодарский край, г Сочи, Олимпийский пр-т 15",
            "result":"354340, Россия, край Краснодарский, г Сочи, пр-кт Олимпийский, дом 15",
            "field":"delivery.arrival.address.search"
         }
      ]
   }
}
<response>
	<metadata>
		<status>200</status>
		<generated_at>2021-09-16 19:30:20</generated_at>
	</metadata>
	<data>
		<state>success</state>
		<requestID>400484230</requestID>
		<foundAddresses>
			<source>Санкт-Петербург, ул Уральская, д 4</source>
			<result>199155, Россия, г Санкт-Петербург, ул Уральская, дом 4</result>
			<field>delivery.derival.address.search</field>
		</foundAddresses>
		<foundAddresses>
			<source>Краснодарский край, г Сочи, Олимпийский пр-т 15</source>
			<result>354340, Россия, край Краснодарский, г Сочи, пр-кт Олимпийский, дом 15</result>
			<field>delivery.arrival.address.search</field>
		</foundAddresses>
	</data>
</response>

Example 3

The user is authorizedYes
The user role in transportation processThird party
Delivery termsFrom the terminal of the sender to the address of the receiver 
Transportation typeBy truck
Additional transport requirementsNo
Number of cargo places1
PackagingPallet (1)
AdditionalForwarding of the accompanying documents (2)
Passing an internal order number (without selecting cash on delivery payment) (3)
PayerReceiver (the receiver is an individual, the request contains personal ID data)

Notes:

  1. See "Directory of additional services".
  2. "delivery.accompanyingDocuments.action" parameter is passed in the request, see "Placing LTL orders".
  3. "payment.cashOnDelivery.orderNumber" parameter with the "send" values is passed in the request, see "Placing LTL orders"

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-10-11",
         "variant":"terminal",
         "terminalID":"22"
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"630512, Новосибирская обл., Новосибирск, 2-я Экскаваторная ул., 1, стр. 1"
         },
         "time":{
            "worktimeStart":"12:00",
            "worktimeEnd":"21:00"
         }
      },
      "packages":[
         {
            "uid":"0xA0A820F33B2F93FE44C8058B65C77D0F"
         }
      ],
      "accompanyingDocuments":[
         {
            "action":"send",
            "payer":"sender"
         }
      ]
   },
   "members":{
      "requester":{
         "role":"third",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"ТПЗ",
            "inn":"7105008338"
         },
         "contactPersons":[
            {
               "name":"Лебедев Алексей"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79287777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xab91feea04f6d4ad48df42161b6c2e7a",
            "name":"Темников Сергей",
            "document":{
               "type":"passport",
               "serial":"4012",
               "number":"123456"
            }
         },
         "contactPersons":[
            {
               "name":"Темников Сергей"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79237777777"
            }
         ],
         "dataForReceipt":{
            "send":true,
            "email":"mail@test.ru"
         }
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.55,
      "width":0.4,
      "height":0.3,
      "totalVolume":0.07,
      "totalWeight":32,
      "freightUID":"0x86f5acdb4fdf9a804fbc8c133da1bfdd"
   },
   "payment":{
      "type":"cash",
      "primaryPayer":"receiver",
      "cashOnDelivery":[
         {
            "orderNumber":"ТД-00361447"
         }
      ]
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-10-11</produceDate>
         <variant>terminal</variant>
         <terminalID>22</terminalID>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>630512, Новосибирская обл., Новосибирск, 2-я Экскаваторная ул., 1, стр. 1</search>
         </address>
         <time>
            <worktimeStart>12:00</worktimeStart>
            <worktimeEnd>21:00</worktimeEnd>
         </time>
      </arrival>
      <packages>
         <uid>0xA0A820F33B2F93FE44C8058B65C77D0F</uid>
      </packages>
      <accompanyingDocuments>
         <action>send</action>
         <payer>sender</payer>
      </accompanyingDocuments>
   </delivery>
   <members>
      <requester>
         <role>third</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>ТПЗ</name>
            <inn>7105008338</inn>
         </counteragent>
         <contactPersons>
            <name>Лебедев Алексей</name>
         </contactPersons>
         <phoneNumbers>
            <number>79287777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xab91feea04f6d4ad48df42161b6c2e7a</form>
            <name>Темников Сергей</name>
            <document>
               <type>passport</type>
               <serial>4012</serial>
               <number>123456</number>
            </document>
         </counteragent>
         <contactPersons>
            <name>Темников Сергей</name>
         </contactPersons>
         <phoneNumbers>
            <number>79237777777</number>
         </phoneNumbers>
         <dataForReceipt>
            <send>true</send>
            <email>mail@test.ru</email>
         </dataForReceipt>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.55</length>
      <width>0.4</width>
      <height>0.3</height>
      <totalVolume>0.07</totalVolume>
      <totalWeight>32</totalWeight>
      <freightUID>0x86f5acdb4fdf9a804fbc8c133da1bfdd</freightUID>
   </cargo>
   <payment>
      <type>cash</type>
      <primaryPayer>receiver</primaryPayer>
      <cashOnDelivery>
         <orderNumber>ТД-00361447</orderNumber>
      </cashOnDelivery>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-06 17:14:01"
   },
   "data":{
      "state":"success",
      "requestID":400478608,
      "barcode":"4151046040000478608000021",
      "foundAddresses":[
         {
            "source":"630512, Новосибирская обл., Новосибирск, 2-я Экскаваторная ул., 1, стр. 1",
            "result":"630041, Россия, обл Новосибирская, г Новосибирск, ул 2-я Экскаваторная, дом 1, стр. 1",
            "field":"delivery.arrival.address.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-06 17:14:01</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>400478608</requestID>
      <barcode>4151046040000478608000021</barcode>
      <foundAddresses>
         <source>630512, Новосибирская обл., Новосибирск, 2-я Экскаваторная ул., 1, стр. 1</source>
         <result>630041, Россия, обл Новосибирская, г Новосибирск, ул 2-я Экскаваторная, дом 1, стр. 1</result>
         <field>delivery.arrival.address.search</field>
      </foundAddresses>
   </data>
</response>

Example 4

The user is authorizedNo
The user role in transportation processSender
Delivery termsFrom the address of the sender to the address of the receiver
Transportation typeBy truck
Additional transport requirementsNo
Number of cargo places1
PackagingNo 
AdditionalOversize cargo transportation (1)
The driver must visit two addresses while picking up the cargo
PayerThe primary payer is the third party, however the delivery to address is paid by the sender (2)

Notes:

  1. The oversized cargo is the cargo with the weight that is greater than or equals to 100 kg (80 kg in case of air transportation) or one of the dimensions (L x W x H) is greater than or equals to 3 m (80 cm in case of air transportation).
  2. "delivery.arrival.sender" parameter is passed in the request, see "Placing LTL orders"

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-09-28",
         "variant":"address",
         "address":{
            "search":"Россия, Курганская обл., Старый Просвет, ул. Томина, д. 6"
         },
         "time":{
            "worktimeStart":"11:00",
            "worktimeEnd":"18:00"
         },
         "additionalAddress":{
            "address":{
               "search":"Россия, Курганская обл., Иковка, ул. Заезжая, д. 4"
            }
         }
      },
      "arrival":{
         "variant":"address",
         "payer":"sender",
         "address":{
            "search":"Россия, Пермский край, Пермь, ул. Якутская, д. 35"
         },
         "time":{
            "worktimeStart":"15:00",
            "worktimeEnd":"19:00"
         }
      }
   },
   "members":{
      "requester":{
         "role":"sender",
         "email":"example@mail.ru"
      },
      "sender":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"НПО КУРГАНПРИБОР",
            "inn":"4501129676"
         },
         "contactPersons":[
            {
               "name":"Кузнецов Денис"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79127777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"ПЗ МАШ, АО ПЕРМСКИЙ ЗАВОД МАШИНОСТРОИТЕЛЬ",
            "inn":"5906075029"
         },
         "contactPersons":[
            {
               "name":"Шитов Николай"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79127777777"
            }
         ]
      },
      "third":{
         "counteragent":{
            "form":"0x8390b2048d37e0154b845fb22793e865",
            "name":"ТВЕРЬСТЕКЛОПЛАСТИК",
            "inn":"7731535300"
         },
         "contactPersons":[
            {
               "name":"Дмитрий"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79257777777"
            }
         ]
      }
   },
   "cargo":{
      "quantity":1,
      "length":3.1,
      "width":0.6,
      "height":0.5,
      "totalVolume":0.93,
      "totalWeight":80,
      "oversizedWeight":80,
      "oversizedVolume":0.93,
      "freightUID":"0xa5c40f5bcfd84f904f3c1104d3b4ae2d"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"third",
      "paymentCitySearch":{
         "search":"Тверь"
      }
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-28</produceDate>
         <variant>address</variant>
         <address>
            <search>Россия, Курганская обл., Старый Просвет, ул. Томина, д. 6</search>
         </address>
         <time>
            <worktimeStart>11:00</worktimeStart>
            <worktimeEnd>18:00</worktimeEnd>
         </time>
         <additionalAddress>
            <address>
               <search>Россия, Курганская обл., Иковка, ул. Заезжая, д. 4</search>
            </address>
         </additionalAddress>
      </derival>
      <arrival>
         <variant>address</variant>
         <payer>sender</payer>
         <address>
            <search>Россия, Пермский край, Пермь, ул. Якутская, д. 35</search>
         </address>
         <time>
            <worktimeStart>15:00</worktimeStart>
            <worktimeEnd>19:00</worktimeEnd>
         </time>
      </arrival>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <email>example@mail.ru</email>
      </requester>
      <sender>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>НПО КУРГАНПРИБОР</name>
            <inn>4501129676</inn>
         </counteragent>
         <contactPersons>
            <name>Кузнецов Денис</name>
         </contactPersons>
         <phoneNumbers>
            <number>79127777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>ПЗ МАШ, АО ПЕРМСКИЙ ЗАВОД МАШИНОСТРОИТЕЛЬ</name>
            <inn>5906075029</inn>
         </counteragent>
         <contactPersons>
            <name>Шитов Николай</name>
         </contactPersons>
         <phoneNumbers>
            <number>79127777777</number>
         </phoneNumbers>
      </receiver>
      <third>
         <counteragent>
            <form>0x8390b2048d37e0154b845fb22793e865</form>
            <name>ТВЕРЬСТЕКЛОПЛАСТИК</name>
            <inn>7731535300</inn>
         </counteragent>
         <contactPersons>
            <name>Дмитрий</name>
         </contactPersons>
         <phoneNumbers>
            <number>79257777777</number>
         </phoneNumbers>
      </third>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>3.1</length>
      <width>0.6</width>
      <height>0.5</height>
      <totalVolume>0.93</totalVolume>
      <totalWeight>80</totalWeight>
      <oversizedWeight>80</oversizedWeight>
      <oversizedVolume>0.93</oversizedVolume>
      <freightUID>0xa5c40f5bcfd84f904f3c1104d3b4ae2d</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>third</primaryPayer>
      <paymentCitySearch>
         <search>Тверь</search>
      </paymentCitySearch>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-17 13:42:26"
   },
   "data":{
      "state":"success",
      "requestID":400484632,
      "foundAddresses":[
         {
            "source":"Россия, Курганская обл., Старый Просвет, ул. Томина, д. 6",
            "result":"641327, Россия, обл Курганская, р-н Кетовский, п Старый Просвет, ул Томина, дом 6",
            "field":"delivery.derival.address.search"
         },
         {
            "source":"Россия, Курганская обл., Иковка, ул. Заезжая, д. 4",
            "result":"641316, Россия, обл Курганская, р-н Кетовский, с Иковка, ул Заезжая, дом 4",
            "field":"delivery.derival.additionalAddress.address.search"
         },
         {
            "source":"Россия, Пермский край, Пермь, ул. Якутская, д. 35",
            "result":"614067, Россия, край Пермский, г Пермь, ул Якутская, дом 35",
            "field":"delivery.arrival.address.search"
         },
         {
            "source":"Тверь",
            "result":"Россия, обл Тверская, г Тверь",
            "field":"payment.paymentCitySearch.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-17 13:42:26</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>400484632</requestID>
      <foundAddresses>
         <source>Россия, Курганская обл., Старый Просвет, ул. Томина, д. 6</source>
         <result>641327, Россия, обл Курганская, р-н Кетовский, п Старый Просвет, ул Томина, дом 6</result>
         <field>delivery.derival.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>Россия, Курганская обл., Иковка, ул. Заезжая, д. 4</source>
         <result>641316, Россия, обл Курганская, р-н Кетовский, с Иковка, ул Заезжая, дом 4</result>
         <field>delivery.derival.additionalAddress.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>Россия, Пермский край, Пермь, ул. Якутская, д. 35</source>
         <result>614067, Россия, край Пермский, г Пермь, ул Якутская, дом 35</result>
         <field>delivery.arrival.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>Тверь</source>
         <result>Россия, обл Тверская, г Тверь</result>
         <field>payment.paymentCitySearch.search</field>
      </foundAddresses>
   </data>
</response>

Example 5

The user is authorizedYes
The user role in transportation processSender
Delivery terms

From the address of the sender to the address of the receiver.

Transportation typeAir transportation
Additional transport requirementsAt the sender's address - tail lift (lifting platform) (1)
Number of cargo places1
PackagingNo
Additional The pass is required to enter the premises of the sender (2)
Information on declared value of the cargo is submitted (3)
PayerSender

Notes:

  1. See "Directory of special transport requirements".
  2. "delivery.derival.pickupParams.derivalDriverPass" parameter is passed in the request, see "Placing LTL orders".
  3. "cargo.insurance.statedValued" parameter is passed in the request, see "Placing LTL orders"

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"avia"
      },
      "derival":{
         "produceDate":"2021-09-22",
         "variant":"address",
         "address":{
            "search":"Россия, Тверь, наб Реки Лазури, д. 16"
         },
         "time":{
            "worktimeStart":"09:00",
            "worktimeEnd":"18:00"
         },
         "pickupParams":{
            "derivalDriverPass":1
         },
         "requirements":[
            "0x92fce2284f000b0241dad7c2e88b1655"
         ]
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"Республика Татарстан, Набережные челны, ул Незаметдинова, д. 2"
         },
         "time":{
            "worktimeStart":"12:00",
            "worktimeEnd":"21:00"
         }
      }
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0x8390b2048d37e0154b845fb22793e865",
            "name":"ТВЕРЬСТЕКЛОПЛАСТИК",
            "inn":"7731535300"
         },
         "contactPersons":[
            {
               "name":"Дмитрий"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79257777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0x85926edddbe862f9428fcfaf2523ff5e",
            "name":"КАМАЗ",
            "inn":"1650032058"
         },
         "contactPersons":[
            {
               "name":"Борис Николаевич"
            },
            {
               "name":"Юлия"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79277777777"
            }
         ]
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.5,
      "width":0.2,
      "height":0.3,
      "totalVolume":0.03,
      "totalWeight":30,
      "insurance":{
         "statedValue":450000.00
      },
      "freightUID":"0xa2eea3dd15ed7edd46ccdf5f1743c030"
   },
   "payment":{
      "type":"cash",
      "primaryPayer":"sender"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>avia</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-22</produceDate>
         <variant>address</variant>
         <address>
            <search>Россия, Тверь, наб Реки Лазури, д. 16</search>
         </address>
         <time>
            <worktimeStart>09:00</worktimeStart>
            <worktimeEnd>18:00</worktimeEnd>
         </time>
         <pickupParams>
            <derivalDriverPass>1</derivalDriverPass>
         </pickupParams>
         <requirements>0x92fce2284f000b0241dad7c2e88b1655</requirements>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>Республика Татарстан, Набережные челны, ул Незаметдинова, д. 2</search>
         </address>
         <time>
            <worktimeStart>12:00</worktimeStart>
            <worktimeEnd>21:00</worktimeEnd>
         </time>
      </arrival>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0x8390b2048d37e0154b845fb22793e865</form>
            <name>ТВЕРЬСТЕКЛОПЛАСТИК</name>
            <inn>7731535300</inn>
         </counteragent>
         <contactPersons>
            <name>Дмитрий</name>
         </contactPersons>
         <phoneNumbers>
            <number>79257777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0x85926edddbe862f9428fcfaf2523ff5e</form>
            <name>КАМАЗ</name>
            <inn>1650032058</inn>
         </counteragent>
         <contactPersons>
            <name>Борис Николаевич</name>
         </contactPersons>
         <contactPersons>
            <name>Юлия</name>
         </contactPersons>
         <phoneNumbers>
            <number>79277777777</number>
         </phoneNumbers>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.5</length>
      <width>0.2</width>
      <height>0.3</height>
      <totalVolume>0.03</totalVolume>
      <totalWeight>30</totalWeight>
      <insurance>
         <statedValue>450000</statedValue>
      </insurance>
      <freightUID>0xa2eea3dd15ed7edd46ccdf5f1743c030</freightUID>
   </cargo>
   <payment>
      <type>cash</type>
      <primaryPayer>sender</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-15 18:38:58"
   },
   "data":{
      "state":"success",
      "requestID":400484045,
      "foundAddresses":[
         {
            "source":"Россия, Тверь, наб Реки Лазури, д. 16",
            "result":"Россия, обл Тверская, г Тверь, наб Реки Лазури, дом 16",
            "field":"delivery.derival.address.search"
         },
         {
            "source":"Республика Татарстан, Набережные челны, ул Незаметдинова, д. 2",
            "result":"423806, Россия, Респ Татарстан, г Набережные Челны, ул им Низаметдинова Р.М., дом 2",
            "field":"delivery.arrival.address.search"
         }
      ]
   }
}
<response>
	<metadata>
		<status>200</status>
		<generated_at>2021-09-15 18:38:58</generated_at>
	</metadata>
	<data>
		<state>success</state>
		<requestID>400484045</requestID>
		<foundAddresses>
			<source>Россия, Тверь, наб Реки Лазури, д. 16</source>
			<result>Россия, обл Тверская, г Тверь, наб Реки Лазури, дом 16</result>
			<field>delivery.derival.address.search</field>
		</foundAddresses>
		<foundAddresses>
			<source>Республика Татарстан, Набережные челны, ул Незаметдинова, д. 2</source>
			<result>423806, Россия, Респ Татарстан, г Набережные Челны, ул им Низаметдинова Р.М., дом 2</result>
			<field>delivery.arrival.address.search</field>
		</foundAddresses>
	</data>
</response>

Example 6

The user is authorizedYes
The user role in transportation processSender
Delivery termsFrom the terminal of the sender to the address of the receiver
Transportation typeBy truck
Additional transport requirementsNo
Number of cargo places1
PackagingPallet (1)
Additional Cargo handling at the receiver's address (2)
Simplified shipping (3)
Information on client's waybill number is passed in the request (4)
PayerReceiver

Notes:

  1. See "Directory of additional services".
  2. "delivery.arrival.handling" parameter is passed in the request (see "Placing LTL orders").
  3. "members.receiver.counteragent.isAnonym" request parameter value is "true", see "Placing LTL orders". Delovye Linii company allows providing minimum information on the receiver - only name and phone number. In this case SMS with a code is sent to the phone number. The code is used to receive the goods.
  4. "cargoCode" parameter is passed in the request (see "Placing LTL orders"), since the client is using Pre-Alert solution

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-09-19",
         "variant":"terminal",
         "terminalID":"36"
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"Россия, Сахалинская обл, Поронайск, ул. Ленина, д. 7"
         },
         "time":{
            "worktimeStart":"16:00",
            "worktimeEnd":"22:00"
         },
         "handling":{
            "freightLift":false,
            "toFloor":3,
            "carry":50
         }
      },
      "packages":[
         {
            "uid":"0xA0A820F33B2F93FE44C8058B65C77D0F"
         }
      ]
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0xaa9042fea4fa169d4d021c6941f2090f",
            "name":"Коростелев Константин Владимирович",
            "inn":"433402450090"
         },
         "contactPersons":[
            {
               "name":"Виктор"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79197777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xab91feea04f6d4ad48df42161b6c2e7a",
            "isAnonym":true,
            "phone":"79247777777",
            "name":"Андрей"
         }
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.45,
      "width":0.25,
      "height":0.2,
      "totalVolume":0.1,
      "totalWeight":6.0,
      "hazardClass":0,
      "freightUID":"0x91205ca097b27d3442247e5cee5abb33"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"receiver"
   },
   "cargoCode":"9379992"
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-19</produceDate>
         <variant>terminal</variant>
         <terminalID>36</terminalID>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>Россия, Сахалинская обл, Поронайск, ул. Ленина, д. 7</search>
         </address>
         <time>
            <worktimeStart>16:00</worktimeStart>
            <worktimeEnd>22:00</worktimeEnd>
         </time>
         <handling>
            <freightLift>false</freightLift>
            <toFloor>3</toFloor>
            <carry>50</carry>
         </handling>
      </arrival>
      <packages>
         <uid>0xA0A820F33B2F93FE44C8058B65C77D0F</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0xaa9042fea4fa169d4d021c6941f2090f</form>
            <name>Коростелев Константин Владимирович</name>
            <inn>433402450090</inn>
         </counteragent>
         <contactPersons>
            <name>Виктор</name>
         </contactPersons>
         <phoneNumbers>
            <number>79197777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xab91feea04f6d4ad48df42161b6c2e7a</form>
            <isAnonym>true</isAnonym>
            <phone>79247777777</phone>
            <name>Андрей</name>
         </counteragent>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.45</length>
      <width>0.25</width>
      <height>0.2</height>
      <totalVolume>0.1</totalVolume>
      <totalWeight>6</totalWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0x91205ca097b27d3442247e5cee5abb33</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>receiver</primaryPayer>
   </payment>
   <cargoCode>9379992</cargoCode>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-17 10:38:39"
   },
   "data":{
      "state":"success",
      "requestID":400484530,
      "barcode":"41510460400004845D0000021",
      "foundAddresses":[
         {
            "source":"Россия, Сахалинская обл, Поронайск, ул. Ленина, д. 7",
            "result":"694240, Россия, обл Сахалинская, р-н Поронайский, г Поронайск, ул Ленина, дом 7",
            "field":"delivery.arrival.address.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-17 10:38:39</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>400484530</requestID>
      <barcode>41510460400004845D0000021</barcode>
      <foundAddresses>
         <source>Россия, Сахалинская обл, Поронайск, ул. Ленина, д. 7</source>
         <result>694240, Россия, обл Сахалинская, р-н Поронайский, г Поронайск, ул Ленина, дом 7</result>
         <field>delivery.arrival.address.search</field>
      </foundAddresses>
   </data>
</response>

Example 7

The user is authorizedYes
The user role in transportation processSender
Delivery termsFrom the terminal of the sender to the terminal of the receiver
Transportation typeLetter
Additional transport requirementsNo
Number of cargo places-
PackagingNo
Additional-
PayerSender

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"letter"
      },
      "derival":{
         "produceDate":"2021-09-15",
         "variant":"terminal",
         "terminalID":"18"
      },
      "arrival":{
         "variant":"terminal",
         "terminalID":"626"
      }
   },
   "members":{
      "requester":{
         "role":"sender",
         "UID":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0x92ee03691f25a9fe4be9910cd87ca9ca",
            "name":"КОМУС",
            "inn":"7721793895"
         },
         "contactPersons":[
            {
               "name":"Королев Андрей"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79167777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"САХАНЕФТЕГАЗСБЫТ",
            "inn":"1435115270"
         },
         "contactPersons":[
            {
               "name":"Петров Николай"
            }
         ],
         "phoneNumbers":[
            {
               "number":"+74117777777"
            }
         ]
      }
   },
   "cargo":{
      "freightUID":"0x98086eae8b603ea911e5e1f24fc0f5e4"
   },
   "payment":{
      "type":"cash",
      "primaryPayer":"sender"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>letter</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-15</produceDate>
         <variant>terminal</variant>
         <terminalID>18</terminalID>
      </derival>
      <arrival>
         <variant>terminal</variant>
         <terminalID>626</terminalID>
      </arrival>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <UID>00000000-0000-0000-0000-000000000000</UID>
      </requester>
      <sender>
         <counteragent>
            <form>0x92ee03691f25a9fe4be9910cd87ca9ca</form>
            <name>КОМУС</name>
            <inn>7721793895</inn>
         </counteragent>
         <contactPersons>
            <name>Королев Андрей</name>
         </contactPersons>
         <phoneNumbers>
            <number>79167777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>САХАНЕФТЕГАЗСБЫТ</name>
            <inn>1435115270</inn>
         </counteragent>
         <contactPersons>
            <name>Петров Николай</name>
         </contactPersons>
         <phoneNumbers>
            <number>+74117777777</number>
         </phoneNumbers>
      </receiver>
   </members>
   <cargo>
      <freightUID>0x98086eae8b603ea911e5e1f24fc0f5e4</freightUID>
   </cargo>
   <payment>
      <type>cash</type>
      <primaryPayer>sender</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-15 14:23:05"
   },
   "data":{
      "state":"success",
      "requestID":24283784,
      "barcode":"41509460204028D8290000011"
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-15 14:23:05</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>24283784</requestID>
      <barcode>41509460204028D8290000011</barcode>
   </data>
</response>

Example 8

The user is authorizedYes
The user role in transportation processSender
Delivery terms

From the terminal of the sender to the airport (delivering to а city without Delovye Linii company branch)

Transportation typeAir transportation
Additional transport requirementsNo
Number of cargo places1
PackagingWooden crate (1)
AdditionalInformation on declared value of the cargo is submitted (2)
PayerSender

Notes:

  1. See "Directory of additional services".
  2. "cargo.insurance.statedValued" parameter is passed in the request, see "Placing LTL orders"

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"avia"
      },
      "derival":{
         "produceDate":"2021-09-21",
         "variant":"terminal",
         "terminalID":"58"
      },
      "arrival":{
         "variant":"airport",
         "city":"4900000100000000000000000"
      },
      "packages":[
         {
            "uid":"0xA6A7BD2BF950E67F4B2CF7CC3A97C111"
         }
      ]
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0x92ee03691f25a9fe4be9910cd87ca9ca",
            "name":"КАРЕЛЬСКАЯ ФАНЕРА",
            "inn":"1012012299"
         },
         "contactPersons":[
            {
               "name":"Евегений"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79317777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0x92ee03691f25a9fe4be9910cd87ca9ca",
            "name":"АРГО-МЕБЕЛЬ",
            "inn":"4909907636"
         },
         "contactPersons":[
            {
               "name":"Кудрявцева Елена"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79147777777"
            }
         ]
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.75,
      "width":0.5,
      "height":0.6,
      "totalVolume":0.22,
      "totalWeight":75,
      "insurance":{
         "statedValue":120000.00
      },
      "freightUID":"0xa2eea3dd15ed7edd46ccdf5f1743c030"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"sender"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>avia</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-21</produceDate>
         <variant>terminal</variant>
         <terminalID>58</terminalID>
      </derival>
      <arrival>
         <variant>airport</variant>
         <city>4900000100000000000000000</city>
      </arrival>
      <packages>
         <uid>0xA6A7BD2BF950E67F4B2CF7CC3A97C111</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0x92ee03691f25a9fe4be9910cd87ca9ca</form>
            <name>КАРЕЛЬСКАЯ ФАНЕРА</name>
            <inn>1012012299</inn>
         </counteragent>
         <contactPersons>
            <name>Евегений</name>
         </contactPersons>
         <phoneNumbers>
            <number>79317777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0x92ee03691f25a9fe4be9910cd87ca9ca</form>
            <name>АРГО-МЕБЕЛЬ</name>
            <inn>4909907636</inn>
         </counteragent>
         <contactPersons>
            <name>Кудрявцева Елена</name>
         </contactPersons>
         <phoneNumbers>
            <number>79147777777</number>
         </phoneNumbers>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.75</length>
      <width>0.5</width>
      <height>0.6</height>
      <totalVolume>0.22</totalVolume>
      <totalWeight>75</totalWeight>
      <insurance>
         <statedValue>120000</statedValue>
      </insurance>
      <freightUID>0xa2eea3dd15ed7edd46ccdf5f1743c030</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>sender</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-15 16:32:37"
   },
   "data":{
      "state":"success",
      "requestID":24288751,
      "barcode":"4150946020402887510000021"
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-15 16:32:37</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>24288751</requestID>
      <barcode>4150946020402887510000021</barcode>
   </data>
</response>

Example 9

The user is authorizedYes
The user role in transportation processSender
Delivery terms

From the address of the sender to the terminal of the receiver

Transportation typeExpress shipping
Additional transport requirementsNo
Number of cargo places1
PackagingNo
AdditionalThe example illustrates the use of address book data to pass information on addresses (sender's, receiver's) and counteragents (sender, receiver)
It is necessary to give a sender a notify call an hour before the arrival of the forwarding driver (1)
To receive the goods from the sender the forwarding driver must indicate the shipment number (2)
To receive the goods from the sender the forwarding driver must show the passport (3)
PayerReceiver

Notes:

  1. "derival.pickupParams.priorCall" request parameter value is "true", see "Placing LTL orders".
  2. "derival.pickupParams.shipmentDerival" is passed in the request, see "Placing LTL orders".
  3. The UID of the passport (see "Documents for receipt of cargo" directory) is passed as the value of "Derval.pickupParams.documentsForReceive" request parameter (see "Placing LTL orders")

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"express"
      },
      "derival":{
         "produceDate":"2021-10-01",
         "variant":"address",
         "addressID":"129020",
         "time":{
            "worktimeStart":"10:00",
            "worktimeEnd":"18:00"
         },
         "pickupParams":{
            "shipmentDerival":"АБ1000222",
            "priorCall":true,
            "documentsForReceive":[
               "0xba3a669e1ea63f7443622bd0c9c83a80"
            ]
         }
      },
      "arrival":{
         "variant":"address",
         "addressID":"129022",
         "time":{
            "worktimeStart":"16:00",
            "worktimeEnd":"20:00"
         }
      }
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragentID":49781,
         "contactIDs":[
            "252996"
         ],
         "phoneIDs":[
            "250664"
         ]
      },
      "receiver":{
         "counteragentID":57394,
         "contactIDs":[
            "252997"
         ],
         "phoneIDs":[
            "250665"
         ]
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.5,
      "width":0.2,
      "height":0.3,
      "totalVolume":1.0,
      "totalWeight":6.0,
      "hazardClass":0,
      "freightUID":"0xa2eea3dd15ed7edd46ccdf5f1743c030"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"receiver"
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>express</type>
      </deliveryType>
      <derival>
         <produceDate>2021-10-01</produceDate>
         <variant>address</variant>
         <addressID>129020</addressID>
         <time>
            <worktimeStart>10:00</worktimeStart>
            <worktimeEnd>18:00</worktimeEnd>
         </time>
         <pickupParams>
            <shipmentDerival>АБ1000222</shipmentDerival>
            <priorCall>true</priorCall>
            <documentsForReceive>0xba3a669e1ea63f7443622bd0c9c83a80</documentsForReceive>
         </pickupParams>
      </derival>
      <arrival>
         <variant>address</variant>
         <addressID>129022</addressID>
         <time>
            <worktimeStart>16:00</worktimeStart>
            <worktimeEnd>20:00</worktimeEnd>
         </time>
      </arrival>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragentID>49781</counteragentID>
         <contactIDs>252996</contactIDs>
         <phoneIDs>250664</phoneIDs>
      </sender>
      <receiver>
         <counteragentID>57394</counteragentID>
         <contactIDs>252997</contactIDs>
         <phoneIDs>250665</phoneIDs>
      </receiver>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.5</length>
      <width>0.2</width>
      <height>0.3</height>
      <totalVolume>1</totalVolume>
      <totalWeight>6</totalWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0xa2eea3dd15ed7edd46ccdf5f1743c030</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>receiver</primaryPayer>
   </payment>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-09-23 13:13:27"
   },
   "data":{
      "state":"success",
      "requestID":400487002
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-23 13:13:27</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>400487002</requestID>
   </data>
</response>

Example 10

The user is authorizedYes
The user role in transportation processSender
Delivery terms

From the address of the sender (1) to the terminal of the receiver

Transportation typeBy truck
Additional transport requirementsCrane (2)
Number of cargo places1
PackagingWooden crate (3)
Additional 

-

PayerReceiver, cash on delivery

Notes:

  1. The example illustrates the use of CLADR codes to identify the addresses. CLADR stands for Classifier of Addresses of the Russian Federation. To get CLADR code use services listed on "CLADR search" page.
  2. See "Directory of special transport requirements".
  3. See "Directory of additional services"

Request

Method address: https://api.dellin.ru/v2/request.json 

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "inOrder":true,
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-09-20",
         "variant":"address",
         "address":{
            "street":"7800000000013290000000000",
            "house":"23",
            "flat":"29",
            "save":true
         },
         "time":{
            "worktimeStart":"12:00",
            "worktimeEnd":"21:00"
         },
         "requirements":[
            "0x88f93a2c37f106d94ff9f7ada8efe886"
         ]
      },
      "arrival":{
         "variant":"terminal",
         "terminalID":"651"
      },
      "packages":[
         {
            "uid":"0xA6A7BD2BF950E67F4B2CF7CC3A97C111"
         }
      ]
   },
   "members":{
      "requester":{
         "role":"sender",
         "uid":"00000000-0000-0000-0000-000000000000"
      },
      "sender":{
         "counteragent":{
            "form":"0xbc1e63c5f81187e244490a5afd657cbd",
            "name":"ЭЛЕКТРОКОНТАКТОР",
            "inn":"7842463725"
         },
         "contactPersons":[
            {
               "name":"Марат"
            }
         ],
         "phoneNumbers":[
            {
               "number":"79187777777"
            }
         ]
      },
      "receiver":{
         "counteragent":{
            "form":"0xab91feea04f6d4ad48df42161b6c2e7a",
            "isAnonym":true,
            "phone":"79227777777",
            "name":"Виталий"
         }
      }
   },
   "cargo":{
      "quantity":10,
      "length":0.7,
      "width":0.4,
      "height":0.5,
      "weight":8,
      "totalVolume":2,
      "totalWeight":80,
      "freightUID":"0x98086eae8b603ea911e5e1f3ed746e6b"
   },
   "payment":{
      "type":"noncash",
      "primaryPayer":"receiver",
      "cashOnDelivery":[
         {
            "orderNumber":"858596",
            "orderDate":"2021-09-20",
            "paymentType":"cash",
            "products":[
               {
                  "productName":"Трансформатор",
                  "productCode":"Т-2100",
                  "productAmount":"1",
                  "costWithVAT":"75000.00",
                  "VATRate":20
               }
            ]
         }
      ]
   }
}

Method address: https://api.dellin.ru/v2/request.xml

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <inOrder>true</inOrder>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-20</produceDate>
         <variant>address</variant>
         <address>
            <street>7800000000013290000000000</street>
            <house>23</house>
            <flat>29</flat>
            <save>true</save>
         </address>
         <time>
            <worktimeStart>12:00</worktimeStart>
            <worktimeEnd>21:00</worktimeEnd>
         </time>
         <requirements>0x88f93a2c37f106d94ff9f7ada8efe886</requirements>
      </derival>
      <arrival>
         <variant>terminal</variant>
         <terminalID>651</terminalID>
      </arrival>
      <packages>
         <uid>0xA6A7BD2BF950E67F4B2CF7CC3A97C111</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <role>sender</role>
         <uid>00000000-0000-0000-0000-000000000000</uid>
      </requester>
      <sender>
         <counteragent>
            <form>0xbc1e63c5f81187e244490a5afd657cbd</form>
            <name>ЭЛЕКТРОКОНТАКТОР</name>
            <inn>7842463725</inn>
         </counteragent>
         <contactPersons>
            <name>Марат</name>
         </contactPersons>
         <phoneNumbers>
            <number>79187777777</number>
         </phoneNumbers>
      </sender>
      <receiver>
         <counteragent>
            <form>0xab91feea04f6d4ad48df42161b6c2e7a</form>
            <isAnonym>true</isAnonym>
            <phone>79227777777</phone>
            <name>Виталий</name>
         </counteragent>
      </receiver>
   </members>
   <cargo>
      <quantity>10</quantity>
      <length>0.7</length>
      <width>0.4</width>
      <height>0.5</height>
      <weight>8</weight>
      <totalVolume>2</totalVolume>
      <totalWeight>80</totalWeight>
      <freightUID>0x98086eae8b603ea911e5e1f3ed746e6b</freightUID>
   </cargo>
   <payment>
      <type>noncash</type>
      <primaryPayer>receiver</primaryPayer>
      <cashOnDelivery>
         <orderNumber>858596</orderNumber>
         <orderDate>2021-09-20</orderDate>
         <paymentType>cash</paymentType>
         <products>
            <productName>Трансформатор</productName>
            <productCode>Т-2100</productCode>
            <productAmount>1</productAmount>
            <costWithVAT>75000.00</costWithVAT>
            <VATRate>20</VATRate>
         </products>
      </cashOnDelivery>
   </payment>
</request>

Response

{
    "metadata": {
        "status": 200,
        "generated_at": "2021-09-17 14:53:17"
    },
    "data": {
        "state": "success",
        "requestID": 400484656
    }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-09-17 14:53:17</generated_at>
   </metadata>
   <data>
      <state>success</state>
      <requestID>400484656</requestID>
   </data>
</response>