OData/odataorg.github.io

Value cannot be null. Parameter name: edmEntityObject

dsaikishore opened this issue · 1 comments

When I try to create a Create a Derived Entity with the data given in Tripin Advanced Usages, am getting the following error.

{
"error": {
"code": "",
"message": "Value cannot be null.\r\nParameter name: edmEntityObject"
}
}

Data sent via postman:
header:
{
Content-Type: application/json
}
{
"@odata.type": "Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager",
"UserName": "mirsking",
"FirstName": "Mirs",
"LastName": "King",
"AddressInfo": [
{
"Address": "Microsoft",
"City": {
"Name": "Shanghai",
"CountryRegion": "China"
}
}],
"BossOffice":{
"Address": "Microsoft",
"City": {
"Name": "Shanghai",
"CountryRegion": "China"
}
},
"Budget": 100
}

Please advise what I am doing wrong.

Hervao commented

It looks there is very few support on Tripin tutorial.