EventDay / Infusionsoft.net

A C# Wrapper around the Infusionsoft.com API
15 stars 22 forks source link

FileService #35

Open jhallam3 opened 9 years ago

jhallam3 commented 9 years ago

Hi With FileService.GetFile(id) it returns a System.Object how can I turn that in to a file.

Other issue is when uploading using

ie var file = client.FileService.GetFile(123); FileService.Upload("fileName",file.ToString(), 12121)

the upload fails. error below

Can someone please advise how to upload a file?

jhallam3 commented 9 years ago

Hi,

_Please can someone change the code on this project for me____

the issue is the contact ID is the last Item in the FileService.Upload("FileName", File.ToString(), 123221) Please change all the code that has this to .. FileService.Upload(123221, "FileName", File.ToString())

If you need a hand message me.

jhallam3 commented 9 years ago

Can you also being the result back as an Int.

Thanks!