Esempio n. 1
0
        GetChargeDetailRecords(this IEMPClient IEMPClient,
                               Provider_Id ProviderId,
                               DateTime From,
                               DateTime To,

                               DateTime?Timestamp = null,
                               CancellationToken?CancellationToken = null,
                               EventTracking_Id EventTrackingId    = null,
                               TimeSpan?RequestTimeout             = null)


        => IEMPClient.GetChargeDetailRecords(new GetChargeDetailRecordsRequest(ProviderId,
                                                                               From,
                                                                               To,

                                                                               Timestamp,
                                                                               CancellationToken,
                                                                               EventTrackingId,
                                                                               RequestTimeout ?? IEMPClient.RequestTimeout));
Esempio n. 2
0
        GetChargeDetailRecords(this IEMPClient EMPClient,
                               Provider_Id ProviderId,
                               DateTime From,
                               DateTime To,
                               IEnumerable <Session_Id> SessionIds   = null,
                               IEnumerable <Operator_Id> OperatorIds = null,
                               Boolean?CDRForwarded = null,

                               UInt32?Page = null,
                               UInt32?Size = null,
                               IEnumerable <String> SortOrder = null,
                               JObject CustomData             = null,

                               DateTime?Timestamp = null,
                               CancellationToken?CancellationToken = null,
                               EventTracking_Id EventTrackingId    = null,
                               TimeSpan?RequestTimeout             = null)

        => EMPClient.GetChargeDetailRecords(
            new GetChargeDetailRecordsRequest(
                ProviderId,
                From,
                To,
                SessionIds,
                OperatorIds,
                CDRForwarded,

                Page,
                Size,
                SortOrder,
                CustomData,

                Timestamp,
                CancellationToken,
                EventTrackingId,
                RequestTimeout ?? EMPClient.RequestTimeout));