I am very new to the EasyLink Fax API and I am sure I am just doing something wrong. I have two questions:
1) I have one coversheet on my test account that was set up for me by Scott and EasyLink. It is named htd_test. I am submitting a JobSumitRequest using a CSV file and I am specifying the coversheet name in the code below:
//Setup default Coversheet
var defaultCoverSheet = new FaxCoversheetOptionType();
defaultCoverSheet.UseCoversheet = YesNo.yes;
defaultCoverSheet.CoversheetName = _faxMessage.TemplateName; //value of this is "htd_test"
faxOptions.FaxCoversheet = defaultCoverSheet;
When I call the service, I get a Status = 1 on the MessageResult property and this error:
"XOA-2010 [faxREACH: coversheet not found] : : customer no: 591930: cover type: old stylehtd_testnot found "
Any idea what is causing this problem? What am I doing wrong?
2) When I do not specify the coversheet name, I get the following error:
"XOA-2000 [system error] : Empty/NULL validate object item NAME"
What is NAME? What property/object is it referring to?
I was told about testing CSV files and template cosmetics by using the test email functionality. I have emailed the attached CSV to the test email and have received a PDF back of the template, and it looks fine. I know the CSV will work, but getting it there is causing some grief.
Any ideas? Thanks!