Upload document

Upload document to Zoho Sign

Overview

You can use the zoho.sign.uploadDocument task to upload a document to Zoho Sign.

Syntax

<response>=zoho.sign.uploadDocument(<file_upload_field>);

where,

Param/td>DescriptionData Type

<response>

is the response returned by Zoho Sign which contains document information, creation and ownership information

KEY-VALUE

<file_upload_field>

is the field containing the document to be uploaded

TEXT

Example : Upload a document stored in Zoho Creator, to Zoho Sign

The following script uploads a document stored in Zoho Creator to Zoho Sign.

response= zoho.sign.uploadDocument(input.File_upload);

where,

response
is the KEY-VALUE pair returned from Zoho Sign
input.File_Upload
is the field in Zoho Creator which contains the document to be uploaded of TEXT type

Response

The success response returned is of the following format:

{  
   "code":0,
   "requests":{  
      "request_status":"draft",
      "owner_email":"john@zylker.com",
      "created_time":1512383208303,
      "document_ids":[  
         {  
            "document_name":"christmas.pdf",
            "document_order":"0",
            "total_pages":1,
            "document_id":"2131000000010001"
         }
      ],
      "notes":"",
      "self_sign":false,
      "owner_id":"2131000000002003",
      "description":"",
      "request_url":"https://sign.zoho.com/zs#/requests/request/new/2131000000010007?internal=true",
      "request_name":"yyy.pdf",
      "modified_time":1512383208303,
      "is_deleted":false,
      "expiration_days":15,
      "in_process":false,
      "is_sequential":false,
      "request_type_name":"Others",
      "owner_first_name":"John",
      "request_id":"2131000000010007",
      "request_type_id":"2131000000000135",
      "owner_last_name":"T",
      "actions":[  

      ],
      "sign_percentage":0
   },
   "message":"Document has been added",
   "status":"success"
}

Related Links

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com