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

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

Calculation

Обновлено 04.10.2021
231 кб

General information

To calculate the cost of transportation use https://api.dellin.ru/v2/calculator method, for method's description, see "Shipping cost and time calculator".

Example 1

The user is authorizedYes (1)
The user role in transportation processReceiver
Delivery termsFrom the address of the sender to the address of the receiver
Transportation typeBy truck
Handling-
Additional transport requirementsCrane (2)
Number of cargo places1
PackagingPallet (3)
Additional services-

Notes:

  1. Individual client discounts will be taken into account when calculating the cost of the services.

  2. See "Directory of special transport requirements".
  3. See "Directory of additional services"

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-09-03",
         "variant":"address",
         "address":{
            "search":" 183038, г.Мурманск, ул.Подгорная, д.39"
         },
         "time":{
            "worktimeStart":"08:30",
            "worktimeEnd":"12:30"
         },
         "requirements":[
            "0x92fce2284f000b0241dad7c2e88b1655"
         ]
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"664020, Иркутская обл., Иркутск ул. Новаторов, 3"
         },
         "time":{
            "worktimeStart":"8:00",
            "worktimeEnd":"20:00"
         }
      },
      "packages":[
         {
            "uid":"0xA0A820F33B2F93FE44C8058B65C77D0F"
         }
      ]
   },
   "members":{
      "requester":{
         "uid":"ddebc744-6a8e-11ea-80ca-901b0ecef0f1",
         "role":"receiver"
      }
   },
   "payment":{
      "paymentCitySearch":{
         "search":"Иркутск"
      },
      "type":"cash"
   },
   "cargo":{
      "quantity":1,
      "length":0.6,
      "width":0.3,
      "height":0.39,
      "totalWeight":55,
      "totalVolume":0.02,
      "oversizedWeight":0,
      "freightUID":"0x98086eae8b603ea911e5dc4a4299cfd2",
      "insurance":{
         "statedValue":11.500,
         "term":true
      }
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-03</produceDate>
         <variant>address</variant>
         <address>
            <search> 183038, г.Мурманск, ул.Подгорная, д.39</search>
         </address>
         <time>
            <worktimeStart>08:30</worktimeStart>
            <worktimeEnd>12:30</worktimeEnd>
         </time>
         <requirements>0x92fce2284f000b0241dad7c2e88b1655</requirements>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>664020, Иркутская обл., Иркутск ул. Новаторов, 3</search>
         </address>
         <time>
            <worktimeStart>8:00</worktimeStart>
            <worktimeEnd>20:00</worktimeEnd>
         </time>
      </arrival>
      <packages>
         <uid>0xA0A820F33B2F93FE44C8058B65C77D0F</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <uid>ddebc744-6a8e-11ea-80ca-901b0ecef0f1</uid>
         <role>receiver</role>
      </requester>
   </members>
   <payment>
      <paymentCitySearch>
         <search>Иркутск</search>
      </paymentCitySearch>
      <type>cash</type>
   </payment>
   <cargo>
      <quantity>1</quantity>
      <length>0.6</length>
      <width>0.3</width>
      <height>0.39</height>
      <totalWeight>55</totalWeight>
      <totalVolume>0.02</totalVolume>
      <oversizedWeight>0</oversizedWeight>
      <freightUID>0x98086eae8b603ea911e5dc4a4299cfd2</freightUID>
      <insurance>
         <statedValue>11.5</statedValue>
         <term>true</term>
      </insurance>
   </cargo>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 11:53:21"
   },
   "data":{
      "derival":{
         "terminal":"Мурманск",
         "price":500.0,
         "servicePrice":500.0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "intercity":{
         "price":2195.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "arrival":{
         "terminal":"Иркутск",
         "price":280.0,
         "servicePrice":280.0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            {
               "name":"Скидка 50 % на доставку до адреса",
               "value":280.0,
               "date":"2021-10-01",
               "announcement":true,
               "public":true
            }
         ],
         "terminals":[
            
         ]
      },
      "price":3709.0,
      "priceMinimal":"auto",
      "packages":{
         "0xA0A820F33B2F93FE44C8058B65C77D0F":{
            "price":350.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "orderDates":{
         "pickup":"2021-09-03",
         "arrivalToOspSender":null,
         "derivalFromOspSender":"2021-09-04",
         "arrivalToOspReceiver":"2021-09-15",
         "derivalFromOspReceiver":"2021-09-15"
      },
      "deliveryTerm":0,
      "insurance":369.0,
      "insuranceComponents":{
         "cargoInsurance":305.0,
         "termInsurance":64.0,
         "contractPrice":false
      },
      "notify":{
         "price":15.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "auto":2195.0,
         "avia":16225.0
      },
      "foundAddresses":[
         {
            "source":"183038, г.Мурманск, ул.Подгорная, д.39",
            "result":"183038, Россия, обл Мурманская, г Мурманск, ул Подгорная, дом 39",
            "field":"delivery.derival.address.search"
         },
         {
            "source":"664020, Иркутская обл., Иркутск ул. Новаторов, 3",
            "result":"664020, Россия, обл Иркутская, г Иркутск, ул Новаторов, дом 3",
            "field":"delivery.arrival.address.search"
         },
         {
            "source":"Иркутск",
            "result":"Россия, обл Иркутская, г Иркутск",
            "field":"payment.paymentCitySearch.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 11:53:21</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Мурманск</terminal>
         <price>500</price>
         <servicePrice>500</servicePrice>
         <contractPrice>false</contractPrice>
      </derival>
      <intercity>
         <price>2195</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </intercity>
      <arrival>
         <terminal>Иркутск</terminal>
         <price>280</price>
         <servicePrice>280</servicePrice>
         <contractPrice>false</contractPrice>
         <discountDetails>
            <name>Скидка 50 % на доставку до адреса</name>
            <value>280</value>
            <date>2021-10-01</date>
            <announcement>true</announcement>
            <public>true</public>
         </discountDetails>
      </arrival>
      <price>3709</price>
      <priceMinimal>auto</priceMinimal>
      <packages>
         <0xA0A820F33B2F93FE44C8058B65C77D0F>
            <price>350</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0xA0A820F33B2F93FE44C8058B65C77D0F>
      </packages>
      <orderDates>
         <pickup>2021-09-03</pickup>
         <arrivalToOspSender />
         <derivalFromOspSender>2021-09-04</derivalFromOspSender>
         <arrivalToOspReceiver>2021-09-15</arrivalToOspReceiver>
         <derivalFromOspReceiver>2021-09-15</derivalFromOspReceiver>
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>369</insurance>
      <insuranceComponents>
         <cargoInsurance>305</cargoInsurance>
         <termInsurance>64</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>15</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <auto>2195</auto>
         <avia>16225</avia>
      </availableDeliveryTypes>
      <foundAddresses>
         <source>183038, г.Мурманск, ул.Подгорная, д.39</source>
         <result>183038, Россия, обл Мурманская, г Мурманск, ул Подгорная, дом 39</result>
         <field>delivery.derival.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>664020, Иркутская обл., Иркутск ул. Новаторов, 3</source>
         <result>664020, Россия, обл Иркутская, г Иркутск, ул Новаторов, дом 3</result>
         <field>delivery.arrival.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>Иркутск</source>
         <result>Россия, обл Иркутская, г Иркутск</result>
         <field>payment.paymentCitySearch.search</field>
      </foundAddresses>
   </data>
</response>

Example 2

The user is authorizedYes (1)
The user role in transportation processThird party
Delivery termsFrom the terminal of the sender to the terminal of the receiver
Transportation typeBy truck
Handling-
Additional transport requirements-
Number of cargo places8
PackagingBag (2)
Wooden crate (2)

Additional services

Return of the accompanying documents (3)

Notes:

  1. Individual client discounts will be taken into account when calculating the cost of the services.

  2. See "Directory of additional services".
  3. "delivery.derival.accompanyingDocuments.action" parameter with "return" value was passed in the request, см. "Shipping Cost and Time Calculator"

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "arrival":{
         "variant":"terminal",
         "terminalID":"264"
      },
      "derival":{
         "produceDate":"2021-09-14",
         "variant":"terminal",
         "terminalID":"314"
      },
      "accompanyingDocuments":[
         {
            "action":"send"
         },
         {
            "action":"return"
         }
      ],
      "packages":[
         {
            "uid":"0x947845D9BDC69EFA49630D8C080C4FBE",
            "count":1
         },
         {
            "uid":"0xA6A7BD2BF950E67F4B2CF7CC3A97C111"
         }
      ]
   },
   "members":{
      "requester":{
         "uid":"000",
         "role":"third"
      }
   },
   "cargo":{
      "quantity":8,
      "length":1,
      "width":0.5,
      "height":1.6,
      "weight":40,
      "totalVolume":3,
      "totalWeight":125,
      "hazardClass":0,
      "freightUID":"0x9ad79ec7e04cdf864b1d60f6fa3e0d6a",
      "insurance":{
         "statedValue":840000,
         "term":true
      }
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <arrival>
         <variant>terminal</variant>
         <terminalID>264</terminalID>
      </arrival>
      <derival>
         <produceDate>2021-09-14</produceDate>
         <variant>terminal</variant>
         <terminalID>314</terminalID>
      </derival>
      <accompanyingDocuments>
         <action>send</action>
      </accompanyingDocuments>
      <accompanyingDocuments>
         <action>return</action>
      </accompanyingDocuments>
      <packages>
         <uid>0x947845D9BDC69EFA49630D8C080C4FBE</uid>
         <count>1</count>
      </packages>
      <packages>
         <uid>0xA6A7BD2BF950E67F4B2CF7CC3A97C111</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <uid>000</uid>
         <role>third</role>
      </requester>
   </members>
   <cargo>
      <quantity>8</quantity>
      <length>1</length>
      <width>0.5</width>
      <height>1.6</height>
      <weight>40</weight>
      <totalVolume>3</totalVolume>
      <totalWeight>125</totalWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0x9ad79ec7e04cdf864b1d60f6fa3e0d6a</freightUID>
      <insurance>
         <statedValue>840000</statedValue>
         <term>true</term>
      </insurance>
   </cargo>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 12:48:08"
   },
   "data":{
      "derival":{
         "terminal":"Севастополь",
         "price":0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            {
               "id":"314",
               "name":"Севастополь",
               "address":"Севастополь, ул. Отрадная, 17/1",
               "streetCode":"9200000000005840000000000",
               "price":0,
               "default":true,
               "express":false,
               "isPVZ":false
            }
         ]
      },
      "intercity":{
         "price":23127.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "arrival":{
         "terminal":"Калининград",
         "price":0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            {
               "id":"264",
               "name":"Калининград",
               "address":"Калининград, Московский пр., 184",
               "streetCode":"3900000100000000000000000",
               "price":0,
               "default":true,
               "express":false,
               "isPVZ":false
            }
         ]
      },
      "price":28644.0,
      "priceMinimal":"auto",
      "packages":{
         "0xA6A7BD2BF950E67F4B2CF7CC3A97C111":{
            "price":3900.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         },
         "0x947845D9BDC69EFA49630D8C080C4FBE":{
            "price":90.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "orderDates":{
         "pickup":null,
         "arrivalToOspSender":"2021-09-14",
         "derivalFromOspSender":"2021-09-16",
         "arrivalToOspReceiver":"2021-09-27",
         "derivalFromOspReceiver":null
      },
      "deliveryTerm":0,
      "insurance":1512.0,
      "insuranceComponents":{
         "cargoInsurance":1512.0,
         "termInsurance":0,
         "contractPrice":false
      },
      "notify":{
         "price":15.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "auto":23127.0,
         "avia":39000.0
      }
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 12:48:08</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Севастополь</terminal>
         <price>0</price>
         <contractPrice>false</contractPrice>
         <terminals>
            <id>314</id>
            <name>Севастополь</name>
            <address>Севастополь, ул. Отрадная, 17/1</address>
            <streetCode>9200000000005840000000000</streetCode>
            <price>0</price>
            <default>true</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
      </derival>
      <intercity>
         <price>23127</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </intercity>
      <arrival>
         <terminal>Калининград</terminal>
         <price>0</price>
         <contractPrice>false</contractPrice>
         <terminals>
            <id>264</id>
            <name>Калининград</name>
            <address>Калининград, Московский пр., 184</address>
            <streetCode>3900000100000000000000000</streetCode>
            <price>0</price>
            <default>true</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
      </arrival>
      <price>28644</price>
      <priceMinimal>auto</priceMinimal>
      <packages>
         <0xA6A7BD2BF950E67F4B2CF7CC3A97C111>
            <price>3900</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0xA6A7BD2BF950E67F4B2CF7CC3A97C111>
         <0x947845D9BDC69EFA49630D8C080C4FBE>
            <price>90</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0x947845D9BDC69EFA49630D8C080C4FBE>
      </packages>
      <orderDates>
         <pickup />
         <arrivalToOspSender>2021-09-14</arrivalToOspSender>
         <derivalFromOspSender>2021-09-16</derivalFromOspSender>
         <arrivalToOspReceiver>2021-09-27</arrivalToOspReceiver>
         <derivalFromOspReceiver />
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>1512</insurance>
      <insuranceComponents>
         <cargoInsurance>1512</cargoInsurance>
         <termInsurance>0</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>15</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <auto>23127</auto>
         <avia>39000</avia>
      </availableDeliveryTypes>
   </data>
</response>

Example 3

The user is authorizedYes (1)
The user role in transportation processSender
Delivery termsFrom the address of the sender to the address of the receiver
Transportation typeSmall-size cargo shipping (2)
Handling-
Additional transport requirements-
Number of cargo places1
Packaging-

Additional services

-

Notes:

  1. Individual client discounts will be taken into account when calculating the cost of the services.

  2. 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

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"small"
      },
      "derival":{
         "produceDate":"2021-09-02",
         "variant":"address",
         "address":{
            "search":" 197101, Санкт-Петербург, Петроградская набережная, 36 лит А"
         },
         "time":{
            "worktimeStart":"10:00",
            "worktimeEnd":"20:00"
         }
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"127083, Россия, г. Москва, Петровско-Разумовская аллея, 12а"
         },
         "time":{
            "worktimeStart":"9:30",
            "worktimeEnd":"18:30"
         }
      }
   },
   "members":{
      "requester":{
         "uid":"000",
         "role":"sender"
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.1,
      "width":0.1,
      "height":0.1,
      "weight":8.5,
      "totalVolume":0.1,
      "totalWeight":8.5,
      "hazardClass":0,
      "freightUID":"0x82e6000423b423b711da7f670f032f40",
      "insurance":{
         "statedValue":5000,
         "term":true
      }
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <delivery>
      <deliveryType>
         <type>small</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-02</produceDate>
         <variant>address</variant>
         <address>
            <search> 197101, Санкт-Петербург, Петроградская набережная, 36 лит А</search>
         </address>
         <time>
            <worktimeStart>10:00</worktimeStart>
            <worktimeEnd>20:00</worktimeEnd>
         </time>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>127083, Россия, г. Москва, Петровско-Разумовская аллея, 12а</search>
         </address>
         <time>
            <worktimeStart>9:30</worktimeStart>
            <worktimeEnd>18:30</worktimeEnd>
         </time>
      </arrival>
   </delivery>
   <members>
      <requester>
         <uid>000</uid>
         <role>sender</role>
      </requester>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.1</length>
      <width>0.1</width>
      <height>0.1</height>
      <weight>8.5</weight>
      <totalVolume>0.1</totalVolume>
      <totalWeight>8.5</totalWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0x82e6000423b423b711da7f670f032f40</freightUID>
      <insurance>
         <statedValue>5000</statedValue>
         <term>true</term>
      </insurance>
   </cargo>

</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 12:57:41"
   },
   "data":{
      "derival":{
         "terminal":"Санкт-Петербург",
         "price":0,
         "servicePrice":null,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "small":{
         "price":849.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "arrival":{
         "terminal":"Москва",
         "price":0,
         "servicePrice":null,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "price":899.0,
      "priceMinimal":"small",
      "orderDates":{
         "pickup":"2021-09-02",
         "arrivalToOspSender":null,
         "derivalFromOspSender":"2021-09-03",
         "arrivalToOspReceiver":"2021-09-04",
         "derivalFromOspReceiver":"2021-09-04"
      },
      "deliveryTerm":0,
      "insurance":50.0,
      "insuranceComponents":{
         "cargoInsurance":50.0,
         "termInsurance":0,
         "contractPrice":false
      },
      "notify":{
         "price":0,
         "contractPrice":false,
         "premium":0,
         "discount":100.0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            {
               "name":"Скидка на информирование при отправке малогабаритного груза",
               "value":15.0,
               "date":null,
               "announcement":true,
               "public":true
            }
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "small":849.0
      },
      "foundAddresses":[
         {
            "source":"197101, Санкт-Петербург, Петроградская набережная, 36 лит А",
            "result":"190000, Россия, г Санкт-Петербург, г Санкт-Петербург, наб Петроградская, дом 36, стр. А",
            "field":"delivery.derival.address.search"
         },
         {
            "source":"127083, Россия, г. Москва, Петровско-Разумовская аллея, 12а",
            "result":"127083, Россия, г Москва, г Москва, аллея Петровско-Разумовская, дом 12А",
            "field":"delivery.arrival.address.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 12:57:41</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Санкт-Петербург</terminal>
         <price>0</price>
         <servicePrice />
         <contractPrice>false</contractPrice>
      </derival>
      <small>
         <price>849</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </small>
      <arrival>
         <terminal>Москва</terminal>
         <price>0</price>
         <servicePrice />
         <contractPrice>false</contractPrice>
      </arrival>
      <price>899</price>
      <priceMinimal>small</priceMinimal>
      <orderDates>
         <pickup>2021-09-02</pickup>
         <arrivalToOspSender />
         <derivalFromOspSender>2021-09-03</derivalFromOspSender>
         <arrivalToOspReceiver>2021-09-04</arrivalToOspReceiver>
         <derivalFromOspReceiver>2021-09-04</derivalFromOspReceiver>
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>50</insurance>
      <insuranceComponents>
         <cargoInsurance>50</cargoInsurance>
         <termInsurance>0</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>0</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>100</discount>
         <discountDetails>
            <name>Скидка на информирование при отправке малогабаритного груза</name>
            <value>15</value>
            <date />
            <announcement>true</announcement>
            <public>true</public>
         </discountDetails>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <small>849</small>
      </availableDeliveryTypes>
      <foundAddresses>
         <source>197101, Санкт-Петербург, Петроградская набережная, 36 лит А</source>
         <result>190000, Россия, г Санкт-Петербург, г Санкт-Петербург, наб Петроградская, дом 36, стр. А</result>
         <field>delivery.derival.address.search</field>
      </foundAddresses>
      <foundAddresses>
         <source>127083, Россия, г. Москва, Петровско-Разумовская аллея, 12а</source>
         <result>127083, Россия, г Москва, г Москва, аллея Петровско-Разумовская, дом 12А</result>
         <field>delivery.arrival.address.search</field>
      </foundAddresses>
   </data>
</response>

Example 4

The user is authorizedNo (1)
The user role in transportation processSender
Delivery termsFrom the terminal of the sender to the address of the receiver
Transportation typeExpress transportation
Handling-
Additional transport requirementsRemovable curtains (2)
Number of cargo places1
PackagingSpecial packaging for auto parts (3)
Additional services-

Notes:

  1. Individual client discounts will not be taken into account when calculating the cost of the services.

  2. See "Directory of special transport requirements".
  3. See "Directory of additional services"

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"express"
      },
      "derival":{
         "variant":"terminal",
         "produceDate":"2021-09-10",
         "terminalID":"297"
      },
      "arrival":{
         "variant":"address",
         "address":{
            "search":"344002, Россия, Ростов-на-Дону, микрорайон Заречная, 1-я Луговая улица, 3"
         },
         "time":{
            "worktimeStart":"9:30",
            "worktimeEnd":"19:00"
         },
         "requirements":[
            "0x818e8ff1eda1abc349318a478659af08"
         ]
      },
      "packages":[
         {
            "uid":"0xad97901b0ecef0f211e889fcf4624fea",
            "count":1
         }
      ]
   },
   "payment":{
      "paymentCitySearch":{
         "search":"Ростов-на-Дону"
      },
      "type":"cash"
   },
   "cargo":{
      "quantity":1,
      "length":0.55,
      "width":0.4,
      "height":0.3,
      "totalVolume":0.07,
      "totalWeight":32,
      "freightUID":"0x86f5acdb4fdf9a804fbc8c133da1bfdd"
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <delivery>
      <deliveryType>
         <type>express</type>
      </deliveryType>
      <derival>
         <variant>terminal</variant>
         <produceDate>2021-09-10</produceDate>
         <terminalID>297</terminalID>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <search>344002, Россия, Ростов-на-Дону, микрорайон Заречная, 1-я Луговая улица, 3</search>
         </address>
         <time>
            <worktimeStart>9:30</worktimeStart>
            <worktimeEnd>19:00</worktimeEnd>
         </time>
         <requirements>0x818e8ff1eda1abc349318a478659af08</requirements>
      </arrival>
      <packages>
         <uid>0xad97901b0ecef0f211e889fcf4624fea</uid>
         <count>1</count>
      </packages>
   </delivery>
   <payment>
      <paymentCitySearch>
         <search>Ростов-на-Дону</search>
      </paymentCitySearch>
      <type>cash</type>
   </payment>
   <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>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 12:40:56"
   },
   "data":{
      "derival":{
         "terminal":"Москва",
         "price":100.0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            {
               "id":"36",
               "name":"Москва Север",
               "address":"Москва, Лобненская ул., 18",
               "streetCode":"7700000000017250000000000",
               "price":100.0,
               "default":true,
               "express":true,
               "isPVZ":false
            },
            {
               "id":"359",
               "name":"Москва Академический",
               "address":"Москва, ул. Вавилова ул, 9А, стр. 3 ",
               "streetCode":"7700000000009240000000000",
               "price":0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"361",
               "name":"Москва Владыкино",
               "address":"Москва, Сигнальный проезд, 16, стр. 27",
               "streetCode":"7700000000026420000000000",
               "price":0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"124",
               "name":"Москва Войковская ",
               "address":"Москва, ул. Адмирала Макарова, 2, стр. 23",
               "streetCode":"7700000000017770000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"283",
               "name":"Москва Восток",
               "address":"Москва, Волгоградский пр-кт, 42, корпус 23",
               "streetCode":"7700000000000400000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"18",
               "name":"Москва Запад",
               "address":"Москва, Рябиновая ул, 37, стр 1",
               "streetCode":"7700000000034330000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"82",
               "name":"Москва Капотня",
               "address":"Москва, Московская обл, Люберецкий р-н, г. Котельники, Дзержинское ш., 14",
               "streetCode":"5000003200000140000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"293",
               "name":"Москва Красносельская",
               "address":"Москва, Леснорядский пер., 18, стр. 1",
               "streetCode":"7700000000006600000000000",
               "price":0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"375",
               "name":"Москва Лефортово",
               "address":"Москва, 1-я Энтузиастов ул., 3",
               "streetCode":"7700000000004630000000000",
               "price":0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"119",
               "name":"Москва Марьино",
               "address":"Москва, Иловайская ул., 3, стр. 1",
               "streetCode":"7700000000001700000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"397",
               "name":"Москва Медведково",
               "address":"Москва, ул. Полярная, 31Гс2",
               "streetCode":"7700000000023440000000000",
               "price":0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"125",
               "name":"Москва Щелковская",
               "address":"Москва, ул. Пермская 1с15",
               "streetCode":"7700000000007420000000000",
               "price":100.0,
               "default":false,
               "express":false,
               "isPVZ":false
            },
            {
               "id":"297",
               "name":"Москва Юг 2",
               "address":"Москва, Подольских Курсантов ул., 17, к. 2",
               "streetCode":"7700000000023150000000000",
               "price":100.0,
               "default":false,
               "express":true,
               "isPVZ":false
            }
         ]
      },
      "express":{
         "price":897.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "arrival":{
         "terminal":"Ростов-на-Дону",
         "price":2650.0,
         "servicePrice":650.0,
         "contractPrice":false,
         "premiumDetails":[
            {
               "name":"Растентовка (получатель)",
               "value":2000.0,
               "date":null,
               "announcement":false,
               "public":true
            }
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "price":5006.0,
      "priceMinimal":"auto",
      "packages":{
         "0xAD97901B0ECEF0F211E889FCF4624FEA":{
            "price":1250.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "orderDates":{
         "pickup":null,
         "senderTerminalTime":"18:00:00",
         "arrivalToOspSender":"2021-09-10",
         "derivalFromOspSender":"2021-09-10",
         "arrivalToOspReceiver":"2021-09-12",
         "derivalFromOspReceiver":"2021-09-12",
         "derivalToAddress":"2021-09-12 10:00:00"
      },
      "deliveryTerm":0,
      "insurance":94.0,
      "insuranceComponents":{
         "cargoInsurance":94.0,
         "termInsurance":0,
         "contractPrice":false
      },
      "notify":{
         "price":15.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "auto":663.0,
         "express":897.0
      },
      "foundAddresses":[
         {
            "source":"344002, Россия, Ростов-на-Дону, микрорайон Заречная, 1-я Луговая улица, 3",
            "result":"344002, Россия, обл Ростовская, г Ростов-на-Дону, ул 1-я Луговая, дом 3",
            "field":"delivery.arrival.address.search"
         },
         {
            "source":"Ростов-на-Дону",
            "result":"Россия, обл Ростовская, г Ростов-на-Дону",
            "field":"payment.paymentCitySearch.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 12:40:56</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Москва</terminal>
         <price>100</price>
         <contractPrice>false</contractPrice>
         <terminals>
            <id>36</id>
            <name>Москва Север</name>
            <address>Москва, Лобненская ул., 18</address>
            <streetCode>7700000000017250000000000</streetCode>
            <price>100</price>
            <default>true</default>
            <express>true</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>359</id>
            <name>Москва Академический</name>
            <address>Москва, ул. Вавилова ул, 9А, стр. 3 </address>
            <streetCode>7700000000009240000000000</streetCode>
            <price>0</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>361</id>
            <name>Москва Владыкино</name>
            <address>Москва, Сигнальный проезд, 16, стр. 27</address>
            <streetCode>7700000000026420000000000</streetCode>
            <price>0</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>124</id>
            <name>Москва Войковская </name>
            <address>Москва, ул. Адмирала Макарова, 2, стр. 23</address>
            <streetCode>7700000000017770000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>283</id>
            <name>Москва Восток</name>
            <address>Москва, Волгоградский пр-кт, 42, корпус 23</address>
            <streetCode>7700000000000400000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>18</id>
            <name>Москва Запад</name>
            <address>Москва, Рябиновая ул, 37, стр 1</address>
            <streetCode>7700000000034330000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>82</id>
            <name>Москва Капотня</name>
            <address>Москва, Московская обл, Люберецкий р-н, г. Котельники, Дзержинское ш., 14</address>
            <streetCode>5000003200000140000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>293</id>
            <name>Москва Красносельская</name>
            <address>Москва, Леснорядский пер., 18, стр. 1</address>
            <streetCode>7700000000006600000000000</streetCode>
            <price>0</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>375</id>
            <name>Москва Лефортово</name>
            <address>Москва, 1-я Энтузиастов ул., 3</address>
            <streetCode>7700000000004630000000000</streetCode>
            <price>0</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>119</id>
            <name>Москва Марьино</name>
            <address>Москва, Иловайская ул., 3, стр. 1</address>
            <streetCode>7700000000001700000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>397</id>
            <name>Москва Медведково</name>
            <address>Москва, ул. Полярная, 31Гс2</address>
            <streetCode>7700000000023440000000000</streetCode>
            <price>0</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>125</id>
            <name>Москва Щелковская</name>
            <address>Москва, ул. Пермская 1с15</address>
            <streetCode>7700000000007420000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>false</express>
            <isPVZ>false</isPVZ>
         </terminals>
         <terminals>
            <id>297</id>
            <name>Москва Юг 2</name>
            <address>Москва, Подольских Курсантов ул., 17, к. 2</address>
            <streetCode>7700000000023150000000000</streetCode>
            <price>100</price>
            <default>false</default>
            <express>true</express>
            <isPVZ>false</isPVZ>
         </terminals>
      </derival>
      <express>
         <price>897</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </express>
      <arrival>
         <terminal>Ростов-на-Дону</terminal>
         <price>2650</price>
         <servicePrice>650</servicePrice>
         <contractPrice>false</contractPrice>
         <premiumDetails>
            <name>Растентовка (получатель)</name>
            <value>2000</value>
            <date />
            <announcement>false</announcement>
            <public>true</public>
         </premiumDetails>
      </arrival>
      <price>5006</price>
      <priceMinimal>auto</priceMinimal>
      <packages>
         <0xAD97901B0ECEF0F211E889FCF4624FEA>
            <price>1250</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0xAD97901B0ECEF0F211E889FCF4624FEA>
      </packages>
      <orderDates>
         <pickup />
         <senderTerminalTime>18:00:00</senderTerminalTime>
         <arrivalToOspSender>2021-09-10</arrivalToOspSender>
         <derivalFromOspSender>2021-09-10</derivalFromOspSender>
         <arrivalToOspReceiver>2021-09-12</arrivalToOspReceiver>
         <derivalFromOspReceiver>2021-09-12</derivalFromOspReceiver>
         <derivalToAddress>2021-09-12 10:00:00</derivalToAddress>
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>94</insurance>
      <insuranceComponents>
         <cargoInsurance>94</cargoInsurance>
         <termInsurance>0</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>15</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <auto>663</auto>
         <express>897</express>
      </availableDeliveryTypes>
      <foundAddresses>
         <source>344002, Россия, Ростов-на-Дону, микрорайон Заречная, 1-я Луговая улица, 3</source>
         <result>344002, Россия, обл Ростовская, г Ростов-на-Дону, ул 1-я Луговая, дом 3</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 (1)
The user role in transportation processSender
Delivery terms

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

Transportation typeAir transportation
Handling-
Additional transport requirements-
Number of cargo places1
PackagingBubble wrap and wooden crate (2)
Additional servicesOversize cargo transportation (3)

Notes:

  1. Individual client discounts will be taken into account when calculating the cost of the services.

  2. See "Directory of additional services".
  3. 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)

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"avia"
      },
      "derival":{
         "produceDate":"2021-09-07",
         "variant":"address",
         "address":{
            "search":"ул. Петухова, 33, Новосибирск, Новосибирская обл., 630088"
         },
         "time":{
            "worktimeStart":"10:00",
            "worktimeEnd":"20:00"
         }
      },
      "arrival":{
         "variant":"airport",
         "city":"4100000100000000000000000"
      },
      "packages":[
         {
            "uid":"0xad97901b0ecef0f211e889fcf4624fec"
         }
      ]
   },
   "members":{
      "requester":{
         "UID":"000",
         "role":"sender"
      }
   },
   "cargo":{
      "quantity":1,
      "length":1.2,
      "width":0.9,
      "height":0.65,
      "totalVolume":0.7,
      "totalWeight":320,
      "oversizedVolume":0.7,
      "oversizedWeight":320,
      "hazardClass":0,
      "freightUID":"0xa2eea3dd15ed7edd46ccdf5f1743c030",
      "insurance":{
         "statedValue":210000,
         "term":true
      }
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <delivery>
      <deliveryType>
         <type>avia</type>
      </deliveryType>
      <derival>
         <produceDate>2021-09-07</produceDate>
         <variant>address</variant>
         <address>
            <search>ул. Петухова, 33, Новосибирск, Новосибирская обл., 630088</search>
         </address>
         <time>
            <worktimeStart>10:00</worktimeStart>
            <worktimeEnd>20:00</worktimeEnd>
         </time>
      </derival>
      <arrival>
         <variant>airport</variant>
         <city>4100000100000000000000000</city>
      </arrival>
      <packages>
         <uid>0xad97901b0ecef0f211e889fcf4624fec</uid>
      </packages>
   </delivery>
   <members>
      <requester>
         <UID>000</UID>
         <role>sender</role>
      </requester>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>1.2</length>
      <width>0.9</width>
      <height>0.65</height>
      <totalVolume>0.7</totalVolume>
      <totalWeight>320</totalWeight>
      <oversizedVolume>0.7</oversizedVolume>
      <oversizedWeight>320</oversizedWeight>
      <hazardClass>0</hazardClass>
      <freightUID>0xa2eea3dd15ed7edd46ccdf5f1743c030</freightUID>
      <insurance>
         <statedValue>210000</statedValue>
         <term>true</term>
      </insurance>
   </cargo>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 11:24:19"
   },
   "data":{
      "derival":{
         "terminal":"Новосибирск",
         "price":1013.0,
         "servicePrice":1013.0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "air":{
         "price":96230.0,
         "contractPrice":false,
         "premium":0,
         "discount":16.000349162011172,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            {
               "name":"Авиаперевозки в Петропавловск-Камчатский, Южно-Сахалинск, Якутск: скидки до 80%",
               "value":18329.6,
               "date":"2021-11-01",
               "announcement":true,
               "public":true
            }
         ]
      },
      "arrival":{
         "terminal":"Владивосток",
         "price":null,
         "contractPrice":true,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "price":100231.0,
      "priceMinimal":"auto",
      "packages":{
         "0xAD97901B0ECEF0F211E889FCF4624FEC":{
            "price":945.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "orderDates":{
         "pickup":"2021-09-07",
         "arrivalToOspSender":null,
         "derivalFromOspSender":"2021-09-07",
         "arrivalToOspReceiver":null,
         "arrivalToAirport":"2021-09-09",
         "arrivalToAirportMax":"2021-09-11",
         "giveoutFromOspReceiver":"2021-09-09 00:00:00",
         "giveoutFromOspReceiverMax":"2021-09-11 00:00:00",
         "derivalFromOspReceiver":null
      },
      "deliveryTerm":0,
      "insurance":2028.0,
      "insuranceComponents":{
         "cargoInsurance":2028.0,
         "termInsurance":0,
         "contractPrice":false
      },
      "notify":{
         "price":15.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "auto":9277.0,
         "avia":96230.0,
         "express":13437.0
      },
      "information":[
         "После оформления заказа наш специалист свяжется с Вами для утверждения стоимости"
      ],
      "foundAddresses":[
         {
            "source":"ул. Петухова, 33, Новосибирск, Новосибирская обл., 630088",
            "result":"630088, Россия, обл Новосибирская, г Новосибирск, ул Петухова, дом 33",
            "field":"delivery.derival.address.search"
         }
      ]
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 11:24:19</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Новосибирск</terminal>
         <price>1013</price>
         <servicePrice>1013</servicePrice>
         <contractPrice>false</contractPrice>
      </derival>
      <air>
         <price>96230</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>16.000349162011172</discount>
         <discountDetails>
            <name>Авиаперевозки в Петропавловск-Камчатский, Южно-Сахалинск, Якутск: скидки до 80%</name>
            <value>18329.6</value>
            <date>2021-11-01</date>
            <announcement>true</announcement>
            <public>true</public>
         </discountDetails>
      </air>
      <arrival>
         <terminal>Владивосток</terminal>
         <price />
         <contractPrice>true</contractPrice>
      </arrival>
      <price>100231</price>
      <priceMinimal>auto</priceMinimal>
      <packages>
         <0xAD97901B0ECEF0F211E889FCF4624FEC>
            <price>945</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0xAD97901B0ECEF0F211E889FCF4624FEC>
      </packages>
      <orderDates>
         <pickup>2021-09-07</pickup>
         <arrivalToOspSender />
         <derivalFromOspSender>2021-09-07</derivalFromOspSender>
         <arrivalToOspReceiver />
         <arrivalToAirport>2021-09-09</arrivalToAirport>
         <arrivalToAirportMax>2021-09-11</arrivalToAirportMax>
         <giveoutFromOspReceiver>2021-09-09 00:00:00</giveoutFromOspReceiver>
         <giveoutFromOspReceiverMax>2021-09-11 00:00:00</giveoutFromOspReceiverMax>
         <derivalFromOspReceiver />
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>2028</insurance>
      <insuranceComponents>
         <cargoInsurance>2028</cargoInsurance>
         <termInsurance>0</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>15</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <auto>9277</auto>
         <avia>96230</avia>
         <express>13437</express>
      </availableDeliveryTypes>
      <information>После оформления заказа наш специалист свяжется с Вами для утверждения стоимости</information>
      <foundAddresses>
         <source>ул. Петухова, 33, Новосибирск, Новосибирская обл., 630088</source>
         <result>630088, Россия, обл Новосибирская, г Новосибирск, ул Петухова, дом 33</result>
         <field>delivery.derival.address.search</field>
      </foundAddresses>
   </data>
</response>

Example 6

The user is authorizedYes (1)
The user role in transportation processSender
Delivery termsFrom the address of the sender to the address of the receiver
Transportation typeBy truck
HandlingAt the receiver addresses
Additional transport requirementsTail lift (lifting platform) (3)
Number of cargo places1
PackagingBag (4)
Additional servicesDelivery at the exact specified time

Notes:

  1. Individual client discounts will be taken into account when calculating the cost of the services.

  2. The example illustrates how to use CLADR codes to specify the address (CLADR - Classifier of Addresses of Russian Federation).
  3. See "Directory of special transport requirements".

  4. See "Directory of additional services"

Request

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

{
   "appkey":"00000000-0000-0000-0000-000000000000",
   "sessionID":"00000000-0000-0000-0000-000000000000",
   "delivery":{
      "deliveryType":{
         "type":"auto"
      },
      "derival":{
         "produceDate":"2021-10-01",
         "variant":"address",
         "address":{
            "street":"5700000100007600000000000"
         },
         "time":{
            "worktimeStart":"08:30",
            "worktimeEnd":"12:30"
         }
      },
      "arrival":{
         "variant":"address",
         "address":{
            "street":"7700000000076360000000000"
         },
         "time":{
            "worktimeStart":"15:00",
            "worktimeEnd":"15:30",
            "exactTime":"true"
         },
         "handling":{
            "freightLift":true,
            "toFloor":2,
            "carry":50
         },
         "requirements":[
            "0x92fce2284f000b0241dad7c2e88b1655"
         ]
      },
      "packages":[
         {
            "uid":"0x947845D9BDC69EFA49630D8C080C4FBE",
            "count":1
         }
      ]
   },
   "members":{
      "requester":{
         "uid":"000",
         "role":"sender"
      }
   },
   "cargo":{
      "quantity":1,
      "length":0.4,
      "width":0.4,
      "height":1.2,
      "totalWeight":80,
      "totalVolume":0.19,
      "freightUID":"0x98086eae8b603ea911e5e1f0bdbffee9"
   }
}

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

<request>
   <appkey>00000000-0000-0000-0000-000000000000</appkey>
   <sessionID>00000000-0000-0000-0000-000000000000</sessionID>
   <delivery>
      <deliveryType>
         <type>auto</type>
      </deliveryType>
      <derival>
         <produceDate>2021-10-01</produceDate>
         <variant>address</variant>
         <address>
            <street>5700000100007600000000000</street>
         </address>
         <time>
            <worktimeStart>08:30</worktimeStart>
            <worktimeEnd>12:30</worktimeEnd>
         </time>
      </derival>
      <arrival>
         <variant>address</variant>
         <address>
            <street>7700000000076360000000000</street>
         </address>
         <time>
            <worktimeStart>15:00</worktimeStart>
            <worktimeEnd>15:30</worktimeEnd>
            <exactTime>true</exactTime>
         </time>
         <handling>
            <freightLift>true</freightLift>
            <toFloor>2</toFloor>
            <carry>50</carry>
         </handling>
         <requirements>0x92fce2284f000b0241dad7c2e88b1655</requirements>
      </arrival>
      <packages>
         <uid>0x947845D9BDC69EFA49630D8C080C4FBE</uid>
         <count>1</count>
      </packages>
   </delivery>
   <members>
      <requester>
         <uid>000</uid>
         <role>sender</role>
      </requester>
   </members>
   <cargo>
      <quantity>1</quantity>
      <length>0.4</length>
      <width>0.4</width>
      <height>1.2</height>
      <totalWeight>80</totalWeight>
      <totalVolume>0.19</totalVolume>
      <freightUID>0x98086eae8b603ea911e5e1f0bdbffee9</freightUID>
   </cargo>
</request>

Response

{
   "metadata":{
      "status":200,
      "generated_at":"2021-08-31 13:26:50"
   },
   "data":{
      "derival":{
         "terminal":"Орел",
         "price":480.0,
         "servicePrice":480.0,
         "contractPrice":false,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ]
      },
      "intercity":{
         "price":672.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "arrival":{
         "terminal":"Москва",
         "price":6880.0,
         "servicePrice":880.0,
         "contractPrice":false,
         "premiumDetails":[
            {
               "name":"Гидроборт (получатель)",
               "value":2000.0,
               "date":null,
               "announcement":false,
               "public":true
            },
            {
               "name":"Экспедирование до клиента (фиксированное время)",
               "value":250.0,
               "date":null,
               "announcement":false,
               "public":true
            }
         ],
         "discountDetails":[
            
         ],
         "terminals":[
            
         ],
         "handling":{
            "price":3750.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "price":8360.0,
      "priceMinimal":"auto",
      "packages":{
         "0x947845D9BDC69EFA49630D8C080C4FBE":{
            "price":90.0,
            "contractPrice":false,
            "premium":0,
            "discount":0,
            "premiumDetails":[
               
            ],
            "discountDetails":[
               
            ]
         }
      },
      "orderDates":{
         "pickup":"2021-10-01",
         "arrivalToOspSender":null,
         "derivalFromOspSender":"2021-10-02",
         "arrivalToOspReceiver":"2021-10-04",
         "derivalFromOspReceiver":"2021-10-04"
      },
      "deliveryTerm":0,
      "insurance":223.0,
      "insuranceComponents":{
         "cargoInsurance":176.0,
         "termInsurance":47.0,
         "contractPrice":false
      },
      "notify":{
         "price":15.0,
         "contractPrice":false,
         "premium":0,
         "discount":0,
         "premiumDetails":[
            
         ],
         "discountDetails":[
            
         ]
      },
      "simpleShippingAvailable":true,
      "availableDeliveryTypes":{
         "auto":672.0,
         "express":1040.0
      }
   }
}
<response>
   <metadata>
      <status>200</status>
      <generated_at>2021-08-31 13:26:50</generated_at>
   </metadata>
   <data>
      <derival>
         <terminal>Орел</terminal>
         <price>480</price>
         <servicePrice>480</servicePrice>
         <contractPrice>false</contractPrice>
      </derival>
      <intercity>
         <price>672</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </intercity>
      <arrival>
         <terminal>Москва</terminal>
         <price>6880</price>
         <servicePrice>880</servicePrice>
         <contractPrice>false</contractPrice>
         <premiumDetails>
            <name>Гидроборт (получатель)</name>
            <value>2000</value>
            <date />
            <announcement>false</announcement>
            <public>true</public>
         </premiumDetails>
         <premiumDetails>
            <name>Экспедирование до клиента (фиксированное время)</name>
            <value>250</value>
            <date />
            <announcement>false</announcement>
            <public>true</public>
         </premiumDetails>
         <handling>
            <price>3750</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </handling>
      </arrival>
      <price>8360</price>
      <priceMinimal>auto</priceMinimal>
      <packages>
         <0x947845D9BDC69EFA49630D8C080C4FBE>
            <price>90</price>
            <contractPrice>false</contractPrice>
            <premium>0</premium>
            <discount>0</discount>
         </0x947845D9BDC69EFA49630D8C080C4FBE>
      </packages>
      <orderDates>
         <pickup>2021-10-01</pickup>
         <arrivalToOspSender />
         <derivalFromOspSender>2021-10-02</derivalFromOspSender>
         <arrivalToOspReceiver>2021-10-04</arrivalToOspReceiver>
         <derivalFromOspReceiver>2021-10-04</derivalFromOspReceiver>
      </orderDates>
      <deliveryTerm>0</deliveryTerm>
      <insurance>223</insurance>
      <insuranceComponents>
         <cargoInsurance>176</cargoInsurance>
         <termInsurance>47</termInsurance>
         <contractPrice>false</contractPrice>
      </insuranceComponents>
      <notify>
         <price>15</price>
         <contractPrice>false</contractPrice>
         <premium>0</premium>
         <discount>0</discount>
      </notify>
      <simpleShippingAvailable>true</simpleShippingAvailable>
      <availableDeliveryTypes>
         <auto>672</auto>
         <express>1040</express>
      </availableDeliveryTypes>
   </data>
</response>