JSON API » huntgroups » huntgroups/levels/get

Gets the fields of a hunt group level.

Input parameters

Requires authentication and the user role privilege.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
huntgroupIntegerID of hunt group.Yes
levelIntegerLevel from 1 to 10.Yes

Responses

CodeDescription
200Success.
401The authentication details provided are invalid.
402Your role does not allow this.
404The hunt group does not exist, or you do not have permission to view it.

Data returned

Fields of hunt group level.

Example: With required parameters

http://enswitch.example.com/api/json/huntgroups/levels/get/?auth_username=user;auth_password=password;id=123;level=1

{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":{ "huntgroup":123, "level":1, ... } }

Change history

VersionChanges
3.13Function added.