NetworkNasGetAll
(Różnice między wersjami)
Linia 22: | Linia 22: | ||
<Request> | <Request> | ||
<Type>NetworkNasGetAll</Type> | <Type>NetworkNasGetAll</Type> | ||
+ | <NetworkNasGetAll> | ||
<Nas> | <Nas> | ||
<ID>92</ID> | <ID>92</ID> |
Wersja z 15:32, 8 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> <Type>mikrotik</Type> <Ports>3622</Ports> <Secret>sekret</Secret> <Server>serwer</Server> <Community>community</Community> <Description>opis</Description> <TypID>1</TypID> <IP>127.0.0.1</IP> </Nas> <Nas> <ID>95</ID> <ShortName>na dachu</ShortName> <Type>mikrotik</Type> <Ports>3622</Ports> <Secret>sekret</Secret> <Server>serwer</Server> <Community>community</Community> <Description>opis</Description> <TypID>1</TypID> <IP>127.0.0.3</IP> </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//