UserGetGroups

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
 
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika)
Linia 5: Linia 5:
 
<Net47>
 
<Net47>
 
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
 
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
<Priority>3</Priority>
+
<Priority>0</Priority>
 +
<Term>Short</Term>
 
<Request>
 
<Request>
 
<Type>UserGetGroups</Type>
 
<Type>UserGetGroups</Type>
 
<UserGetGroups>
 
<UserGetGroups>
<UserID>1</UserID> <!-- by wyswietlic wszystkie relacje uzytkownik <-> grupa, nalezy podac wartosc -1 -->
+
<UserID>1</UserID> <!-- by wyswietlic wszystkie relacje uzytkownicy <-> grupy, nalezy podac wartosc -1 -->
 
</UserGetGroups>
 
</UserGetGroups>
 
</Request>
 
</Request>

Aktualna wersja na dzień 15:11, 12 mar 2012

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>UserGetGroups</Type>
        <UserGetGroups>
            <UserID>1</UserID> <!-- by wyswietlic wszystkie relacje uzytkownicy <-> grupy, nalezy podac wartosc -1 -->
        </UserGetGroups>
    </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
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>UserGetGroups</Type>
        <UserGetGroups>
            <User>
                <ID>2</ID>
                <UserID>4</UserID>
                <GroupID>6</GroupID>
                <GroupName>Admini</GroupName>
            </User>
            <User>
                <ID>1</ID>
                <UserID>4</UserID>
                <GroupID>8</GroupID>
                <GroupName>Telemarketer</GroupName>
            </User>
        </UserGetGroups>
    </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//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu