MeteringProxy GetMeteringLogDetails Method CelloSaaS API Documentation
Returns the metering log details for the given date period.

Namespace: CelloSaaS.BusinessEdition.ServiceProxies.LicenseManagement
Assembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

public static Dictionary<string, MeteringLog[]> GetMeteringLogDetails(
	string tenantId,
	Nullable<DateTime> startDate,
	Nullable<DateTime> endDate
)

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,  MeteringLog  
Metering Log Details
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrows ArgumentNullException if any mandatory argument is null or empty
[!: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");       
    Dictionary<string, List<MeteringLog>> meteringLogDetails = MeteringProxy.GetMeteringLogDetails(tenantId, startDate, endDate);
}
See Also