One by one .Run
Method
_func=run
Optional parameters
_key
account password
_xdoc
XDOC , the following formats are supported
l XDOC Xdoc in the server
Start with "./", such as:./a.xdoc
ID storage begins with "./_"
such as:./_26aa9971e78547f682c50ce437105f1c.xdoc
Can be overridden by URI, such as: A.xdoc?_func=run
l URL
XDOC template Document URL address, Xdoc server must have connection access.
Format support: Xdoc, JSON, docx, epub, TXT, RTF.
Supports Datauri protocol, which transmits binary data.
l JSON text
JSON text that conforms to the Xdoc-json specification
l XML text
XML literals that conform to the Xdoc-xml specification
l HTML text
HTML text enclosed in HTML tags
such as:
l Plain Text
Text that begins with "text:"
_xdata
Data that conforms to the data model in the Xdoc template, in the form of a JSON, XML, CSV, or URL that points to the data that the Xdoc server must have access to. Support starts with "./" and uses the data on the Xdoc service.
You can use the storage substitution _xdata that the parameter "_id" points to.
_format
Output format
Support: Flash (default), PDF, s.pdf (digitally signed pdf), docx, Flash, epub, jar, SVG, SWF, HTML, TXT, PNG, JPG, GIF.
_to
Output target
l empty (default value)
Calling the client
Successfully returned file stream
l Mail
Send mail
If no subject is specified in the Mail agreement, use the title metadata of the Xdoc document as the subject
If no content is specified in the Mail protocol, content is made with the description metadata of the Xdoc document
Successful return OK
l FTP
Upload to FTP server, can not specify _format parameter
Successful return OK
l http
Uploaded to the HTTP server in Multipart/form-data format and returns the results of the HTTP server
l ID Storage
Format: Store: Storage ID
such as: Store: 26aa9971e78547f682c50ce437105f1c.pdf
You can not specify the _format parameter
Successful return OK
l Datauri
Successful return of file content described in Datauri format
l Printer
Format: Print:printer
Printer The printer you point to must be connected to the server where the Xdoc service resides
Successful return OK
XDOC the parameters defined in
Incoming parameter value
Successful return value
Determined by the "_to" parameter
12.Conversion
Method
_func=to
Optional parameters
_key
account password
_xdoc
XDOC
_format
Output format
_to
Output target
Note: The parameters are described in detail, see Running
Successful return value
Determined by the "_to" parameter
Xdoc Cloud Service API (v)