Single Record Strategy

Error Handling Pattern when the Request contains one record.

The Single Record Pattern is applied, when

  • the request body is empty or

  • when the request body contains one record.

The is true, for example, for all GET requests, because they do not contain a body. In case of POST/PUT/PATCH it is applied when the request does not contain an array of records.

Last updated