Example of Rest
http://localhost:8089/administration/api/cityByPostCode.html?postCode=79000
Example response:
[{"IDREF":"0xb11200215aee3ebe11df749b62c3d54a","DescriptionUA":"Львів","DescriptionRU":"Львов","DescriptionEN":"Lviv (LVSK) (UA)","RegionIDREF":"0xbe1e0030485903e811de60b0d15e3024","RegionDescriptionUA":"ЛЬВІВСЬКА","RegionDescriptionRU":"ЛЬВОВСКАЯ","RegionDescriptionEN":"LVIVS`KA","DistrictIDREF":"0x907f00215aee3ebe11df41b98a199cde","DistrictDescriptionUA":"Львів","DistrictDescriptionRU":"Львов","DistrictDescriptionEN":"","IsBranchInCity":"1","CountryIDREF":"0x8591001d600938f811de4ea3c35b6195"}]
Model:
private String IDREF; private String DescriptionUA; private String DescriptionRU; private String DescriptionEN; private String RegionIDREF; private String RegionDescriptionUA; private String RegionDescriptionRU; private String RegionDescriptionEN; private String DistrictIDREF; private String DistrictDescriptionUA; private String DistrictDescriptionRU; private String DistrictDescriptionEN; private String IsBranchInCity; private String CountryIDREF;