DevicesImageAdd
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >DevicesImageAdd</ Type > < DevicesImageAdd > < DeviceID >2</ DeviceID > < Typ >obiekt</ Typ > <!-- możliwe wartości: obiekt, wezel, interfejs, port, kabel --> < Zdjecie >zdjecie w base64</ Zdjecie > <!-- zdjęcie w base64 --> < Opis >opis dla zdjecia</ Opis > <!-- opcjonalne --> </ DevicesImageAdd > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >DevicesImageAdd</ Type > < DevicesImageAdd > < ID >12</ ID > </ DevicesImageAdd > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 10 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Nieprawidłowa zawartość zmiennej Typ.</ Error > < Error >Nie udało się dodać skanu.</ Error > </ Request > </ Net47 > //BEGINEND// |