NetworkNodeGetAll
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >NetworkNodeGetAll</ Type > < NetworkNodeGetAll > < CustomerID >10</ CustomerID > <!-- w przypadku -1 zwraca wszystkie --> < SortName >id</ SortName > <!-- id, customer_id, nazwa, haslo, active, createdate --> < SortType >ASC</ SortType > < Limit >10</ Limit > < Offset >1</ Offset > </ NetworkNodeGetAll > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >NetworkNodeGetAll</ Type > < NetworkNodeGetAll > < Node > < ID >92</ ID > < CustomerID >2</ CustomerID > < Login >testowy</ Login > < Passwd >AGag34e232</ Passwd > < Active >t</ Active > < CreateDate >2012-09-01 10:00:12</ CreateDate > < Taryfa >Osiem Mb/s</ Taryfa > < ZobID >189</ ZobID > < NodeInfo > < PoolIPID >4</ PoolIPID > <!-- pole z NetworkNodeIPEdit --> < PoolID >1</ PoolID > < IP >192.168.0.4</ IP > < MAC >00:00:00:00:0F:00</ MAC > < CreateDate >2012-01-10 00:00:00</ CreateDate > </ NodeInfo > < NodeInfo > < PoolIPID >4</ PoolIPID > <!-- pole z NetworkNodeIPEdit --> < PoolID >1</ PoolID > < IP >192.168.0.4</ IP > < MAC >00:00:00:00:0F:00</ MAC > < CreateDate >2012-01-10 00:00:00</ CreateDate > </ NodeInfo > </ Node > < Node > < ID >93</ ID > < CustomerID >2</ CustomerID > < Login >testowy</ Login > < Passwd >AGag34e232</ Passwd > < Active >t</ Active > < CreateDate >2012-09-01 10:00:12</ CreateDate > < Taryfa >Osiem Mb/s</ Taryfa > < ZobID >189</ ZobID > < NodeInfo > < PoolIPID >5</ PoolIPID > <!-- pole z NetworkNodeIPEdit --> < PoolID >1</ PoolID > < IP >192.168.0.5</ IP > < MAC >00:00:00:00:0F:01</ MAC > < CreateDate >2012-01-10 00:00:00</ CreateDate > </ NodeInfo > </ Node > < Node > < ID >94</ ID > < CustomerID >2</ CustomerID > < Login >testowy</ Login > < Passwd >AGag34e232</ Passwd > < Active >t</ Active > < CreateDate >2012-09-01 10:00:12</ CreateDate > < Taryfa >Osiem Mb/s</ Taryfa > < ZobID >189</ ZobID > < NodeInfo > < PoolIPID >6</ PoolIPID > <!-- pole z NetworkNodeIPEdit --> < PoolID >1</ PoolID > < IP >192.168.0.6</ IP > < MAC >00:00:00:00:0F:02</ MAC > < CreateDate >2012-01-10 00:00:00</ CreateDate > </ NodeInfo > </ Node > </ NetworkNodeGetAll > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Nieprawidłowe dane</ Error > </ Request > </ Net47 > //BEGINEND// |