UserGetAll
(Różnice między wersjami)
Linia 5: | Linia 5: | ||
<Net47> | <Net47> | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
− | <Priority> | + | <Priority>0</Priority> |
+ | <Term>Short</Term> | ||
<Request> | <Request> | ||
<Type>UserGetAll</Type> | <Type>UserGetAll</Type> |
Wersja z 14:11, 12 mar 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Term>Short</Term> <Request> <Type>UserGetAll</Type> <UserGetAll> <Offset>1</Offset> <Limit>100</Limit> <SortName>id</SortName> <SortType>ASC</SortType> <Status>1</Status> <!-- -1 = wszyscy, 1 = aktywny, 2 = zawieszony, 3 = usuniety --> </UserGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>UserGetAll</Type> <UserGetAll> <Pages>15</Pages> <User> <ID>1</ID> <Login>testowy</Login> <FirstName>Jan</FristName> <LastName>Nowak</LastName> <Status>3</Status> </User> <User> <ID>2</ID> <Login>ktos</Login> <FirstName>Jan</FristName> <LastName>Kowalski</LastName> <Status>2</Status> </User> </UserGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nie ma takiej strony</Error> </Request> </Net47> //BEGINEND//