NetworkNodeGetAll

Z Net47 2.0
Skocz do: nawigacji, wyszukiwania

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>
				<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>
					<Taryfa>Osiem  Mb/s</Taryfa>
				</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>
					<Taryfa>Osiem  Mb/s</Taryfa>
				</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>
				<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>
					<Taryfa>Osiem  Mb/s</Taryfa>
				</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>
				<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>
					<Taryfa>Osiem  Mb/s</Taryfa>
				</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//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU