AdescomGetReportForClientByExternalID
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>AdescomGetReportForClientByExternalID</Type> <AdescomGetReportForClientByExternalID> <FromDate>2011-01-01 00:00:00</FromDate> <ToDate>2013-06-01 00:00:00</ToDate> <ClientID>108</ClientID><!-- zewnętrzny identyfikator klienta --> <IncludeZeroDuration>true</IncludeZeroDuration><!-- opcjonalne --><!-- domyślnie false --><!-- Uwzględnij rozmowy z zerowym czasem trwania --> <SeparateCLIDs>true</SeparateCLIDs><!-- opcjonalne --><!-- domyślnie false --> <SeparateFractions>true</SeparateFractions><!-- opcjonalne --><!-- domyślnie false --> <SeparatePeriods>true</SeparatePeriods><!-- opcjonalne --><!-- domyślnie false --> <Incoming>true</Incoming><!-- opcjonalne --><!-- domyślnie false --> <Outgoing>true</Outgoing><!-- opcjonalne --><!-- domyślnie false --> </AdescomGetReportForClientByExternalID> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>AdescomGetReportForClientByExternalID</Type> <AdescomGetReportForClientByExternalID> <Rekord><!-- może wystąpić wiele razy --> <CallerID>6</CallerID> <Count></Count> <DurationTotal></DurationTotal> <Fraction></Fraction> <Period></Period> <CostAverageExcludingTaxes></CostAverageExcludingTaxes> <CostAverageIncludingTaxes></CostAverageIncludingTaxes> <CostTotalExcludingTaxes></CostTotalExcludingTaxes> <CostTotalIncludingTaxes></CostTotalIncludingTaxes> <DurationAverage></DurationAverage> <TaxesAverage></TaxesAverage> <TaxesTotal></TaxesTotal> <Date></Date> </Rekord> </AdescomGetReportForClientByExternalID> </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//