EventCalendarGetAll

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
 
(Nie pokazano 13 wersji utworzonych przez 2 użytkowników)
Linia 9: Linia 9:
 
<Type>EventCalendarGetAll</Type>
 
<Type>EventCalendarGetAll</Type>
 
<EventCalendarGetAll>
 
<EventCalendarGetAll>
<SortName>id</SortName> <!-- -->
+
<SortName>id</SortName> <!-- id, customer_id, helpdesk, typz, priorytet, print, prywatna, closeid, fv, akcja, startdate, enddate, createdate -->
 
<SortType>ASC</SortType>
 
<SortType>ASC</SortType>
 
<Limit>10</Limit>
 
<Limit>10</Limit>
 
<Offset>1</Offset>
 
<Offset>1</Offset>
 
<CustomerID>4</CustomerID> <!-- opcjonalne -->
 
<CustomerID>4</CustomerID> <!-- opcjonalne -->
<HelpDeskID>1</HelpDeskID> <!-- opcjonalne -->
+
<UserID>1,2,3</UserID> <!-- opcjonalne -->
<ActionTypeID>89</ActionTypeID> <!-- opcjonalne --> <!-- EventCalendarActionTypeGetAll -->
+
<Priority>2</Priority> <!-- opcjonalne -->
+
<Print>true</Print> <!-- opcjonalne -->
+
<Private>true</Private> <!-- opcjonalne -->
+
 
<Closed>false</Closed> <!-- opcjonalne -->
 
<Closed>false</Closed> <!-- opcjonalne -->
<Payment>false</Payment> <!-- opcjonalne -->
+
<DataOd>20.08.2015</DataOd> <!-- opcjonalne -->
<StartDate>2013-01-05 11:12:11</StartDate> <!-- opcjonalne -->
+
<DataDo>20.08.2015</DataDo> <!-- opcjonalne -->
<StopDate>2013-01-08 11:12:11</StopDate> <!-- opcjonalne -->
+
<TypZgloszenia>1,2,3</TypZgloszenia> <!-- opcjonalne -->
 +
<Adres></Adres> <!-- opcjonalne -->
 +
<Prywatne>false</Prywatne> <!-- opcjonalne -->
 
</EventCalendarGetAll>
 
</EventCalendarGetAll>
 
</Request>
 
</Request>
Linia 29: Linia 27:
 
</pre>
 
</pre>
  
Odpowiedź:
+
Odpowiedź gdy Closed = true:
 
<pre class="brush:xml">
 
<pre class="brush:xml">
 
//BEGIN//
 
//BEGIN//
Linia 39: Linia 37:
 
<Calendar>
 
<Calendar>
 
<ID>4</ID>
 
<ID>4</ID>
<Note>zadzwonic do niego</Note>
+
<CustomerID>8</CustomerID>
<UserID>4</UserID>
+
<ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
<CreateDate>2012-01-01 00:01:00</CreateDate>
+
<Priority>2</Priority>
 +
<Private>false</Private>
 +
<CreateDate>2012-05-02 16:42:00</CreateDate>
 +
<ActionName>Demontaż</ActionName>
 +
<Locked>false</Locked>
 +
<CustomerName>Kowalski Jan</CustomerName>
 +
<Miasto>Warszawa</Miasto>
 +
<Ulica>Długa</Ulica>
 +
<Numer>2</Numer>
 +
<CloseID>2</CloseID> <!-- id operatora ktory zamknal notke -->
 +
<StartDate>2012-05-04 16:12:00</StartDate>
 +
<StopDate>2012-05-04 16:12:00</StopDate>
 +
<Desc>opis</Desc>
 +
<MoveCount>2</MoveCount>
 +
<UsersID>2,3</UsersID>
 +
<DiffrentAddressSym>767</DiffrentAddressSym>
 +
<DiffrentAddressUlic>7567</DiffrentAddressUlic>
 +
<DiffrentAddressNumer>gfhgf78</DiffrentAddressNumer>
 +
<DiffrentAddressMiasto>Racibórz</DiffrentAddressMiasto>
 +
<DiffrentAddressUlica>Opolska</DiffrentAddressUlica>
 +
<PrzeniesAutomat>false</PrzeniesAutomat>
 +
<Lider>12</Lider>
 +
</Calendar>
 +
<Calendar>
 +
<ID>5</ID>
 +
<CustomerID>8</CustomerID>
 +
<ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
 +
<Priority>2</Priority>
 +
<Private>false</Private>
 +
<CreateDate>2012-05-02 16:42:00</CreateDate>
 +
<ActionName>Instalacja</ActionName>
 +
<Locked>false</Locked>
 +
