VoipGetAll
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
Linia 10: | Linia 10: | ||
<Type>VoipGetAll</Type> | <Type>VoipGetAll</Type> | ||
<VoipGetAll> | <VoipGetAll> | ||
+ | <CustomerID>12</CustomerID><!-- opcjonalne --> | ||
</VoipGetAll> | </VoipGetAll> | ||
</Request> | </Request> |
Wersja z 11:43, 9 sie 2013
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Voip</ Module > < Request > < Type >VoipGetAll</ Type > < VoipGetAll > < CustomerID >12</ CustomerID > <!-- opcjonalne --> </ VoipGetAll > </ 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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >VoipGetAll</ Type > < VoipGetAll > < Rekord > <!-- sekcja może wystąpić kilka razy --> < ID >11</ ID > < Typ >Telefon</ Typ > < Name >324305040</ Name > < Email ></ Email > < CustomerID >35</ CustomerID > < Customer >Grzegorz Kowalski</ Customer > < Przedzial >Przeniesiony</ Przedzial > < Nazwa >VoIP</ Nazwa > < ZobID >182</ ZobID > < LimitSekund >10800</ LimitSekund > < Wykorzystano >0</ Wykorzystano > < LastReset >2013-02-01 00:00:01</ LastReset > < Amaflags >billing</ Amaflags > < CallerID >48324305040</ CallerID > < Canreinvite >no</ Canreinvite > < Context >platnosciblokada</ Context > < Dtmfmode >rfc2833</ Dtmfmode > < Host >dynamic</ Host > < Insecure >no</ Insecure > < Language >pl</ Language > < Mailbox >324305040@mailbox</ Mailbox > < Md5Secret >dsfdsfsd4f7d272b0db957e3ea9b</ Md5Secret > < Nat >auto_force_rport</ Nat > < Permit ></ Permit > < Deny ></ Deny > < Mask ></ Mask > < Port ></ Port > < Qualify >no</ Qualify > < RestrictID ></ RestrictID > < Secret >haselko</ Secret > < Type >friend</ Type > < Username >324305040</ Username > < Allow >!all,alaw</ Allow > < MusicOnHold ></ MusicOnHold > < RegSeconds >0</ RegSeconds > < IpAddr ></ IpAddr > < CancallForward >no</ CancallForward > < RegServer ></ RegServer > < Useragent ></ Useragent > </ Rekord > </ VoipGetAll > </ 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 >Brak danych lub błąd pobrania.</ Error > </ Request > </ Net47 > //BEGINEND// |