Skip to end of metadata
Go to start of metadata

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 nameField typeRequiredDescription
cityIdRefStringYUnique city number Used as a parameter for searching of collection point list
descriptionUAStringYName of the city in Ukrainian
descriptionRUStringNName of the city in Russian
descriptionENStringNName of the city in English
regionDescriptionUAStringYName of the voivodeship in Ukrainian
regionDescriptionRUStringNName of the voivodeship in Russian
regionDescriptionENStringNName of the voivodeship in English
districtDescriptionUAStringYName of the county in Ukrainian
districtDescriptionRUStringNName of the county in Russian
districtDescriptionENStringNName 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>
  • No labels