I have this syntax in API-HTTP POST request
public IHttpActionResult SyncWealthItemsForAccount([FromBody] List<IntegrationWealthItem> wealthItems, Data.EnumerationsIntegration.IntegrationType integrationType, string accountGuidId)
I want to test it in Postman:I pass Authorization and content-type in header:
Content-Type:application/x-www-form-urlencoded
This is the way I'm passing the WealthItems list
[0].ExternalID means WealthItems[0].ExternalID
I guess its not the correct way of passing it. I have the error below
{
"Message": "The request is invalid.",
"ModelState": {
"wealthItems": [
"Ambiguous match found."
]
}
}
Any help would be appreciated .