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 15:11, 15 mar 2013
Zapytanie:
//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ź:
//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:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Brak rekordów</Error> </Request> </Net47> //BEGINEND//