<CustomerName>Kowalski Jan</CustomerName>
 +
<Miasto>Warszawa</Miasto>
 +
<Ulica>Długa</Ulica>
 +
<Numer>2</Numer>
 +
<CloseID>2</CloseID> <!-- id operatora ktory zamknal notke -->
 +
<StartDate>2012-05-04 16:12:00</StartDate>
 +
<StopDate>2012-05-04 16:12:00</StopDate>
 +
<Desc>opis</Desc>
 +
<MoveCount>2</MoveCount>
 +
<UsersID>2,3</UsersID>
 +
<DiffrentAddressSym>767</DiffrentAddressSym>
 +
<DiffrentAddressUlic>7567</DiffrentAddressUlic>
 +
<DiffrentAddressNumer>gfhgf78</DiffrentAddressNumer>
 +
<DiffrentAddressMiasto>Racibórz</DiffrentAddressMiasto>
 +
<DiffrentAddressUlica>Opolska</DiffrentAddressUlica>
 +
<PrzeniesAutomat>false</PrzeniesAutomat>
 +
<Lider>12</Lider>
 
</Calendar>
 
</Calendar>
 
</EventCalendarGetAll>
 
</EventCalendarGetAll>
Linia 49: Linia 95:
 
</pre>
 
</pre>
  
 +
Odpowiedź gdy Closed = false:
 +
<pre class="brush:xml">
 +
//BEGIN//
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<Net47>
 +
<Request>
 +
<Type>EventCalendarGetAll</Type>
 +
<EventCalendarGetAll>
 +
<Calendar>
 +
<ID>4</ID>
 +
<CustomerID>8</CustomerID>
 +
<ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
 +
<Priority>2</Priority>
 +
<Private>false</Private>
 +
<CreateDate>2012-05-02 16:42:00</CreateDate>
 +
<ActionName>Demontaż</ActionName>
 +
<Locked>false</Locked>
 +
<CustomerName>Kowalski Jan</CustomerName>
 +
<Miasto>Warszawa</Miasto>
 +
<Ulica>Długa</Ulica>
 +
<Numer>2</Numer>
 +
<HelpDeskID>6</HelpDeskID>
 +
<Print>true</Print>
 +
<StartDate>2012-05-04 16:12:00</StartDate>
 +
<StopDate>2012-05-04 16:12:00</StopDate>
 +
<Desc>opis</Desc>
 +
</Calendar>
 +
<Calendar>
 +
<ID>5</ID>
 +
<CustomerID>8</CustomerID>
 +
<ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
 +
<Priority>2</Priority>
 +
<Private>false</Private>
 +
<CreateDate>2012-05-02 16:42:00</CreateDate>
 +
<ActionName>Demontaż</ActionName>
 +
<Locked>false</Locked>
 +
<CustomerName>Kowalski Jan</CustomerName>
 +
<Miasto>Warszawa</Miasto>
 +
<Ulica>Długa</Ulica>
 +
<Numer>2</Numer>
 +
<HelpDeskID>6</HelpDeskID>
 +
<Print>true</Print>
 +
<StartDate>2012-05-04 16:12:00</StartDate>
 +
<StopDate>2012-05-04 16:12:00</StopDate>
 +
<Desc>opis</Desc>
 +
</Calendar>
 +
</EventCalendarGetAll>
 +
</Request>
 +
</Net47>
 +
//BEGINEND//
 +
</pre>
 
Błędy:
 
Błędy:
 
<pre class="brush:xml">
 
<pre class="brush:xml">

Aktualna wersja na dzień 15:45, 4 lip 2018

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
    <Priority>0</Priority>
    <Request>
        <Type>EventCalendarGetAll</Type>
        <EventCalendarGetAll>
            <SortName>id</SortName> <!-- id, customer_id, helpdesk, typz, priorytet, print, prywatna, closeid, fv, akcja, startdate, enddate, createdate -->
            <SortType>ASC</SortType>
            <Limit>10</Limit>
            <Offset>1</Offset>
            <CustomerID>4</CustomerID> <!-- opcjonalne -->
            <UserID>1,2,3</UserID> <!-- opcjonalne -->
            <Closed>false</Closed> <!-- opcjonalne -->
            <DataOd>20.08.2015</DataOd> <!-- opcjonalne -->
            <DataDo>20.08.2015</DataDo> <!-- opcjonalne -->
            <TypZgloszenia>1,2,3</TypZgloszenia> <!-- opcjonalne -->
            <Adres></Adres> <!-- opcjonalne -->
            <Prywatne>false</Prywatne> <!-- opcjonalne -->
        </EventCalendarGetAll>
    </Request>
