The Class ChargeCDRDto.
name | data type | description |
---|---|---|
cdr | string | The CDR string |
ip | string | The remote IP |
virtual | boolean | Rating must happen in a transaction no change performed during rating is persisted if isVirtual=true. |
rateTriggeredEdr | boolean | rate all TriggeredEDR created by the rating of the charge. |
maxDepth | number | The max deep used in triggered EDR. |
returnWalletOperations | boolean | If true, the API will return the list of IDs of all wallet operations produced. Applies to non-virtual mode only. |
returnWalletOperationDetails | boolean | If true, the API will return the list of details of all wallet operations produced, even if they are virtual |
returnEDRs | boolean | If true, the API will return the list of IDs of all EDRs produced. Applies to non-virtual mode only. |
returnCounters | boolean | If true, the API will return the list Counters that were updated during the rating, even if they are virtual |
generateRTs | boolean | If true, the API will automatically generate RTs. |
Example
{ "cdr" : "...", "ip" : "...", "virtual" : true, "rateTriggeredEdr" : true, "maxDepth" : 12345, "returnWalletOperations" : true, "returnWalletOperationDetails" : true, "returnEDRs" : true, "returnCounters" : true, "generateRTs" : true }