logo.png queues/custom/pause JSON API function

JSON API » queues » queues/custom/pause

Queue pause.

Input parameters

Requires authentication and the user role privilege.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
customerIntegerID of customer.No. Customer of authentication user.
dnumberStringAgent number (telephone line).Yes
optionIntegerID of pause type.Recommended0

Responses

CodeDescription
200Success.
400Invalid input parameters specified. Check the key and message fields for more details.
401The authentication details provided are invalid.
402Your role does not allow this.

Data returned

No data is returned.

Example:

https://www.015pbx.net/local/api/json/queues/custom/pause/?auth_username=user;auth_password=password;dnumber=12345678;customer=1;option=1

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