NetworkNasEdit
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>NetworkNasEdit</Type> <NetworkNasEdit> <UrzadzenieID>2</UrzadzenieID> <ShortName>Nazwa</ShortName> <COAPort>60</COAPort> <Passwd>ga3ga3g2111</Passwd> <Community>public</Community> <Opis>jakis opis</Opis> <!-- opcjonalne --> <TypID>1</TypID> <!-- 1 -> Mikrotik, 2 -> Redback, 3 -> Cisco, 4 -> Ubiquiti, 5 -> Tplink --> <IP>127.0.0.1</IP> </NetworkNasEdit> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkNasEdit</Type> <NetworkNasEdit> <Status>OK</Status> </NetworkNasEdit> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Wystapił błąd podczas edycji urządzenia NAS</Error> </Request> </Net47> //BEGINEND//