NetworkNasGetAll
(Różnice między wersjami)
Linia 26: | Linia 26: | ||
<ID>92</ID> | <ID>92</ID> | ||
<ShortName>na dachu</ShortName> | <ShortName>na dachu</ShortName> | ||
− | < | + | <Typ>mikrotik</Typ> |
<Ports>3622</Ports> | <Ports>3622</Ports> | ||
<Secret>sekret</Secret> | <Secret>sekret</Secret> | ||
Linia 38: | Linia 38: | ||
<ID>95</ID> | <ID>95</ID> | ||
<ShortName>na dachu</ShortName> | <ShortName>na dachu</ShortName> | ||
− | < | + | <Typ>mikrotik</Typ> |
<Ports>3622</Ports> | <Ports>3622</Ports> | ||
<Secret>sekret</Secret> | <Secret>sekret</Secret> |
Wersja z 15:33, 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> <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> </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> </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//