NetworkNasGetAll
(Różnice między wersjami)
Linia 33: | Linia 33: | ||
<Description>opis</Description> | <Description>opis</Description> | ||
<TypID>1</TypID> | <TypID>1</TypID> | ||
− | <IP>127.0.0.1</IP> | + | <IP>127.0.0.1</IP> |
+ | <PoolID>12</PoolID> | ||
</Nas> | </Nas> | ||
<Nas> | <Nas> | ||
Linia 45: | Linia 46: | ||
<Description>opis</Description> | <Description>opis</Description> | ||
<TypID>1</TypID> | <TypID>1</TypID> | ||
− | <IP>127.0.0.3</IP> | + | <IP>127.0.0.3</IP> |
+ | <PoolID>12</PoolID> | ||
</Nas> | </Nas> | ||
</NetworkNasGetAll> | </NetworkNasGetAll> |
Wersja z 16:11, 15 mar 2013
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >NetworkNasGetAll</ Type > < NetworkNasGetAll > </ NetworkNasGetAll > </ 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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >NetworkNasGetAll</ Type > < NetworkNasGetAll > < Nas > < ID >92</ ID > < ShortName >na dachu</ ShortName > < Typ >mikrotik</ Typ > < Ports >3622</ Ports > < Secret >sekret</ Secret > < Server >serwer</ Server > < Community >community</ Community > < Description >opis</ Description > < TypID >1</ TypID > < IP >127.0.0.1</ IP > < PoolID >12</ PoolID > </ Nas > < Nas > < ID >95</ ID > < ShortName >na dachu</ ShortName > < Typ >mikrotik</ Typ > < Ports >3622</ Ports > < Secret >sekret</ Secret > < Server >serwer</ Server > < Community >community</ Community > < Description >opis</ Description > < TypID >1</ TypID > < IP >127.0.0.3</ IP > < PoolID >12</ PoolID > </ Nas > </ NetworkNasGetAll > </ 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</ Error > </ Request > </ Net47 > //BEGINEND// |