Hi there

I'm create REST service with using the Spring framework.

For Example rest request raw json object(using Postman):

Java Code:
{
    "Name" : "Tüm Ürünler",
    "ParentErpCode" : "asd"
}
my Category object model json:
Java Code:
{
    "id": null,
    "name": null,
    "shortDescription": null,
    "metaInfo": null,
    "published": false,
    "deleted": false,
    "updateDate": null,
    "fullDescription": null,
    "parentErpCode": null,
    "events": null,
    "createDate": null,
    "entityId": 0,
    "erpCode": null
  }
my Java Method:
Java Code:
@PostMapping(value = "/category/insert", consumes = {MediaType.APPLICATION_JSON_VALUE,MediaType.H})
    public ApiResponse Insert(@RequestBody Category model){
        ApiResponse response = new ApiResponse();
 
        try{
            response.setData(_categoryService.Insert(model));
            response.setSuccess(true);
        } catch (Exception ex){
            response = _categoryService.HandleException(ex);
        }
 
        return response;
    }
If json parameter name use "Name, ParentErpCode", model is null but parameter name using "name, parentErpCode" working databinding and model not null.

How resolve my problem

Thanks