CustomerGetAll
(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 83: | Linia 83: | ||
<Request> | <Request> | ||
<Type>Error</Type> | <Type>Error</Type> | ||
− | <Error> | + | <Error>Nieprawidłowe dane</Error> |
</Request> | </Request> | ||
</Net47> | </Net47> |
Wersja z 14:34, 11 lip 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >CustomerGetAll</ Type > < CustomerGetAll > < SortName >id</ SortName > <!-- id, name, lastname, company, is_company, name1, lastname1, status, ulica, numer, mieszkanie, kod, miasto, poczta, sym, sym_ul, createdata, i_ulica, i_numer, i_mieszkanie, i_kod, i_miasto, i_poczta, i_sym, i_ym_ul, i_createdata, k_ulica, k_numer, k_mieszkanie, k_kod, k_miasto, k_poczta, k_sym, k_sym_ul --> < SortType >ASC</ SortType > < Limit >50</ Limit > < Offset >1</ Offset > </ CustomerGetAll > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >CustomerGetAll</ Type > < CustomerGetAll > < Customer > < ID >4</ ID > < Name >Jan</ Name > < LastName >Kowalski</ LastName > < Company >SuperFirma</ Company > < IsCompany >true</ IsCompany > < Name1 >Anna</ Name1 > < LastName1 >Kowalska</ LastName1 > < Status >1</ Status > < Address > < Street >Słowackiego</ Street > < Numer >4</ Numer > < Mieszkanie >1a</ Mieszkanie > < Zip >10-200</ Zip > < City >Rybnik</ City > < Poczta >Rybnik</ Poczta > < SYM >825723</ SYM > < SYM_UL >25547</ SYM_UL > < CreateDate >2012-03-01 14:20:13</ CreateDate > </ Address > < AddressInstallation > < Street >Słowackiego</ Street > < Numer >4</ Numer > < Mieszkanie >1a</ Mieszkanie > < Zip >10-200</ Zip > < City >Rybnik</ City > < Poczta >Rybnik</ Poczta > < SYM >825723</ SYM > < SYM_UL >25547</ SYM_UL > < CreateDate >2012-03-01 14:20:13</ CreateDate > </ AddressInstallation > < ForwardingAddress > < Street >Słowackiego</ Street > < Numer >4</ Numer > < Mieszkanie >1a</ Mieszkanie > < Zip >10-200</ Zip > < City >Rybnik</ City > < Poczta >Rybnik</ Poczta > < SYM >825723</ SYM > < SYM_UL >25547</ SYM_UL > < CreateDate >2012-03-01 14:20:13</ CreateDate > </ ForwardingAddress > </ Customer > </ CustomerGetAll > </ 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 >Nieprawidłowe dane</ Error > </ Request > </ Net47 > //BEGINEND// |