JSON API » features » features/name/get

Gets the name of a feature.

Input parameters

Requires authentication and the user role privilege.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
typeStringType of feature.Yes
numberIntegerID or number of feature.Yes
customerIntegerID of customer of feature.NoCustomer of authentication user.

Responses

CodeDescription
200Success.
400Invalid customer specified.
401The authentication details provided are invalid.
402Your role does not allow this.
404The feature was not found, or you do not have permission to view it.

Data returned

The name of the feature

Example: With required parameters

http://enswitch.example.com/api/json/features/name/get/?auth_username=user;auth_password=password;type=ivr;number=123

{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":{ "name":"example" } }

Change history

VersionChanges
3.13Function added.