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, 7- SUBSCRIPTION_USCORECODE, 8- STB_USCOREDN, 9- SUBSCRIPTION_USCORESTB_USCOREACCOUNT_USCORECODE, 10- PUK --> <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> <Subscriber><!-- sekcja może wystąpić kilka razy --> <SubscriberCode>37</SubscriberCode> <SubscriberFullName>Jan Maria Kowalski</SubscriberFullName> </Subscriber> </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//