Zvini
22:34:12

« Calculation » sendExisting

calculation/sendExisting - Sends an existing calculation.
Method parameters:
id - The ID of the calculation to send.
receiver_username - The Zvini username of the receiver.
Returns a JSON document of the following format:
<boolean> - Always true.
Expected errors:
CALCULATION_NOT_FOUND - A calculation with the ID doesn't exist.
UNCOMPUTABLE_EXPRESSION - The calculation expression is uncomputable.
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 calculations from you.