GroupGetAll
Z Net47 2.0
(Różnice między wersjami)
Linia 6: | Linia 6: | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
<Priority>3</Priority> | <Priority>3</Priority> | ||
+ | <Term>Short</Term> | ||
<Request> | <Request> | ||
<Type>GroupGetAll</Type> | <Type>GroupGetAll</Type> |
Aktualna wersja na dzień 12:40, 12 mar 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>3</Priority> <Term>Short</Term> <Request> <Type>GroupGetAll</Type> <GroupGetAll> <SortName>id</SortName> <SortType>ASC</SortType> </GroupGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>GroupGetAll</Type> <GroupGetAll> <Group> <ID>1</ID> <Name>testowy</Name> <Description>Jan</Description> </Group> <Group> <ID>2</ID> <Name>testowy</Name> <Description>Jan</Description> </Group> </GroupGetAll> </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//