JSON API » features » features/name/get
Gets the name of a feature.
Input parameters
Requires authentication and the user role privilege.
Name | Type | Description | Required | Default value |
---|---|---|---|---|
auth_username | String | Authentication username. | Yes | |
auth_password | String | Authentication password. | Yes | |
type | String | Type of feature. | Yes | |
number | Integer | ID or number of feature. | Yes | |
customer | Integer | ID of customer of feature. | No | Customer of authentication user. |
Responses
Code | Description |
---|---|
200 | Success. |
400 | Invalid customer specified. |
401 | The authentication details provided are invalid. |
402 | Your role does not allow this. |
404 | The 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
Version | Changes |
---|---|
3.13 | Function added. |