NetworkPoolGetAll

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
(Utworzył nową stronę „customers_getall Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID...”)
 
 
(Nie pokazano 8 wersji utworzonych przez 2 użytkowników)
Linia 1: Linia 1:
customers_getall
 
 
 
Zapytanie:
 
Zapytanie:
 
<pre class="brush:xml">
 
<pre class="brush:xml">
Linia 14: Linia 12:
 
<SortType>ASC</SortType>
 
<SortType>ASC</SortType>
 
<Limit>100</Limit>
 
<Limit>100</Limit>
 +
<LimitIP>100</LimitIP> <!-- opcjonalne -->
 
<Offset>1</Offset>
 
<Offset>1</Offset>
 
</NetworkPoolGetAll>
 
</NetworkPoolGetAll>
Linia 29: Linia 28:
 
<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 35: Linia 34:
 
<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>
+
<IleAdresow>12</IleAdresow>
<Pool>
+
<Zajete>5</Zajete>
 +
<Brama>10.0.0.1</Brama>
 +
<IP>
 +
<Address>10.0.0.2</Address>
 +
</IP>
 +
<IP>
 +
<Address>10.0.0.3</Address>
 +
</IP>
 +
</Network>
 +
<Network>
 
<ID>5</ID>
 
<ID>5</ID>
 
<Name>pula dla klientow za natem</Name>
 
<Name>pula dla klientow za natem</Name>
Linia 42: Linia 50:
 
<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>
+
<IleAdresow>12</IleAdresow>
 +
<Zajete>5</Zajete>
 +
<Brama>10.0.0.1</Brama>
 +
<IP>
 +
<Address>10.0.0.2</Address>
 +
</IP>
 +
</Network>
 
</NetworkPoolGetAll>
 
</NetworkPoolGetAll>
 
</Request>
 
</Request>
Linia 56: Linia 70:
 
<Request>
 
<Request>
 
<Type>Error</Type>
 
<Type>Error</Type>
<Error>Pula o podanej nazwie już istnieje</Error>
+
<Error>Brak rekordów lub nieprawidłowe dane</Error>
 
</Request>
 
</Request>
 
</Net47>
 
</Net47>

Aktualna wersja na dzień 12:23, 2 paź 2017

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//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>
            <LimitIP>100</LimitIP> <!-- opcjonalne -->
            <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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//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>
                <IleAdresow>12</IleAdresow>
                <Zajete>5</Zajete>
                <Brama>10.0.0.1</Brama>            
                <IP>
                    <Address>10.0.0.2</Address>
                </IP>
                <IP>
                    <Address>10.0.0.3</Address>
                </IP>
            </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>
                <IleAdresow>12</IleAdresow>
                <Zajete>5</Zajete>
                <Brama>10.0.0.1</Brama>
                <IP>
                    <Address>10.0.0.2</Address>                
                </IP>
            </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