MeteringProxy InsertLogMeteringDetails Method CelloSaaS API Documentation
This method is used to log the metering details

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

public static string InsertLogMeteringDetails(
	string tenantIdentifier,
	string usageName,
	double amount
)

Parameters

tenantIdentifier
Type: System String
usageName
Type: System String
amount
Type: System Double
Amount(Not equal to Zero)

Return Value

Type: String
Returns LogId(Success)/Empty(Fails)
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrows ArgumentNullException if any mandatory argument is null or empty
System ArgumentExceptionThrows ArgumentException if any argument is producing error
[!:LicenseException]Throws LicenseException if any error occurs in this method
Examples

public void InsertLogMeteringDetails()
{
    string tenantIdentifier = "B590CD25-3093-DF11-8DEB-001EC9DAB123";
    string usageCode = "CompanyUsage";
    double amount = 1;      
    string logMeteringId = MeteringProxy.InsertLogMeteringDetails(tenantIdentifier, usageCode, amount);
}
See Also