Zvini
22:44:00

« Task » sendExisting

task/sendExisting - Sends an existing task.
Method parameters:
id - The ID of the task to send.
receiver_username - The Zvini username of the receiver.
Returns a JSON document of the following format:
<boolean> - Always true.
Expected errors:
TASK_NOT_FOUND - A task with the ID doesn't exist.
ENTER_RECEIVER_USERNAME - The receiver username is empty.
INVALID_RECEIVER_USERNAME - The receiver username is invalid.
RECEIVER_NOT_FOUND - No such receiver with the username.
RECEIVER_NOT_RECEIVING - The receiver hasn't opened a connection to receive tasks from you.