In order to avoid that heavy loaded requests to the insertCashPointClosing endpoint run into a timeout, the fields validation is done in a separate process.
Due to this, the retrieveCashPointClosing endpoint should be called to check whether a Cash Point Closing has been successfully processed after a certain time.
In case of an incorrect body schema, the response to an insertCashPointClosing request will return the HTTP status code 200
OK
first.
However, after validating the schema, the status of the Cash Point Closing will switch to ERROR
instead of COMPLETED
. This status can be retrieved via the retrieveCashPointClosing endpoint.
The "error"
object in the response should contain a more detailed error description.