NetworkPoolIPGetAll

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
Linia 24: Linia 24:
 
<Type>NetworkPoolIPGetAll</Type>
 
<Type>NetworkPoolIPGetAll</Type>
 
<NetworkPoolIPGetAll>
 
<NetworkPoolIPGetAll>
<IP>192.168.0.1</IP>
+
<Address>
<IP>192.168.0.5</IP>
+
<IP>192.168.0.1</IP>
<IP>192.168.0.6</IP>
+
</Address>
<IP>192.168.0.7</IP>
+
<Address>
<IP>192.168.0.8</IP>
+
<IP>192.168.0.5</IP>
<IP>192.168.0.9</IP>
+
</Address>
 +
<Address>
 +
<IP>192.168.0.6</IP>
 +
</Address>
 +
<Address>
 +
<IP>192.168.0.7</IP>
 +
</Address>
 +
<Address>
 +
<IP>192.168.0.8</IP>
 +
</Address>
 +
<Address>
 +
<IP>192.168.0.9</IP>
 +
</Address>
 
</NetworkPoolIPGetAll>
 
</NetworkPoolIPGetAll>
 
</Request>
 
</Request>

Wersja z 16:02, 13 wrz 2012

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
    <Priority>0</Priority>
    <Request>
        <Type>NetworkPoolIPGetAll</Type> <!-- funkcja zwraca tylko i wylacznie adresy NIE przypisane -->
        <NetworkPoolIPGetAll>
            <PoolID>4</PoolID>
        </NetworkPoolIPGetAll>
    </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
23
24
25
26
27
28
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>NetworkPoolIPGetAll</Type>
        <NetworkPoolIPGetAll>
            <Address>
                <IP>192.168.0.1</IP>
            </Address>
            <Address>
                <IP>192.168.0.5</IP>
            </Address>
            <Address>
                <IP>192.168.0.6</IP>
            </Address>
            <Address>
                <IP>192.168.0.7</IP>
            </Address>
            <Address>
                <IP>192.168.0.8</IP>
            </Address>
            <Address>
                <IP>192.168.0.9</IP>
            </Address>
        </NetworkPoolIPGetAll>
    </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 puli, lub wszystkie adresy wykorzystane</Error>
    </Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu