Hi,
I'm working with KendoUI on the front end, and following some of their "default" way of doing things (that means using their DataSource object), I request data from a MVC WebAPI controller with a GET.
The request looks like :
filter[logic] And
filter[filters][0][field] Description
filter[filters][0][operator] StartWith
filter[filters][0][value] $20
page 1
pageSize 10
skip 0
take 10
I had tried so many ways to read the filters but all in vain.
Can anyone help/advice me how to map these query-strings into an object?
Thanks a lot.
I'm working with KendoUI on the front end, and following some of their "default" way of doing things (that means using their DataSource object), I request data from a MVC WebAPI controller with a GET.
The request looks like :
filter[logic] And
filter[filters][0][field] Description
filter[filters][0][operator] StartWith
filter[filters][0][value] $20
page 1
pageSize 10
skip 0
take 10
I had tried so many ways to read the filters but all in vain.
Can anyone help/advice me how to map these query-strings into an object?
Thanks a lot.