Returns the metering log details for the given date period.
Namespace: CelloSaaS.ServiceContracts.LicenseManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- tenantId
- Type: System String
Tenant Identifier(Mandatory)
- startDate
- Type: System Nullable DateTime
Start Date of the log
- endDate
- Type: System Nullable DateTime
End Date of the log
Return Value
Type: Dictionary String, List MeteringLogMetering Log Details
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Throws ArgumentNullException if any mandatory argument is null or empty |
CelloSaaS.ServiceContracts.LicenseManagement LicenseException | Throws LicenseException if any error occurs in this method |
Examples
public void GetMeteringLogDetails() { string tenantId = "B590CD25-3093-DF11-8DEB-001EC9DAB123"; DateTime? startDate = Convert.ToDateTime("4/1/2010"); DateTime? endDate = Convert.ToDateTime("4/15/2010"); IMeteringService meteringService = ServiceLocator.Resolve<IMeteringService>(); Dictionary<string, List<MeteringLog>> meteringLogDetails = meteringService.GetMeteringLogDetails(tenantId, startDate, endDate); }
See Also