NanguSubscriberSearch
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Tv</Module> <Request> <Type>NanguSubscriberSearch</Type> <NanguSubscriberSearch> <LocalityCode>37</LocalityCode><!--opcjonalne --> <SearchText>37</SearchText><!--opcjonalne --> <IspCode>37</IspCode><!--opcjonalne --> <OfferCode>37</OfferCode><!--opcjonalne --> <SearchType>0</SearchType><!--opcjonalne --><!-- 0- SUBSCRIBER_USCORECODE, 1- SUBSCRIBER_USCORENAME, 2- USERNAME, 3- CUSTOMER_USCORENUMBER, 4- STB_USCORESERIAL, 5- IP_USCOREADDRESS, 6- MAC_USCOREADDRESS <SubscriptionState>0</SubscriptionState><!--opcjonalne --><!-- 0- New, 1- Billing, 2- Suspended --> <SubscriptionStbAccountState>0</SubscriptionStbAccountState><!--opcjonalne --><!-- 0- STB_USCOREORDERED, 1- STB_USCORESHIPPED, 2- STB_USCOREACTIVE, 3- --> </NanguSubscriberSearch> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NanguSubscriberSearch</Type> <NanguSubscriberSearch> <Subscription><!-- sekcja może wystąpić kilka razy --> <SubscriptionCode>584-1372243307661</SubscriptionCode> <SubscriptionState>NEW</SubscriptionState><!-- możliwe wartości: NEW, BILLING, SUSPENDED --> </Subscription> </NanguSubscriberSearch> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Błąd: </Error> </Request> </Net47> //BEGINEND//