6.4.23. GetAllocationsColumnDef Previous topic Parent topic Child topic Next topic

This optional parameter allows you to define the way Radiator interprets the result of the GetAllocationsSelect statement.
You can specify any number of GetSessionColumnDef parameters, one for each interesting field returned by GetSessionSelect. The general format is:
GetAllocationsColumnDef n, dataitem
  • n is the index of the field in the result of GetAllocationsSelect. 0 is the first field.
  • dataitem is the name of a entry in the subscriber information
The subscriber information entries required by the modules shipped with Radiator policy and charging support use the following information:

Table 16. Allocation information fetched from the GySession

Name Description
id Index or other identifier that uniquely identifies this allocation in the Gy session
allocation_type Is this allocation for a service, rating group or pool
service_identifier Has a non-empty and non-NULL value for service allocation
rating_group Has a non-empty and non-NULL value for rating group allocation
pool_identifier Has a non-empty and non-NULL when the service or rating group is a pool member or the allocation describes the pool
service_units The number of units allocated for this service or rating group.
Note
Not meaningful for allocation the describes a pool
allocated_quota The amount of quota this the service_units reserve
pool_identifier Has a non-empty and non-NULL when the service or rating group is a pool member or the allocation describes the pool