mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 05:39:54 +05:00
Fixup doc
This commit is contained in:
@@ -124,6 +124,7 @@ type AttrSetRatingProfile struct {
|
||||
RateProfileId string
|
||||
}
|
||||
|
||||
// Process dependencies and load a specific rating profile from storDb into dataDb.
|
||||
func (self *Apier) SetRatingProfile(attrs AttrSetRatingProfile, reply *string) error {
|
||||
if missing := utils.MissingStructFields(&attrs, []string{"TPid", "RateProfileId"}); len(missing) != 0 {
|
||||
return fmt.Errorf("%s:%v", utils.ERR_MANDATORY_IE_MISSING, missing)
|
||||
|
||||
@@ -205,21 +205,6 @@ Only the Id field must be set for get operation.
|
||||
Example
|
||||
GetDestination(attr \*AttrDestination, reply \*AttrDestination)
|
||||
|
||||
SetDestination
|
||||
++++++++++++++
|
||||
|
||||
Sets the destinations for the specified tag.
|
||||
|
||||
::
|
||||
|
||||
type AttrDestination struct{
|
||||
Id string
|
||||
Prefixes []string
|
||||
}
|
||||
|
||||
|
||||
Example
|
||||
SetDestination(attr *AttrDestination, reply \*rater.Destination)
|
||||
|
||||
GetBalance
|
||||
++++++++++
|
||||
@@ -330,19 +315,14 @@ AddAcount
|
||||
Example
|
||||
AddAccount(attr \*AttrAccount, reply \*float64)
|
||||
|
||||
SetRatingProfile
|
||||
++++++++++++++++
|
||||
|
||||
Sets the rating profile for the specified subject.
|
||||
|
||||
::
|
||||
|
||||
type AttrSetRatingProfile struct {
|
||||
TPID string
|
||||
RatingProfileId string
|
||||
}
|
||||
|
||||
Example
|
||||
SetRatingProfile(attr \*AttrSetRatingProfile, reply \*float64)
|
||||
RatingProfiles
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
api_ratingprofiles
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user