CustomerAddressGetOne

(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:
 
<CustomerAddressGetOne>
 
<CustomerAddressGetOne>
 
<CustomerID>4</CustomerID>
 
<CustomerID>4</CustomerID>
<AddresType>0</AddresType> <!-- 0 = Adres klienta, 1 = Adres instalacji, 2 = Adres korespondencyjny, brak sekcji = wszystkie --> <!-- opcjonalne -->
+
<AddressType>0</AddressType> <!-- 0 = Adres klienta, 1 = Adres instalacji, 2 = Adres korespondencyjny, brak sekcji = wszystkie --> <!-- opcjonalne -->
 
</CustomerAddressGetOne>
 
</CustomerAddressGetOne>
 
</Request>
 
</Request>

Wersja z 13:21, 9 lip 2012

Zapytanie:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
    <Priority>0</Priority>
    <Request>
        <Type>CustomerAddressGetOne</Type>
        <CustomerAddressGetOne>
            <CustomerID>4</CustomerID>
            <AddressType>0</AddressType> <!-- 0 = Adres klienta, 1 = Adres instalacji, 2 = Adres korespondencyjny, brak sekcji = wszystkie --> <!-- opcjonalne -->
        </CustomerAddressGetOne>
    </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
44
45
46
47
48
49
50
51
52
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>CustomerAddressGetOne</Type>
        <CustomerAddressGetOne>
            <Address> <!-- sekcja wystepuje w zaleznosci od zadanego AddressType -->
                <ID>1</ID>
                <CustomerID>5</CustomerID>
                <Street>5</Street>
                <Numer>5</Numer>
                <Mieszkanie>1a</Mieszkanie>
                <Zip>11-200</Zip>
                <City>Rybnik</City>
                <Poczta>Rybnik</Poczta>
                <SYM>942469</SYM>
                <SYM_UL>25547</SYM_UL>
                <AddresType>0</AddresType>
                <CreateDate>2012-03-01 12:31:00</CreateDate>
            </Address>
            <Address> <!-- sekcja wystepuje w zaleznosci od zadanego AddressType -->
                <ID>1</ID>
                <CustomerID>5</CustomerID>
                <Street>5</Street>
                <Numer>5</Numer>
                <Mieszkanie>1a</Mieszkanie>
                <Zip>11-200</Zip>
                <City>Rybnik</City>
                <Poczta>Rybnik</Poczta>
                <SYM>942469</SYM>
                <SYM_UL>25547</SYM_UL>
                <AddresType>1</AddresType>
                <CreateDate>2012-03-01 12:31:00</CreateDate>
            </Address>
            <Address> <!-- sekcja wystepuje w zaleznosci od zadanego AddressType -->
                <ID>1</ID>
                <CustomerID>5</CustomerID>
                <Street>5</Street>
                <Numer>5</Numer>
                <Mieszkanie>1a</Mieszkanie>
                <Zip>11-200</Zip>
                <City>Rybnik</City>
                <Poczta>Rybnik</Poczta>
                <SYM>942469</SYM>
                <SYM_UL>25547</SYM_UL>
                <AddresType>2</AddresType>
                <CreateDate>2012-03-01 12:31:00</CreateDate>
            </Address>
        </CustomerAddressGetOne>
    </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>Nie ma klienta pod tym adresem</Error>
    </Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu