JSON API » plans » plans/features/list
Get fields of all features for a rate plan. If you only need one feature, use plans/features/get instead, which is more efficient.
Input parameters
Does not require authentication.
Name | Type | Description | Required | Default value |
---|---|---|---|---|
plan | Integer | ID of rate plan. | Yes |
Responses
Code | Description |
---|---|
200 | Success. |
400 | The rate plan does not exist. |
Data returned
Fields of rate plan features.
Example: With required parameters
http://enswitch.example.com/api/json/plans/features/list/?plan=123{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":[ { "feature":"view", "included":0, "maximum":-1 }, ... ] }
Change history
Version | Changes |
---|---|
3.13 | Function added. |