VoipFreeGetAll
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>VoipFreeGetAll</Type> <VoipFreeGetAll> <CustomerID>35</CustomerID> <From>2013-01-01</From><!-- opcjonalne --> </VoipFreeGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>VoipFreeGetAll</Type> <VoipFreeGetAll> <Rekord><!-- sekcja może wystąpić kilka razy --> <ID>11</ID> <Name>324305040</Name> <AccountCode>11</AccountCode> <Amaflags>billing</Amaflags> <CallGroup></CallGroup> <CallerID>48324305040</CallerID> <Canreinvite>no</Canreinvite> <Context>platnosciblokada</Context> <DefaultIP></DefaultIP> <DtmfMode>rfc2833</DtmfMode> <FromUser></FromUser> <FromDomain></FromDomain> <Host>dynamic</Host> <InSecure>no</InSecure> <Language>pl</Language> <Mailbox>324305040@mailbox</Mailbox> <Md5Secret>7d8c10e3fa194f7d272b0db957e3ea9b</Md5Secret> <Nat>auto_force_rport</Nat> <Permit></Permit> <Deny></Deny> <Mask></Mask> <PickupGroup></PickupGroup> <Port></Port> <Qualify>no</Qualify> <RestrictcID></RestrictcID> <RtpTimeout></RtpTimeout> <RtpHoldTimeout></RtpHoldTimeout> <Secret>dzidek74</Secret> <Type>friend</Type> <Username>324305040</Username> <CallBackExtension></CallBackExtension> <Allow>!all,alaw</Allow> <MusicOnHold></MusicOnHold> <RegSeconds>0</RegSeconds> <IpAddr></IpAddr> <Regexten></Regexten> <CancallForward>no</CancallForward> <LastMs>0</LastMs> <DefaultUser></DefaultUser> <FullContact></FullContact> <RegServer></RegServer> <UserAgent></UserAgent> <CustomerID>35</CustomerID> </Rekord> </VoipFreeGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Brak danych lub błąd pobrania.</Error> </Request> </Net47> //BEGINEND//