TerytGetCity
(Różnice między wersjami)
Linia 6: | Linia 6: | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
<Priority>20</Priority> | <Priority>20</Priority> | ||
− | |||
<Request> | <Request> | ||
<Type>TerytGetCity</Type> | <Type>TerytGetCity</Type> |
Wersja z 09:21, 3 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> </Location> <Location> <Name>Racibórz</Name> <GMI>Raciboffe</GMI> <SYM>154</SYM> </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//