CustomerAddressSet
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
Linia 14: | Linia 14: | ||
<Mieszkanie>5a</Mieszkanie> <!-- opcjonalne! --> | <Mieszkanie>5a</Mieszkanie> <!-- opcjonalne! --> | ||
<Zip>47-200</Zip> | <Zip>47-200</Zip> | ||
− | <City>Radom</City | + | <City>Radom</City> |
− | <Poczta> | + | <Poczta>Górki</Poczta> <!-- opcjonalne --> |
<SYM>489816</SYM> <!-- TerytGetCity --> | <SYM>489816</SYM> <!-- TerytGetCity --> | ||
<SYM_UL>489810</SYM_UL> <!-- TerytStreetSearchGetAll --> | <SYM_UL>489810</SYM_UL> <!-- TerytStreetSearchGetAll --> |
Wersja z 10:52, 3 lip 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >CustomerAddressSet</ Type > < CustomerAddressSet > < CustomerID >8</ CustomerID > < Street >ul. Słowackiego</ Street > <!-- opcjonalne! --> < Numer >4</ Numer > < Mieszkanie >5a</ Mieszkanie > <!-- opcjonalne! --> < Zip >47-200</ Zip > < City >Radom</ City > < Poczta >Górki</ Poczta > <!-- opcjonalne --> < SYM >489816</ SYM > <!-- TerytGetCity --> < SYM_UL >489810</ SYM_UL > <!-- TerytStreetSearchGetAll --> < Type >0</ Type > <!-- 0 = Adres klienta, 1 = Adres instalacji, 2 = Adres korespondencyjny --> </ CustomerAddressSet > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >CustomerAddressSet</ Type > < CustomerAddressSet > < ID >321</ ID > </ CustomerAddressSet > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Nie można dodać użytkownika</ Error > </ Request > </ Net47 > //BEGINEND// |