Returns the metering log details for the given date period.
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.LicenseManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
public static Dictionary<string, MeteringLog[]> GetMeteringLogDetails(
string tenantId,
Nullable<DateTime> startDate,
Nullable<DateTime> endDate
)
public static Dictionary<string, MeteringLog[]> GetMeteringLogDetails(
string tenantId,
Nullable<DateTime> startDate,
Nullable<DateTime> endDate
)
Public Shared Function GetMeteringLogDetails (
tenantId As String,
startDate As Nullable(Of DateTime),
endDate As Nullable(Of DateTime)
) As Dictionary(Of String, MeteringLog())
Public Shared Function GetMeteringLogDetails (
tenantId As String,
startDate As Nullable(Of DateTime),
endDate As Nullable(Of DateTime)
) As Dictionary(Of String, MeteringLog())
static member GetMeteringLogDetails :
tenantId : string *
startDate : Nullable<DateTime> *
endDate : Nullable<DateTime> -> Dictionary<string, MeteringLog[]>
static member GetMeteringLogDetails :
tenantId : string *
startDate : Nullable<DateTime> *
endDate : Nullable<DateTime> -> Dictionary<string, MeteringLog[]>
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
Exception | Condition |
---|
System ArgumentNullException | Throws ArgumentNullException if any mandatory argument is null or empty |
[!:LicenseException] | Throws LicenseException if any error occurs in this method |
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);
}
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);
}