TerytGetCity
Z Net47 2.0
(Różnice między wersjami)
Linia 28: | Linia 28: | ||
<GMI>Raciborski</GMI> | <GMI>Raciborski</GMI> | ||
<SYM>142248</SYM> | <SYM>142248</SYM> | ||
+ | <Province>Śląsk</Province> | ||
</Location> | </Location> | ||
<Location> | <Location> | ||
Linia 33: | Linia 34: | ||
<GMI>Raciboffe</GMI> | <GMI>Raciboffe</GMI> | ||
<SYM>154</SYM> | <SYM>154</SYM> | ||
+ | <Province>Śląsk</Province> | ||
</Location> | </Location> | ||
</TerytGetCity> | </TerytGetCity> |
Aktualna wersja na dzień 14:54, 12 lip 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>20</Priority> <Request> <Type>TerytGetCity</Type> <TerytGetCity> <Name>Racibórz</Name> </TerytGetCity> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>TerytGetCity</Type> <TerytGetCity> <Location> <Name>Racibórz</Name> <GMI>Raciborski</GMI> <SYM>142248</SYM> <Province>Śląsk</Province> </Location> <Location> <Name>Racibórz</Name> <GMI>Raciboffe</GMI> <SYM>154</SYM> <Province>Śląsk</Province> </Location> </TerytGetCity> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nie ma takiej miejscowości</Error> </Request> </Net47> //BEGINEND//