NetworkPoolGetAll
(Różnice między wersjami)
Linia 12: | Linia 12: | ||
<SortType>ASC</SortType> | <SortType>ASC</SortType> | ||
<Limit>100</Limit> | <Limit>100</Limit> | ||
+ | <LimitIP>100</LimitIP> | ||
<Offset>1</Offset> | <Offset>1</Offset> | ||
</NetworkPoolGetAll> | </NetworkPoolGetAll> | ||
Linia 36: | Linia 37: | ||
<Zajete>5</Zajete> | <Zajete>5</Zajete> | ||
<Brama>10.0.0.1</Brama> | <Brama>10.0.0.1</Brama> | ||
+ | <IP> | ||
+ | <Address>10.0.0.2</Address> | ||
+ | <Address>10.0.0.3</Address> | ||
+ | <Address>10.0.0.4</Address> | ||
+ | </IP> | ||
</Network> | </Network> | ||
<Network> | <Network> | ||
Linia 46: | Linia 52: | ||
<Zajete>5</Zajete> | <Zajete>5</Zajete> | ||
<Brama>10.0.0.1</Brama> | <Brama>10.0.0.1</Brama> | ||
+ | <IP> | ||
+ | <Address>10.0.0.2</Address> | ||
+ | <Address>10.0.0.3</Address> | ||
+ | <Address>10.0.0.4</Address> | ||
+ | </IP> | ||
</Network> | </Network> | ||
</NetworkPoolGetAll> | </NetworkPoolGetAll> |
Wersja z 12:27, 18 gru 2014
Zapytanie:
//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> <Offset>1</Offset> </NetworkPoolGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//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> <Address>10.0.0.3</Address> <Address>10.0.0.4</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> <Address>10.0.0.3</Address> <Address>10.0.0.4</Address> </IP> </Network> </NetworkPoolGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//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//