NetworkPoolGetAll

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
Linia 27: Linia 27:
 
<Type>NetworkPoolGetAll</Type>
 
<Type>NetworkPoolGetAll</Type>
 
<NetworkPoolGetAll>
 
<NetworkPoolGetAll>
<Pool>
+
<Network>
 
<ID>4</ID>
 
<ID>4</ID>
 
<Name>pula dla klientow za natem</Name>
 
<Name>pula dla klientow za natem</Name>
Linia 33: Linia 33:
 
<Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
 
<Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
 
<Description>stara pula</Description>
 
<Description>stara pula</Description>
</Pool>
+
</Network>
<Pool>
+
<Network>
 
<ID>5</ID>
 
<ID>5</ID>
 
<Name>pula dla klientow za natem</Name>
 
<Name>pula dla klientow za natem</Name>
Linia 40: Linia 40:
 
<Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
 
<Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
 
<Description>stara pula</Description>
 
<Description>stara pula</Description>
</Pool>
+
</Network>
 
</NetworkPoolGetAll>
 
</NetworkPoolGetAll>
 
</Request>
 
</Request>

Wersja z 12:49, 7 wrz 2012

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
    <Priority>0</Priority>
    <Request>
        <Type>NetworkPoolGetAll</Type>
        <NetworkPoolGetAll>
            <SortName>id</SortName> <!-- id, nazwa, ip, szkielet, opis, createdate -->
            <SortType>ASC</SortType>
            <Limit>100</Limit>
            <Offset>1</Offset>
        </NetworkPoolGetAll>
    </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
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>NetworkPoolGetAll</Type>
        <NetworkPoolGetAll>
            <Network>
                <ID>4</ID>
                <Name>pula dla klientow za natem</Name>
                <Pool>10.0.0.0/24</Pool>
                <Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
                <Description>stara pula</Description>
            </Network>
            <Network>
                <ID>5</ID>
                <Name>pula dla klientow za natem</Name>
                <Pool>10.0.0.0/24</Pool>
                <Devices>false</Devices> <!-- definiuje czy pula adresowa jest adresacja dla urzadzen -->
                <Description>stara pula</Description>
            </Network>
        </NetworkPoolGetAll>
    </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>Brak rekordów lub nieprawidłowe dane</Error>
    </Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu