GroupGetAll

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
 
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika)
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>
 
<GroupGetAll>
 
<GroupGetAll>
<Offset>1</Offset>
 
<Limit>100</Limit>
 
 
<SortName>id</SortName>
 
<SortName>id</SortName>
 
<SortType>ASC</SortType>
 
<SortType>ASC</SortType>
Linia 27: Linia 26:
 
<Type>GroupGetAll</Type>
 
<Type>GroupGetAll</Type>
 
<GroupGetAll>
 
<GroupGetAll>
<Pages>15</Pages>
 
 
<Group>
 
<Group>
 
<ID>1</ID>
 
<ID>1</ID>
Linia 56: Linia 54:
 
//BEGINEND//
 
//BEGINEND//
 
</pre>
 
</pre>
 
SELECT * FROM groups_getall(ofs INT, lmt bigint, pole TEXT, typs TEXT)
 
ofs = <Offset>1</Offset>
 
lmt = <Limit>100</Limit>
 
pole = <SortName>id</SortName>
 
typs = <SortType>ASC</SortType>
 
  
 
[[Kategoria:Funkcje]]
 
[[Kategoria:Funkcje]]

Aktualna wersja na dzień 13:40, 12 mar 2012

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//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ź:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//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:

1
2
3
4
5
6
7
8
9
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>Error</Type>
        <Error>Nie ma takiej strony</Error>
    </Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu