NetworkCiscoPortDisableEnable
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>20</Priority> <Module>Cisco</Module> <Request> <Type>NetworkCiscoPortDisableEnable</Type> <NetworkCiscoPortDisableEnable> <IP>78.31.88.199</IP> <Port>7</Port> <Option>1</Option> <!-- 1 - enable, 2 - disable --> </NetworkCiscoPortDisableEnable> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkCiscoPortDisableEnable</Type> <NetworkCiscoPortDisableEnable> <Status>OK</Status> </NetworkCiscoPortDisableEnable> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nieprawidłowa wartość parametru Option (zakres1-2)</Error> </Request> </Net47> //BEGINEND//