commit 2753adf7479ff5b43a8bc446823da7c8e7c7c271 parent 8641309245560d0eed0f694c1d4453b7da2546c3 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Tue, 9 May 2017 11:25:37 +0200 adapting to #5005 Diffstat:
| M | api/api-bank.rst | | | 16 | +++++++++++++++- |
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/api/api-bank.rst b/api/api-bank.rst @@ -36,12 +36,26 @@ request. **Response:** -:status 200 OK: The request has been correctly handled, so the funds have been transferred to the recipient's account +:status 200 OK: The request has been correctly handled, so the funds have been transferred to the recipient's account. The body is a +`BankDepositDetails`_. :status 400 Bad Request: The bank replies a `BankError`_ object **Details:** +.. _BankDepositDetails: +.. code-block:: tsref + + interface BankDepositDetails { + + // Timestamp related to the transaction being made. + timestamp: Timestamp; + + // Serial id identifying the transaction into the bank's + // database. + row_id: number; + } + .. _BankDepositRequest: .. code-block:: tsref