From 8fa4ab7854fad0c1de9b33f9d07c0d319b7b15f9 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 19 Mar 2012 19:56:46 +0200 Subject: [PATCH] user budget description --- docs/tutorial.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 6f6079326..71a29eda9 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -226,6 +226,30 @@ VolumeDiscountThresholds {"Seconds":100,"Priority":20,"Price":0,"DestinationId":"retea"}] } +User budget describes the amount of various free quotas for every client of the network. It contains the entities from the tariff plan plus more items to track user status. + +Parameters: + +Id + The Id uniquely identifies the client. +Credit + The amount of the available credit for prepaid or the total cost for postpaid. +SmsCredit + The number of avaliable free SMS. +Traffic + The amount of available free internet traffic. +VolumeDiscountSeconds + The accumulated number of placed call seconds to be used for volume discounts. +ReceivedCallSeconds + The accumulated amount of received call seconds to be used for received call bonus. +ResetDayOfTheMonth + The day of the month when the free quotas will be refiled. +TariffPlanId + The Id of the client's tariff plan. This is used to refill the free quotas +MinuteBuckets + A list of buckets containing the available seconds to various destinations. + + Database selection -------------------