UserAddOne
(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>3</Pr...”) |
|||
Linia 14: | Linia 14: | ||
<LastName>Nowak</LastName> | <LastName>Nowak</LastName> | ||
<Status>1</Status> <!-- 1 = aktywny, 2 = zawieszony --> | <Status>1</Status> <!-- 1 = aktywny, 2 = zawieszony --> | ||
− | <Attribute> | + | <Attribute> <!-- opcjonalne --> |
<E-mail>test@test.pl</E-mail> | <E-mail>test@test.pl</E-mail> | ||
</Attribute> | </Attribute> | ||
− | <Attribute> | + | <Attribute> <!-- opcjonalne --> |
<GG>123456</GG> | <GG>123456</GG> | ||
</Attribute> | </Attribute> | ||
− | <Attribute> | + | <Attribute> <!-- opcjonalne --> |
<Avatar>5945235238.jpg</Avatar> | <Avatar>5945235238.jpg</Avatar> | ||
</Attribute> | </Attribute> |
Wersja z 14:58, 10 sty 2012
Zapytanie:
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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >3</ Priority > < Request > < Type >UserAddOne</ Type > < UserAddOne > < Login >testowy</ Login > < Password >testowy</ Password > < FirstName >Jan</ FristName > < LastName >Nowak</ LastName > < Status >1</ Status > <!-- 1 = aktywny, 2 = zawieszony --> < Attribute > <!-- opcjonalne --> < E-mail >test@test.pl</ E-mail > </ Attribute > < Attribute > <!-- opcjonalne --> < GG >123456</ GG > </ Attribute > < Attribute > <!-- opcjonalne --> < Avatar >5945235238.jpg</ Avatar > </ Attribute > </ UserAddOne > </ 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 >UserAddOne</ Type > < UserAddOne > < ID >321</ ID > </ UserAddOne > </ 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 >XXX</ Error > </ Request > </ Net47 > //BEGINEND// |