</Net47>
//BEGINEND//

Odpowiedź gdy Closed = true:

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>EventCalendarGetAll</Type>
        <EventCalendarGetAll>
            <Calendar>
                <ID>4</ID>
                <CustomerID>8</CustomerID>             
                <ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
                <Priority>2</Priority>
                <Private>false</Private>
                <CreateDate>2012-05-02 16:42:00</CreateDate>
                <ActionName>Demontaż</ActionName>
                <Locked>false</Locked>
                <CustomerName>Kowalski Jan</CustomerName>
                <Miasto>Warszawa</Miasto>
                <Ulica>Długa</Ulica>
                <Numer>2</Numer>
                <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke -->
                <StartDate>2012-05-04 16:12:00</StartDate>
                <StopDate>2012-05-04 16:12:00</StopDate>
                <Desc>opis</Desc>
                <MoveCount>2</MoveCount>
                <UsersID>2,3</UsersID>
                <DiffrentAddressSym>767</DiffrentAddressSym>
                <DiffrentAddressUlic>7567</DiffrentAddressUlic>
                <DiffrentAddressNumer>gfhgf78</DiffrentAddressNumer>
                <DiffrentAddressMiasto>Racibórz</DiffrentAddressMiasto>
                <DiffrentAddressUlica>Opolska</DiffrentAddressUlica>
                <PrzeniesAutomat>false</PrzeniesAutomat>
                <Lider>12</Lider>
            </Calendar>
            <Calendar>
                <ID>5</ID>
                <CustomerID>8</CustomerID>
                <ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
                <Priority>2</Priority>
                <Private>false</Private>
                <CreateDate>2012-05-02 16:42:00</CreateDate>
                <ActionName>Instalacja</ActionName>
                <Locked>false</Locked>
                <CustomerName>Kowalski Jan</CustomerName>
                <Miasto>Warszawa</Miasto>
                <Ulica>Długa</Ulica>
                <Numer>2</Numer>
                <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke -->
                <StartDate>2012-05-04 16:12:00</StartDate>
                <StopDate>2012-05-04 16:12:00</StopDate>
                <Desc>opis</Desc>
                <MoveCount>2</MoveCount>
                <UsersID>2,3</UsersID>
                <DiffrentAddressSym>767</DiffrentAddressSym>
                <DiffrentAddressUlic>7567</DiffrentAddressUlic>
                <DiffrentAddressNumer>gfhgf78</DiffrentAddressNumer>
                <DiffrentAddressMiasto>Racibórz</DiffrentAddressMiasto>
                <DiffrentAddressUlica>Opolska</DiffrentAddressUlica>
                <PrzeniesAutomat>false</PrzeniesAutomat>
                <Lider>12</Lider>
            </Calendar>
        </EventCalendarGetAll>
    </Request>
</Net47>
//BEGINEND//

Odpowiedź gdy Closed = false:

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>EventCalendarGetAll</Type>
        <EventCalendarGetAll>
            <Calendar>
                <ID>4</ID>
                <CustomerID>8</CustomerID>             
                <ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
                <Priority>2</Priority>
                <Private>false</Private>
                <CreateDate>2012-05-02 16:42:00</CreateDate>
                <ActionName>Demontaż</ActionName>
                <Locked>false</Locked>
                <CustomerName>Kowalski Jan</CustomerName>
                <Miasto>Warszawa</Miasto>
                <Ulica>Długa</Ulica>
                <Numer>2</Numer>
                <HelpDeskID>6</HelpDeskID>
                <Print>true</Print>
                <StartDate>2012-05-04 16:12:00</StartDate>
                <StopDate>2012-05-04 16:12:00</StopDate>
                <Desc>opis</Desc>
            </Calendar>
            <Calendar>
                <ID>5</ID>
                <CustomerID>8</CustomerID>             
                <ActionTypeID>1</ActionTypeID> <!-- EventCalendarActionTypeGetAll -->
                <Priority>2</Priority>
                <Private>false</Private>
                <CreateDate>2012-05-02 16:42:00</CreateDate>
                <ActionName>Demontaż</ActionName>
                <Locked>false</Locked>
                <CustomerName>Kowalski Jan</CustomerName>
                <Miasto>Warszawa</Miasto>
                <Ulica>Długa</Ulica>
                <Numer>2</Numer>
                <HelpDeskID>6</HelpDeskID>
                <Print>true</Print>
                <StartDate>2012-05-04 16:12:00</StartDate>
                <StopDate>2012-05-04 16:12:00</StopDate>
                <Desc>opis</Desc>
            </Calendar>          
        </EventCalendarGetAll>
    </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