Upload resume from Zoho Recruit API issue

Upload resume from Zoho Recruit API issue

I am not able to upload an attachment using the Recruit API. My HTML Post contents are:

xmlData=<Candidates>
<row no="1">
<FL val="First name">John</FL>
<FL val="Last name">Doe</FL>
<FL val="Current job title"> Sr. Engineer </FL>
<FL val="Total work exp (year)">9</FL>
<FL val="Total work exp (month)">0</FL>
<FL val="Contact number"> 9454594849 </FL>
<FL val="Email ID"> johndoe@gmail.com  </FL>
<FL val="Contact address"> Address 1</FL>
<FL val="Skill set"> ASP.NET ,C#.NET , SQL SERVER2008 ,CRYSTAL REPORT</FL>
<FL val="1 - Attach resume">VGhpcyBpcyBhIHRlc3QgZm9yIGZpbGUgYXR0YWNobWVudC4gVGhlIHRleHQgbmVlZHMgdG8gYmUg
YXQgbWluaW11bSA2NCBjaGFyYWN0ZXJzIGxvbmcgc28gdGhhdCB3ZSBjYW4gc2VlIGlmIHRoZSBs
aW5lZmVlZCBhbmQgY2FycmlhZ2UgcmV0dXJuIGludGVyZmVyZXMgd2l0aCBab2hvJ3MgYWJpbGl0
eSB0b2RlY29kZSB0aGUgZmlsZQ==
</FL>
<FL val="1 - Attach resume_filename">John Doe.txt</FL>
<FL val="Resume status">New</FL>
</row>
</Candidates>
&duplicateCheck=2

Using "Attach resume" causes the call to fail with 9500. I used "1 - Attach resume" as suggested in the forum. The call succeeded, and I get:

<?xml version="1.0" encoding="UTF-8" ?>

<response uri="/ats/private/xml/Candidates/addRecords"><result><message>Record(s) added successfully</message><recorddetail><FL val="Id">179932000000081031</FL></recorddetail></result></response>

The candidate does not show the attached resume text file. What's going on here?

PS: I ensured that the base64 encoding is correct by decoding it, and validating the output. 

Regards,

- Sunder