AnsweredAssumed Answered

Json for filter POST

Question asked by Nupur Nupur on Oct 9, 2015
I am a newbie, and am having a hard time figuring out the rest calls for the v7.6 API. I am using c# to create the rest calls. I am trying the filter POST module, and am using I use System.Net.HttpWebRequest  to make the call. I am sending as a string the following -

{"session":"sdgergdadh","filter":[{"name":"John Smith"}],"max_num":2}

This does not work. 
My payload for the old API, which works, is

Content-Disposition: form-data; name="method"

Content-Disposition: form-data; name="input_type"

Content-Disposition: form-data; name="response_type"

Content-Disposition: form-data; name="rest_data"


Any help would be super appreciated. I have been looking at all the code and am rather confused.