Documentation

/customportlets/{templateId}/data [GET]

ThoughtFarmer REST API Method: /customportlets/{templateId}/data [GET]

Retrieve the key/value data stored for a custom portlet.
 
URL:
http://yourserver.com/api/customportlets/{templateId}/data

Response Formats:
JSON, XML

HTTP Method(s):
GET
 
Requires Authentication:
true, user making call must pass a valid token parameter

Parameters:

Parameter Type Description 
token string Required. A valid token authentication parameter
templateId int Required. The portlet template id.

Response Status Codes:
200 - Success
401 - Token parameter is invalid

Example request
GET http://yourserver.com/api/customportlets/641/data
[
    {
        "key": "MyKey",
        "value": "MyValue"
    },
    {
        "key": "MyKeyzzzz",
        "value": "MyValuezzzz"
    }
]