NetworkNodeGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 5 wersji utworzonych przez 2 użytkowników) | |||
Linia 34: | Linia 34: | ||
<Passwd>AGag34e232</Passwd> | <Passwd>AGag34e232</Passwd> | ||
<Active>t</Active> | <Active>t</Active> | ||
− | <CreateDate>2012-09-01 10:00:12</CreateDate> | + | <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> | <NodeInfo> | ||
<PoolIPID>4</PoolIPID> <!-- pole z NetworkNodeIPEdit --> | <PoolIPID>4</PoolIPID> <!-- pole z NetworkNodeIPEdit --> | ||
Linia 50: | Linia 59: | ||
<Active>t</Active> | <Active>t</Active> | ||
<CreateDate>2012-09-01 10:00:12</CreateDate> | <CreateDate>2012-09-01 10:00:12</CreateDate> | ||
+ | <Taryfa>Osiem Mb/s</Taryfa> | ||
+ | <ZobID>189</ZobID> | ||
<NodeInfo> | <NodeInfo> | ||
<PoolIPID>5</PoolIPID> <!-- pole z NetworkNodeIPEdit --> | <PoolIPID>5</PoolIPID> <!-- pole z NetworkNodeIPEdit --> | ||
Linia 65: | Linia 76: | ||
<Active>t</Active> | <Active>t</Active> | ||
<CreateDate>2012-09-01 10:00:12</CreateDate> | <CreateDate>2012-09-01 10:00:12</CreateDate> | ||
+ | <Taryfa>Osiem Mb/s</Taryfa> | ||
+ | <ZobID>189</ZobID> | ||
<NodeInfo> | <NodeInfo> | ||
<PoolIPID>6</PoolIPID> <!-- pole z NetworkNodeIPEdit --> | <PoolIPID>6</PoolIPID> <!-- pole z NetworkNodeIPEdit --> |
Aktualna wersja na dzień 11:54, 20 cze 2013
Zapytanie:
//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ź:
//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:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nieprawidłowe dane</Error> </Request> </Net47> //BEGINEND//