cancel
Showing results for 
Search instead for 
Did you mean: 

Get Api c# sending Object in that Array

Highlighted
New Member

Get Api c# sending Object in that Array

I am using C# API where I want to write get API where I want to send below model as input, can anyone you let me syntax of the same

 

{ "FormID": 1, "ProviderID": 1, "FormDetailID": 0, "FileList": [{ "FileID": 6, "Name": " ", "Description": null, "Type": " ", "Size": 1, "Path": " " } ] }

 

I tried couple of way like  below

https://localhost:44355/api/Form/Attachment?formId=70&fileList=%7B%22FileID%22%3A%206%2C%0A%22Name%2...

 

and https://localhost:44355/api/Form/Attachment?formId=70&fileList={"fileID":5}

 

but for some reason FileList object is not reading in C#

New Here?
Join us and watch the welcome video:
Top Kudoed Authors