AdescomGetBillingByCallerID
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Voip</ Module > < Request > < Type >AdescomGetBillingByCallerID</ Type > < AdescomGetBillingByCallerID > < FromDate >2011-01-01 00:00:00</ FromDate > < ToDate >2013-06-01 00:00:00</ ToDate > < CallerID >48396548901</ CallerID > <!-- numer telefonu --> < IncludeZeroDuration >true</ IncludeZeroDuration > <!-- Uwzględnij rozmowy z zerowym czasem trwania --> < TypeSet >1</ TypeSet > <!-- Pole zarezerwowane na przyszłe użycie --> <!-- 1- ns1__billingRecordType__1, 2 - ns1__billingRecordType__2 --> < DirectionSet >1</ DirectionSet > <!-- Kierunek połączenia (wychodzące, przychodzące) – dowolna kombinacja stałych BILLING_RECORD_DIRECTION_xxx --> </ AdescomGetBillingByCallerID > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >AdescomGetBillingByCallerID</ Type > < AdescomGetBillingByCallerID > < Rekord > <!-- może wystąpić wiele razy --> < Destination >48324151111</ Destination > < Source >48324151212</ Source > < Duration ></ Duration > < Fraction ></ Fraction > < ID >6</ ID > < OutGoing ></ OutGoing > < Prefix ></ Prefix > < PrefixName ></ PrefixName > < Price ></ Price > < TaxesValue ></ TaxesValue > <!-- opcjonalne --> < PriceWithoutTaxes ></ PriceWithoutTaxes > <!-- opcjonalne --> < RateWithTaxes ></ RateWithTaxes > <!-- opcjonalne --> < StartDate ></ StartDate > < EndDate ></ EndDate > < Discounts > < Discount > <!-- może wystąpić wiele razy --> < ID ></ ID > < Name ></ Name > < Type ></ Type > < Value ></ Value > </ Discount > </ Discounts > </ Rekord > </ AdescomGetBillingByCallerID > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 10 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Nieprawidłowa wartość parametru TypeSet. Prawidłowy zakres wartości 1-2</ Error > < Error >Błąd:</ Error > </ Request > </ Net47 > //BEGINEND// |