deleteConsignment
ΠΠ°Π½Π½ΡΠΉ ΠΌΠ΅ΡΠΎΠ΄ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ Π΄Π»Ρ ΡΠ΄Π°Π»Π΅Π½ΠΈΡ Π³ΡΡΠΏΠΏΠΎΠ²ΠΎΠ³ΠΎ Π·Π°ΠΊΠ·Π° ΠΏΠΎ Π΅Π³ΠΎ Π½ΠΎΠΌΠ΅ΡΡ.Β ΠΠ»Ρ Π·Π°ΠΏΡΠΎΡΠ° API ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ ΡΡΡΡΠΊΡΡΡΡΒ application/x-www-form-urlencoded ΠΈ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΉ HTTP-ΠΌΠ΅ΡΠΎΠ΄ POST.
ΠΡ ΠΎΠ΄Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π·Π°ΠΏΡΠΎΡΠ°Β deleteConsignment
# | ΠΠ°Π·Π²Π°Π½ΠΈΠ΅ Π°ΡΡΠΈΠ±ΡΡΠ° | Π’ΠΈΠΏ | ΠΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡ | ΠΠΏΠΈΡΠ°Π½ΠΈΠ΅ |
---|---|---|---|---|
1 | sessionID | ΡΠ΅ΠΊΡΡ | ΠΠ° | ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΡΠ΅ΡΡΠΈΠΈ, ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΠΉ ΠΎΡ ΡΠ΅ΡΠ²Π΅ΡΠ° ΠΏΠΎΡΠ»Π΅ Π·Π°ΠΏΡΠΎΡΠ° Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ. |
1 | consignmentReference | ΡΠΈΡΠ»ΠΎ | ΠΠ° | ΠΠΎΠΌΠ΅Ρ Π³ΡΡΠΏΠΏΠΎΠ²ΠΎΠ³ΠΎ Π·Π°ΠΊΠ°Π·Π° (ΠΏΠ°ΡΡ ΡΠ²ΡΠ·Π°Π½Π½ΡΡ Π·Π°ΠΊΠ°Π·ΠΎΠ² 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. ΠΠ°ΠΊΠ°Π·Ρ
Π€ΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΡ Pickup & Delivery