NetworkNodeGetAll

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”)
 
Linia 10: Linia 10:
 
<NetworkNodeGetAll>
 
<NetworkNodeGetAll>
 
<CustomerID>10</CustomerID> <!-- w przypadku -1 zwraca wszystkie -->
 
<CustomerID>10</CustomerID> <!-- w przypadku -1 zwraca wszystkie -->
<SortName>id</SortName> <!-- -->
+
<SortName>id</SortName> <!-- id, customer_id, nazwa, haslo, active, createdate -->
 
<SortType>ASC</SortType>
 
<SortType>ASC</SortType>
 
<Limit>10</Limit>
 
<Limit>10</Limit>

Wersja z 15:48, 10 wrz 2012

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
//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:

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//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu