Function: task
Result: the list of elements
Tasks
Access level: admin
- id — Id
- type — Task type
- department — Department
- item — Product/service
- itemstatus — Service status
- itemtype — Product type
- pricelist — Tariff plan
- client — Client
- performer — Performer
- runningoperation — Operation
- opendate — Creation date
- status — Task status
To set the filter and display the resulting values, use the task function with the filter=on parameter.
/usr/local/mgr5/sbin/mgrctl -m billmgr task filter=on authinfo=<auth_id> itemtype=10 pricelist=13 status=0 type=postopen itemstatus=5 out=xml
Set a filter by the selected client
Function: task.setfilter
Set a filter by the selected client
Access level: admin
Drill down to the User panel
Function: task.su
Drill down to the User panel
Access level: admin
Send a ticket to client
Function: ticket.write.task
Send a ticket to client
Access level: admin
Delete
Function: task.delete
Delete
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of task function.
Result: successful operation or error message
Set filter
Function: task.filter
Opens the filter settings in the platform interface
Restart current operation associated with the task
Function: task.start
Restart current operation associated with the task
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of task function.
Result: successful operation or error message
Task
Function: task.edit
Access level: admin
The function is simultaneously used to view object's parameters, to change an object, and create new one.
View object's parameters:
- Parameters:
- elid — unique identifier (id element of task function)
- Result: object parameters list
Create an object:
- Parameters:
- sok=ok — operation confirmation
- additional query parameters ...
- Result: successful operation or error message
Change an object:
- Parameters:
- sok=ok — operation confirmation
- elid — unique identifier (id element of task function)
- additional query parameters ...
- Result: successful operation or error message
The list object's parameters or additional query parameters (see above):
- department — Department. Department responsible for this task
- specification — Task description. Detailed description of the task and required actions
- closeaction — Close task actions. Description of actions that will be carried out during closing the task
- item_info — Service description. Information about the service and its parameters
- error_info — Error description. Information about errors that occurred when trying to automatically perform the task
- message — Your comment. Any information added by administrator
- itemnote — Item hint. Item hint is only visible to provider's staff
In order to close a task, the responsible employee must take over the task.
/usr/local/mgr5/sbin/mgrctl -m billmgr task.edit clicked_button=take elid=<task_id> sok=ok su=admin
Close the task with the required parameters, for example with IP = 1.1.1.1.1:
/usr/local/mgr5/sbin/mgrctl -m billmgr task.edit clicked_button=close elid=<task_id> sok=ok su=admin p_ip=1.1.1.1