AdescomGetDiscountsUsageHistory
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Voip</ Module > < Request > < Type >AdescomGetDiscountsUsageHistory</ Type > < AdescomGetDiscountsUsageHistory > < IDs >1,3,5</ IDs > <!-- jeśli więcej niż 1 to oddzielamy przecinkiem --> < FromDate >2012-01-01</ FromDate > < ToDate >2013-06-14</ ToDate > </ AdescomGetDiscountsUsageHistory > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >AdescomGetDiscountsUsageHistory</ Type > < AdescomGetDiscountsUsageHistory > < Rekord > <!-- może wystąpić wiele razy --> < ID >4</ ID > < Date ></ Date > < Type ></ Type > <!-- opcjonalne --> < Value ></ Value > <!-- opcjonalne --> < Value2 >1.00</ Value2 > <!-- opcjonalne --> </ Rekord > </ AdescomGetDiscountsUsageHistory > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Błąd:</ Error > </ Request > </ Net47 > //BEGINEND// |