NetworkPoolGetAll
(Różnice między wersjami)
Linia 36: | Linia 36: | ||
<IleAdresow>12</IleAdresow> | <IleAdresow>12</IleAdresow> | ||
<Zajete>5</Zajete> | <Zajete>5</Zajete> | ||
− | <Brama>10.0.0.1</Brama> | + | <Brama>10.0.0.1</Brama> |
− | + | ||
<IP> | <IP> | ||
<Address>81.162.211.9</Address> | <Address>81.162.211.9</Address> |
Wersja z 12:22, 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 >81.162.211.9</ Address > </ IP > < IP > < Address >81.162.211.10</ 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// |