NetworkNodeGetAll
Z Net47 2.0
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> </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> </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> </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//