Add or activate policy rule
Adds and activates policy rules.
GET /sponsordata/sds/campaigns/addoractivate?{requestParametersGoHere}
accept: application/JSON/XML
The SDGW, upon the OCSG accepting the activation request, schedules a trigger for the deactivation (Tango to OCSG) on the endDateTime
specified. In certain error case scenarios, it is possible that the deactivation trigger scheduled or request for deactivation related to the trigger does not reach the OCSG. The SDGW does not retry the deactivation trigger.
The Oracle OCSG considers the endDateTime as the termination end date of the campaign and, on this exact date and time, removes associated policies and/or functions on the PCRF beyond this exact point in time for the given campaign, regardless of the status of the campaign or whether the OCSG receives the deactivation request from the Tango Telecom solution.
|
Request parameters table
All parameters are mandatory. |
Parameter | Description | ||
---|---|---|---|
|
Integer that identifies the method to be executed. So, when you need to add or activate a policy rule, this is the request parameter for that. values
|
||
|
A string that denotes the name of the sponsor. Who is this bodacious benefactor?
|
||
|
Integer that uniquely identifies the campaign. Important stuff here!
|
||
|
A string that names the campaign. |
||
|
A string that contains details (meta-data) about the campaign. |
||
|
Specifies when the campaign start date should occur. The format is
|
||
|
Specifies when the campaign end date should occur. The format is
|
||
|
List of server-side IP addresses for which access is sponsored. This is comma-separated.
|
Response parameters table
Once you have added or activated a new policy rule, the response will contain the parameters as outlined in the table and sample below.
Parameter | Description | ||
---|---|---|---|
|
Integer showing the result of the operation.
|
||
|
A text string that describes the result of the operation.
|
||
|
An auto-generated ID that uniquely identifies the command in the system log.
|