Roadmap
- Web служба "Георгафия DPD"
- getCitiesCashPay
- getParcelShops
- getTerminalsSelfDelivery2
- getStoragePeriod
- getPossibleExtraService
- Web служба "Расчет стоимости"
- getServiceCost2
- getServiceCostByParcels2
- getServiceCostInternational
- Web служба "Создание заказа"
- createOrder
- getOrderStatus
- createAddress
- updateAddress
- getInvoiceFile
- getRegisterFile
- addAirwayBill
- changeUnitLoad
- Web служба "Изменение заказа"
- addParcels
- removeParcel
- Web служба "Отмена заказа"
- cancelOrder
- Web служба "Отслеживание статуса"
- getStatesByClient
- getStatesByClientOrder§
- confirm
- getStatesByClientParcel
- getStatesByDPDOrders
- getEvents
- getTrackingOrderLink
- Web служба "Отчеты"
- getNLAmount
- getNLInvoice
- getWaybill
- Web служба "Печать наклейки"
- createLabelFile
- createParcelLabel
dpdClient := dpdSdk.NewDPDClient(clinetNumber, clientKey
ServiceUrls{
GeographyUrl: "http://wstest.dpd.ru/services/geography2",
OrderUrl: "http://wstest.dpd.ru/services/order2",
CalculatorUrl: "http://wstest.dpd.ru/services/calculator2",
TrackingUrl: "http://wstest.dpd.ru/services/tracing",
},
)
calcRequest := dpdSdk.NewCalculateRequest().
SetPickup(dpdSdk.NewCity(48951627)).
SetDelivery(dpdSdk.NewCity(195595210)).
SetWeight(2.34).
SetSelfPickup(false).
SetSelfDelivery(false)
res, err := dpdClient.GetServiceCost2(calcRequest)