Correctly returned city will be used to specify the collection points.
Below are the examples of the call on the website of Meest Express courier company
Method name:
CityApiBean searchCityByPostCode(String postCode) throws MeestException;
Service response
Object CityApiBean
Field name | Field type | Required | Description |
---|---|---|---|
cityIdRef | String | Y | Unique city number Used as a parameter for searching of collection point list |
descriptionUA | String | Y | Name of the city in Ukrainian |
descriptionRU | String | N | Name of the city in Russian |
descriptionEN | String | N | Name of the city in English |
regionDescriptionUA | String | Y | Name of the voivodeship in Ukrainian |
regionDescriptionRU | String | N | Name of the voivodeship in Russian |
regionDescriptionEN | String | N | Name of the voivodeship in English |
districtDescriptionUA | String | Y | Name of the county in Ukrainian |
districtDescriptionRU | String | N | Name of the county in Russian |
districtDescriptionEN | String | N | Name of the county in English |
Example request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:log="http://logic.meestgroup.com/"> <soapenv:Header/> <soapenv:Body> <log:searchCityByPostCode> <!--Optional:--> <arg0>04112</arg0> </log:searchCityByPostCode> </soapenv:Body> </soapenv:Envelope>
Reply:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:searchCityByPostCodeResponse xmlns:ns2="http://logic.meestgroup.com/"> <return> <cityIdRef>0xb11200215aee3ebe11df749b5cb61671</cityIdRef> <descriptionEN>Kyiv (KYYIV) (UA)</descriptionEN> <descriptionRU>Киев</descriptionRU> <descriptionUA>Київ</descriptionUA> <districtDescriptionEN>Kyiv (KYYIV) (UA)</districtDescriptionEN> <districtDescriptionRU>Киев</districtDescriptionRU> <districtDescriptionUA>Київ</districtDescriptionUA> <regionDescriptionEN>KYIVS`KA</regionDescriptionEN> <regionDescriptionRU>КИЕВСКАЯ</regionDescriptionRU> <regionDescriptionUA>КИЇВСЬКА</regionDescriptionUA> </return> </ns2:searchCityByPostCodeResponse> </soap:Body> </soap:Envelope>