FIELD |
TYPE |
DESCRIPTION |
productConceptID |
int |
Required. The conceptId returned on the products from the GetFreightProductsforshipment method. If the product(s) has SupportsPickupDropPoint set to True, then it could be used as input to this method to get the closest drop point for that product. |
installationID |
string |
Required. Consignor installation id. |
postCode |
string |
Required. Receiver post code |
country |
string |
Required. Receiver country ISO2 code. |
This method could be used if client don't want to ask the end-user to choose a drop point, but the application will suggest only one, the closest drop point to the post code given as input.
Request:
<soapenv:Header>
<soap:ServiceAuthenticationHeader>
<soap:Username>Flexerman21073</soap:Username>
<soap:Password>Gm15/46exRF</soap:Password>
<soap:IsEncrypted>false</soap:IsEncrypted>
</soap:ServiceAuthenticationHeader>
</soapenv:Header>
<soapenv:Body>
<ship:GetClosestDropPoint>
<ship:productConceptID>60</ship:productConceptID>
<ship:installationID>10916000028</ship:installationID>
<ship:postCode>3050</ship:postCode>
<ship:country>NO</ship:country>
</ship:GetClosestDropPoint>
</soapenv:Body>
Response:
<GetClosestDropPointResult>
<OriginalId>3713849</OriginalId>
<ESId>60E3713849</ESId>
<RoutingCode>DRA</RoutingCode>
<Name1>COOP PRIX MJØNDALEN</Name1>
<Address1>ARBEIDERG 6</Address1>
<PostalCode>3050</PostalCode>
<City>MJØNDALEN</City>
<CountryCode>NO</CountryCode>
<MapRefX>10.0149377382</MapRefX>
<MapRefY>59.7495398181</MapRefY>
<Distance>0.32051820198493591</Distance>
<KeyValueList>
<KeyValue>
<Key>SupportedProducts</Key>
<Value>60</Value>
<Type>String</Type>
</KeyValue>
</KeyValueList>
</GetClosestDropPointResult>
Kommentarer
0 kommentarer
Artiklen er lukket for kommentarer.