FUP

Retrieve FUP Policy

Work with FUP Policy.Retrieves FUP Policy with the given ID

get/admin/fup/policies/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/fup/policies/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The service ID of the desired FUP Policy

Response

idnumber required

Policy id

tariff_ifnumber required

Tariff id

namestring required

Name

fixed_upnumber required

Upload in bytes

fixed_downnumber required

Download in bytes

accounting_trafficnumber required

Traffic accounting. Value: 1 or 0

accounting_onlinenumber required

Time accounting. Value: 1 or 0

actionstring required

Action. Value: 'increase', 'decrease' or 'block'

percentnumber

Percent

conditionsstring

Conditions

Example response

{
  "id": 0,
  "tariff_if": 0,
  "name": "",
  "fixed_up": 0,
  "fixed_down": 0,
  "accounting_traffic": 0,
  "accounting_online": 0,
  "action": "",
  "percent": 0,
  "conditions": ""
}

Changes

No recorded changes to this operation across all 1 revision of this API.