JSON API » plans » plans/classes/get
Gets the fields of a rate plan number class.
Input parameters
Does not require authentication.
Name | Type | Description | Required | Default value |
---|---|---|---|---|
id | Integer | ID of rate plan number class to get. | Yes |
Responses
Code | Description |
---|---|
200 | Success. |
404 | The rate plan number class does not exist. |
Data returned
Fields of rate plan number class.
Example: With required parameters
http://enswitch.example.com/api/json/plans/classes/get/?auth_username=user;auth_password=password;id=123{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":{ "id":123, "plan":2, ... } }
Change history
Version | Changes |
---|---|
3.13 | Function added. |