deleteConsignment


Π”Π°Π½Π½Ρ‹ΠΉ ΠΌΠ΅Ρ‚ΠΎΠ΄ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ для удалСния Π³Ρ€ΡƒΠΏΠΏΠΎΠ²ΠΎΠ³ΠΎ Π·Π°ΠΊΠ·Π° ΠΏΠΎ Π΅Π³ΠΎ Π½ΠΎΠΌΠ΅Ρ€Ρƒ. Для запроса API ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ структуру application/x-www-form-urlencoded ΠΈ стандартный HTTP-ΠΌΠ΅Ρ‚ΠΎΠ΄ POST.

Π’Ρ…ΠΎΠ΄Π½Ρ‹Π΅ Π΄Π°Π½Π½Ρ‹Π΅ запроса deleteConsignment

#

НазваниС Π°Ρ‚Ρ€ΠΈΠ±ΡƒΡ‚Π°

Π’ΠΈΠΏ

ΠžΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ

ОписаниС

1sessionIDΡ‚Π΅ΠΊΡΡ‚Π”Π°Π˜Π΄Π΅Π½Ρ‚ΠΈΡ„ΠΈΠΊΠ°Ρ‚ΠΎΡ€ сСссии, ΠΏΠΎΠ»ΡƒΡ‡Π΅Π½Π½Ρ‹ΠΉ ΠΎΡ‚ сСрвСра послС запроса Π°Π²Ρ‚ΠΎΡ€ΠΈΠ·Π°Ρ†ΠΈΠΈ.
1consignmentReferenceчислоДаНомСр Π³Ρ€ΡƒΠΏΠΏΠΎΠ²ΠΎΠ³ΠΎ Π·Π°ΠΊΠ°Π·Π° (ΠΏΠ°Ρ€Ρ‹ связанных Π·Π°ΠΊΠ°Π·ΠΎΠ² Pickup & Delivery).


Π—Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠΈ:

ΠœΠ΅Ρ‚ΠΎΠ΄: POST

URL: [account-name].maxoptra.com/rest/2/distribution-api/orders/deleteConsignment

Π‘Ρ‚Ρ€ΡƒΠΊΡ‚ΡƒΡ€Π°: application/x-www-form-urlencoded.


ΠŸΡ€ΠΈΠΌΠ΅Ρ€ запроса deleteConsignmentΒ 

<?xmlversion="1.0" encoding="UTF-8"?>
<apiRequest>
<sessionID>8a0478af973e40c2bbe6679fac1d17a6</sessionID>
<consignments>
   <consignment> 
<consignmentReference>bo1</consignmentReference>
   </consignment>
</consignments>
</apiRequest>


ΠŸΡ€ΠΈΠΌΠ΅Ρ€ ΠΎΡ‚Π²Π΅Ρ‚Π°Β deleteConsignmentΒ 

<?xml version='1.0' encoding='UTF-8'standalone='yes' ?>
<apiResponse version="1.0">
<consignments>
<consignment>
<consignmentReference>bo1</consignmentReference>
<orders>
<order>
<orderReference>2311_1</orderReference>
<status>Deleted</status>
</order>
<order>
<orderReference>2311_2</orderReference>
<status>Deleted</status>
</order>
</orders>
</consignment>
</consignments>
</apiResponse>



Π‘ΠΌ. Ρ‚Π°ΠΊΠΆΠ΅

ΠœΠ΅Ρ‚ΠΎΠ΄Ρ‹ API. Π—Π°ΠΊΠ°Π·Ρ‹

save

getConsignment

Π€ΡƒΠ½ΠΊΡ†ΠΈΠΎΠ½Π°Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ Pickup & Delivery