xsltadd www.recognia.com
recognia/api/xsltadd?xid=NAME1&nxs=...

Add an XSLT for the client. You can apply an XSLT against any of the API returns except for the chart returns. Recognia currently uses version 1.1.2 of LibXSLT as it's XSL Processor.

With the URL length limitations, this API call is best made using a POST instead of a GET. The user calling this API command must be the administrator user for the client.

Parameters
Name Type Required Default Description
nxs String true Holds the XSLT. Maximum length is 100k.
xid String true This value must be unique for the client. You use this value when calling API commands and specifying the XSLT to apply.

Return
<status> tag. Contents can be
Value Description
ok

if command was successful

exists

if XSLT Id already exists

insufficient

if the caller was not the administrator

failed

if <nxs> parameter was not specified

failed

if <xid> parameter was not specified

failed

if there was an internal Recognia error. Recognia is notified immediately in this instance

If failed is returned, check the <errors> tag in the <header> block for the reason.