patch-monitoring-amount-arithmetic-inconsistency-SERIAL_ID.rst (1473B)
1 .. http:patch:: /monitoring/amount-arithmetic-inconsistencies/$SERIAL_ID 2 3 This endpoint is used to suppress select elements of amount arithmetic inconsistencies. Update the 'suppressed' field of an amount arithmetic inconsistency element with row_id $SERIAL_ID, according to :ts:type:`GenericAuditorMonitorPatchRequest`, stored by the auditor. 4 5 **Request:** 6 7 The request body must be a :ts:type:`GenericAuditorMonitorPatchRequest`. 8 9 **Response:** 10 11 :http:statuscode:`204 No Content`: 12 The element has been updated. 13 :http:statuscode:`400 Bad Request`: 14 The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. 15 The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or 16 ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. 17 :http:statuscode:`401 Unauthorized`: 18 The request lacks valid authentication credentials. 19 The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. 20 :http:statuscode:`404 Not found`: 21 The specified row was not found. 22 The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. 23 :http:statuscode:`500 Internal Server Error`: 24 The server experienced an internal error. 25 The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, 26 ``TALER_EC_GENERIC_DB_STORE_FAILED``, or 27 ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. 28 29 .. note:: 30 31 This endpoint is still experimental. The endpoint will be further developed as needed.