-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I try to use the nugget package but after install and config with :
GlobalConfiguration.Configuration.Filters.Add(new PartialJsonActionFilter()); GlobalConfiguration.Configuration.Formatters.Clear(); GlobalConfiguration.Configuration.Formatters.Add(new PartialJsonMediaTypeFormatter() { IgnoreCase = true });
I return response with :
HttpResponseMessage ReturnResult<T>(HttpStatusCode httpStatusCode, T result) { var response = new HttpResponseMessage(httpStatusCode); response.Content = new ObjectContent<T>(result, new PartialJsonMediaTypeFormatter()); return response; }
and in url I call :
{{domain}}/api/driversapp?fields=Id
I have all data and not just the Id.
Any idea?
Thanks,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels