AdescomGetDiscountsForCLID
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Voip</Module> <Request> <Type>AdescomGetDiscountsForCLID</Type> <AdescomGetDiscountsForCLID> <CallerID>48396548901</CallerID> </AdescomGetDiscountsForCLID> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>AdescomGetDiscountsForCLID</Type> <AdescomGetDiscountsForCLID> <Discount><!-- może wystąpić wiele razy --> <ID>4</ID> <Name>60 za granice</Name><!-- opcjonalne --> <Active>true</Active> <AutoShare>true</AutoShare><!-- opcjonalne --> <BlockOthers>false</BlockOthers><!-- opcjonalne --> <HistoryLength>6</HistoryLength> <DateEnd></DateEnd> <DateStart></DateStart> <OneTime>false</OneTime> <Priority>1</Priority> <Type>1</Type> <SkipInitial>false</SkipInitial><!-- opcjonalne --> <SkipValue>1.00</SkipValue><!-- opcjonalne --> <Everything>true</Everything><!-- opcjonalne --> </Discount> </AdescomGetDiscountsForCLID> </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//