NanguSubscriptionCreate
(Różnice między wersjami)
Linia 17: | Linia 17: | ||
<LocalityCode>test</LocalityCode> | <LocalityCode>test</LocalityCode> | ||
<ScheduleOption>INSERT</ScheduleOption><!-- opcjonalne --><!-- 0- INSERT, 1- FIRST, 2- LAST, 3- ONLY --> | <ScheduleOption>INSERT</ScheduleOption><!-- opcjonalne --><!-- 0- INSERT, 1- FIRST, 2- LAST, 3- ONLY --> | ||
− | <SubscriberCode>40</SubscriberCode>< | + | <SubscriberCode>40</SubscriberCode>< |
<SubscriptionCode>591-1372322009362</SubscriptionCode> | <SubscriptionCode>591-1372322009362</SubscriptionCode> | ||
<SubscriptionStbAccountCode>123213</SubscriptionStbAccountCode><!-- opcjonalne --> | <SubscriptionStbAccountCode>123213</SubscriptionStbAccountCode><!-- opcjonalne --> |
Wersja z 10:02, 27 cze 2013
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>40925bcd82b4b81927dd199071967b05</SessionID> <Priority>0</Priority> <Module>Tv</Module> <Request> <Type>NanguSubscriptionCreate</Type> <NanguSubscriptionCreate> <AltCurrencyCode>EUR</AltCurrencyCode><!-- opcjonalne --> <CurrencyCode>PLZ</CurrencyCode> <DueDate>2012-06-06 12:12:12</DueDate><!-- opcjonalne --> <IspCode>1234</IspCode><!-- opcjonalne --> <LocalityCode>test</LocalityCode> <ScheduleOption>INSERT</ScheduleOption><!-- opcjonalne --><!-- 0- INSERT, 1- FIRST, 2- LAST, 3- ONLY --> <SubscriberCode>40</SubscriberCode>< <SubscriptionCode>591-1372322009362</SubscriptionCode> <SubscriptionStbAccountCode>123213</SubscriptionStbAccountCode><!-- opcjonalne --> <TariffCode>TV_Nowy.Mały_12</TariffCode> </NanguSubscriptionCreate> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NanguSubscriptionCreate</Type> <NanguSubscriberCreate> <Status>OK</Status> </NanguSubscriptionCreate> </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//