I have followed the sample code here: https://www.method.me/cs/forums/t/949.aspx
string result = ssc.MethodAPIUpdateFile(Constants.CompanyId, textBoxMethodUsername.Text, textBoxMethodPassword.Text,
"", Constants.MethodCustomerTable, new string[ { "IdCardPhoto" }, image, "rocket.jpg", "276");
Where my Company Id is ACMG1 and the table is Customer where I added an IdCardPhoto column of type Picture. No matter what I change (smaller picture, File datatype instead of Picture, deleting the column and re-adding it) I get the following error message:
<?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "There were problems with running the query. Please try again. If this message continues to appear, please contact support." ></MethodAPI>
The Id 276 definitely exists because if I upload a picture via the Web UI, this returns the picture properly:
result = ssc.MethodAPISelect_DataSetV2(Constants.CompanyId, textBoxMethodUsername.Text, textBoxMethodPassword.Text, "", ref ds, Constants.MethodCustomerTable, "IdCardPhoto, IdCardPhotoFileName, FullName", "RecordID=276", "", "", "");
Any suggestions? Are their any special SOAP settings I need to upload the byte[ that I need to put in my app.config file?
Thanks,
Bob