Aukro WebAPI
doGetShipmentData
This method allows to load a full list of delivery methods available in the selected country.
-
countryId | Integer | required
Country identifier (a list of country identifiers can be loaded using the doGetCountries method). -
webapiKey | String | required
User's WebAPI key.
-
shipmentDataList | ShipmentDataStruct[]
Array of structures containing information on available delivery methods.-
shipmentId | Integer
Delivery method identifier. -
shipmentName | String | required
Delivery method name. -
shipmentType | Integer
Type of payment method (1 - payment in advance, 2 - COD). -
shipmentTime | ShipmentTimeStruct | required
Structure containing information about time of delivery set by a carrier suitable for the selected method of delivery.-
shipmentTimeFrom | Integer
Start of the time of delivery scope set by a carrier (in hours; information returned only in PL). -
shipmentTimeTo | Integer
End of the time of delivery scope set by a carrier (in hours; information returned only in PL).
-
shipmentTimeFrom | Integer
-
shipmentId | Integer
-
localVersion | Long
Version key value relevant for a selected country and WebAPI key provided.
-
ERR_INPUT_COUNTRY_ERROR
Invalid country identifier (zero or empty value has been provided in the parameter). -
ERR_WEBAPI_EXPIRED
Expiry date of WebAPI key has been exceeded (not applicable PL). -
ERR_WEBAPI_KEY
Invalid value of WebAPI key or WebAPI key has been blocked. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).