NetworkPoolIPGetAll
Z Net47 2.0
(Różnice między wersjami)
Linia 10: | Linia 10: | ||
<NetworkPoolIPGetAll> | <NetworkPoolIPGetAll> | ||
<PoolID>4</PoolID> | <PoolID>4</PoolID> | ||
+ | <Limit>100</Limit> | ||
+ | <Offset>1</Offset> | ||
</NetworkPoolIPGetAll> | </NetworkPoolIPGetAll> | ||
</Request> | </Request> |
Aktualna wersja na dzień 11:28, 22 lis 2013
Zapytanie:
//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> <Limit>100</Limit> <Offset>1</Offset> </NetworkPoolIPGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//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:
//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//