code: @SuppressWarnings("unchecked")
      public Response insert(@NotNull @Valid final MODEL model) throws Exception {
          matchedInsert(model);
          setForInsertId(model);
  
          executeTx(t -> {
              preInsertModel(model);
              insertModel(model);
              postInsertModel(model);
          });
          MODEL_ID id = (MODEL_ID) this.server.getBeanId(model);
  
          return Response.created(buildLocationUri(id)).build();
      }
docs: Insert a model.
  <p>
  success status 201
  </p>
  
  @param model the model to insert
  @return a {@link javax.ws.rs.core.Response} object.
  @throws java.lang.Exception if any.
  @see javax.ws.rs.POST
  @see AbstractModelResource#insert