DevicesTelemetryGetAll

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
 
Linia 36: Linia 36:
 
<CommunityVer>2c</CommunityVer>
 
<CommunityVer>2c</CommunityVer>
 
<Wersja>0.00</Wersja>
 
<Wersja>0.00</Wersja>
 +
<IP>127.0.0.1</IP>
 
</Rekord>
 
</Rekord>
 
<Rekord>
 
<Rekord>
Linia 46: Linia 47:
 
<CommunityVer>2c</CommunityVer>
 
<CommunityVer>2c</CommunityVer>
 
<Wersja/>
 
<Wersja/>
 +
<IP>127.0.0.1</IP>
 
</Rekord>
 
</Rekord>
 
</DevicesTelemetryGetAll>
 
</DevicesTelemetryGetAll>

Aktualna wersja na dzień 12:00, 13 kwi 2018

Zapytanie:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
	<Priority>0</Priority>
	<Request>
		<Type>DevicesTelemetryGetAll</Type>
		<DevicesTelemetryGetAll>			       
			<Limit>0</Limit>
			<Offset>1</Offset>
			<SortName>id</SortName> <!-- id, nazwa, adres, username, pass,  community, community_ver, wersja -->
			<SortType>ASC</SortType>     
		</DevicesTelemetryGetAll>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>DevicesTelemetryGetAll</Type>
		<DevicesTelemetryGetAll>				
			<Rekord>
				<ID>21</ID>
				<Nazwa>Strzybniczek</Nazwa>
				<Adres/>
				<UserName>admin</UserName>
				<Pass>admin</Pass>
				<Community>public</Community>
				<CommunityVer>2c</CommunityVer>
				<Wersja>0.00</Wersja>
				<IP>127.0.0.1</IP>
			</Rekord>
			<Rekord>
				<ID>22</ID>
				<Nazwa>ZIelona Skrzynka Wojtka</Nazwa>
				<Adres>Z mojej prawej</Adres>
				<UserName>admin</UserName>
				<Pass>admin</Pass>
				<Community>public</Community>
				<CommunityVer>2c</CommunityVer>
				<Wersja/>
				<IP>127.0.0.1</IP>
			</Rekord>	
		</DevicesTelemetryGetAll>
	</Request>
</Net47>
//BEGINEND//

Błędy:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>Error</Type>
		 <Error>Brak danych</Error>  
	</Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU