title: DocuSign REST API - Convert PDF form fields into DocuSign Secure field - Not Working
body: <p>I am using DocuSign REST API for send document for sign. I am using Php Rest Docusign Api class. I want Convert PDF form fields into DocuSign Secure field.   I have setdocumenttransformPdfFields  as true as per DocuSign Rest Api guide on <a href="https://www.docusign.com/p/RESTAPIGuide/Content/REST%20API%20References/Document%20Parameters.htm" rel="nofollow">https://www.docusign.com/p/RESTAPIGuide/Content/REST%20API%20References/Document%20Parameters.htm</a>. </p>
  
  <p>I am sending following information as CURLOPT_POSTFIELDS.  My Sending pdf test1.pdf have already eSignSignHere adobe text field. If I try same pdf file from Docusign website, It is working fine.  I have tried also with Signature field.</p>
  
  <pre><code>--myboundary
  Content-Type: application/json
  Content-Disposition: form-data
  {  
     "emailSubject":"Doc Subject",
     "emailBlurb":"Doc Blurb",
     "documents":[  
        {  
           "name":"test1.pdf",
           "documentId":"1",
           "transformPdfFields":"true"
        }
     ],
     "status":"sent",
     "recipients":{  
        "signers":[  
           {  
              "routingOrder":"1",
              "recipientId":"1",
              "name":"support",
              "email":"support@varshaawebteam.com",
              "clientUserId":null,
              "defaultRecipient":true
           }
        ]
     }
  }
  --myboundary
  Content-Type:application/pdf
  Content-Disposition: file; filename="test1.pdf"; documentid=1
  
  %PDF-1.6
  %âãÏÓ
  --All Pdf Binary Data here—
  %%EOF
  
  --myboundary--
  </code></pre>
  
  <p>Curl  Call with this data gives result also as following:</p>
  
  <pre><code>stdClass Object ( [envelopeId] =&gt; 46915426-740a-4ea3-8e68-47843568dadc
  [uri] =&gt; /envelopes/46915426-740a-4ea3-8e68-47843568dadc [statusDateTime]
  =&gt; 2014-12-11T11:20:02.2700000Z [status] =&gt; sent )
  </code></pre>