ContentItems

This method retrieves a list of content items for a specified content connection.

Request

Method URL
GET

/<IIS_Application>/<application>/api/v2.0/ContentConnections/<contentconnection_id>/ContentItems

Parameters Type Value
Accept HEAD application/json

Where application is the application to connect to.

This is the unique name provided in the response to the login request.

Cookie HEAD ASP.NET_SessionId_app = <session_app_key>

Where session_app_key is the Set-Cookie returned by the login request.

<application> URL_PARAM String specifying the name of the application.
<contentconnection_id> URL_PARAM String specifying the unique name provided in the response to the content connection request.

Response

Status Response
200 The response is an array containing the list of content items (object). Each item in the response array has the following structure:
{
   "id": "contentitemid",
   "text": "Name"
}

For example:

[
   {
      "id": "11e1e111-42f6-4ff2-9151-ff0daa1d554a",
      "text": "Popups",
   },
   {
      "id": "22e2e222-42f6-4ff2-9151-ff0daa1d554a",
      "text": "ExtJS Widgets",
   },
   {
      "id": "33e3e333-42f6-4ff2-9151-ff0daa1d554a",
      "text": "Client Info",
      [optional]
      "description": "Client info description"
      [optional]
      "template": templateObject  
   }
]
401

{"message":"The username or password is incorrect."}