UserGetOne
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Short</ Term > < Request > < Type >UserGetOne</ Type > < UserGetOne > < ID >4</ ID > <!-- opcjonalne --> <!-- jeżeli nie jest podane pobierane są dane użytkownika zalogowanego --> </ UserGetOne > </ 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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >UserGetOne</ Type > < UserGetOne > < ID >1</ ID > < Login >testowy</ Login > < FirstName >Jan</ FristName > < LastName >Nowak</ LastName > < Status >2</ Status > < MobileUID >BLEBLEBLE1</ MobileUID > < Attribute > < ID >1</ ID > < AttributeName >gadu-gadu</ AttributeName > < AttributeValue >42554466</ AttributeValue > </ Attribute > < Attribute > < ID >2</ ID > < AttributeName >E-mail</ AttributeName > < AttributeValue >nowak@kowalski.pl</ AttributeValue > </ Attribute > < Attribute > < ID >3</ ID > < AttributeName >Telefon</ AttributeName > < AttributeValue >111222333</ AttributeValue > </ Attribute > < Attribute > < ID >4</ ID > < AttributeName >Avatar</ AttributeName > < AttributeValue >gege2342t.jpg</ AttributeValue > </ Attribute > </ UserGetOne > </ 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 >Użytkownik o podanym ID nie istnieje</ Error > </ Request > </ Net47 > //BEGINEND// |