JSON API » plans » plans/classes/get

Gets the fields of a rate plan number class.

Input parameters

Does not require authentication.

NameTypeDescriptionRequiredDefault value
idIntegerID of rate plan number class to get.Yes

Responses

CodeDescription
200Success.
404The 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

VersionChanges
3.13Function added.