NanguSubscriptionReset

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
19
20
21
22
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <SessionID>40925bcd82b4b81927dd199071967b05</SessionID>
    <Priority>0</Priority>
    <Module>Tv</Module>
    <Request>
        <Type>NanguSubscriptionReset</Type>
        <NanguSubscriptionReset>
            <DefaultMasterPin>8405</DefaultMasterPin>
            <DefaultParentalPin>7805</DefaultParentalPin>
            <IspCode>37</IspCode><!-- opcjonalne-->
            <Addressee><!-- może wystąpić więcej razy, ale musi wystąpić przyjnajmniej raz -->
                <SubscriptionCode>584-1372840501442</SubscriptionCode>
            </Addressee>
            <Addressee>
                <SubscriptionCode>582-1372840501556</SubscriptionCode>
            </Addressee>
        </NanguSubscriptionReset>
    </Request>
</Net47>
//BEGINEND//

Odpowiedź:

1
2
3
4
5
6
7
8
9
10
11
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>NanguSubscriptionReset</Type>
        <NanguSubscriptionReset>
            <Status>OK</Status>
        </NanguSubscriptionReset>
    </Request>
</Net47>
//BEGINEND//

Błędy:

1
2
3
4
5
6
7
8
9
10
11
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
    <Request>
        <Type>Error</Type>
        <Error>Wrong master PIN format [840501442], exactly 4 digits are required.</Error>
        <Error>Wrong parental PIN format [780501337], exactly 4 digits are required.</Error>
        <Error>Błąd: </Error>
    </Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu