EventCalendarClosedGetAll

Z Net47 2.0
Skocz do: nawigacji, wyszukiwania

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
    <Priority>0</Priority>
    <Request>
        <Type>EventCalendarClosedGetAll</Type>
        <EventCalendarClosedGetAll>
            <SortName>id</SortName> <!-- id, customer_id, closeid, powod, wina_klienta, fv, kwota, createdate, czas -->
            <SortType>ASC</SortType>
            <Limit>10</Limit>
            <Offset>1</Offset>
            <CalendarID>4</CalendarID>
            <CustomerID>1</CustomerID>
        </EventCalendarClosedGetAll>
    </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
35
36
37
38
39
40
41
42
43
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>EventCalendarClosedGetAll</Type>
        <EventCalendarClosedGetAll>
            <Calendar>
                <ID>4</ID>
                <CustomerID>4</CustomerID>
                <CloseID>9</CloseID> <!-- id usera ktory zamknal notke -->
                <Reason>usterka rozwiazana poprzez kontakt telefoniczny</Reason>
                <ClientFailure>true</ClientFailure> <!-- definiuje czy usterka nastapila z winy klienta -->
                <Payment>2</Payment> <!-- DocumentGetAll -->
                <Price>40,99</Price>
                <CreateDate>2012-03-01 22:01:04</CreateDate>
                <AgoDate>-1 days -08:29:13<AgoDate>
            </Calendar>
            <Calendar>
                <ID>5</ID>
                <CustomerID>4</CustomerID>
                <CloseID>9</CloseID> <!-- id usera ktory zamknal notke -->
                <Reason>usterka rozwiazana poprzez kontakt telefoniczny</Reason>
                <ClientFailure>true</ClientFailure> <!-- definiuje czy usterka nastapila z winy klienta -->
                <Payment>2</Payment> <!-- DocumentGetAll -->
                <Price>40,99</Price>
                <CreateDate>2012-03-01 22:01:04</CreateDate>
                <AgoDate>-1 days -08:29:13<AgoDate>
            </Calendar>
            <Calendar>
                <ID>6</ID>
                <CustomerID>4</CustomerID>
                <CloseID>9</CloseID> <!-- id usera ktory zamknal notke -->
                <Reason>usterka rozwiazana poprzez kontakt telefoniczny</Reason>
                <ClientFailure>true</ClientFailure> <!-- definiuje czy usterka nastapila z winy klienta -->
                <Payment>2</Payment> <!-- DocumentGetAll -->
                <Price>40,99</Price>
                <CreateDate>2012-03-01 22:01:04</CreateDate>
                <AgoDate>-1 days -08:29:13<AgoDate>
            </Calendar>
        </EventCalendarClosedGetAll>
    </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