get_tnc

Description

Retrieves the Spreadshirt Terms & Conditions in the language selected in the session.

Unfortunately the contents written in html with and are encoded so that it will have to be parsed for &, < and >. There is also a call to some javascript to print the html page. There also seems to be some incorrectly encoded symbols. ß is given as § but should be ß.

It's a pity it's not put into a CDATA block so it could be ignored by a parser.

Definition

get_tnc (
    String token
)

Parameters

Type Parameter Name Parameter Description
string token session token

Return Values

Type Return Value Description
string Returns the Terms and Conditions as a HTML formatted string.

Error Messages

The return string is a standard format error string and implements all standard error and success messages. The following SOAP exceptions represent specific error codes for this method:

  • 101: missing token
api/get_tnc.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki