Get a standard content

get

/services/rest/connect/v1.4/standardContents/{id}

Request

Path Parameters
  • The unique identifier of the standard content object.
Back to Top

Response

Default Response

Body ()
Root Schema : standardContents
Type: object
The preformed text or HTML content that can be sent to customers when responding to incidents, appended to responses by a business rule, or sent by an agent during a chat session.
Show Source
Nested Schema : namedIDs-standardContents-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
Nested Schema : standardContents-attributes
Type: object
The list of attributes for the standard content object.
Show Source
Nested Schema : standardContents-contentValues
Type: object
The standard content value with a data type and a formatted data value.
Show Source
Nested Schema : standardContents-folder
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : standardContents-usage
Type: object
The usage information about the standard content.
Show Source
Nested Schema : namedIDs-standardContents-contentValues-contentType
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : standardContents-folder-parents
Type: object
NamedID in which the ID is read-only. Used for hierarchies, where caller can specify the parents by name, but cannot specify the parent IDs.
Show Source
Back to Top

Examples

Use GET with the following syntax to retrieve a specific standard content (standard text) object:

https://your_site_interface/services/rest/connect/version/standardContents/content_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/standardContents/3

Response body example

{
  "id": 3,
  "lookupName": "Customer Greeting",
  "adminVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/standardContents/3/
         adminVisibleInterfaces"
      }
    ]
  },
  "attributes": {
    "displayRightToLeft": false
  },
  "contentValues": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/standardContents/3/
         contentValues"
      }
    ]
  },
  "displayOrder": 3,
  "folder": null,
  "hotKey": null,
  "name": "Customer Greeting",
  "usage": {
    "chatText": false,
    "chatURL": false,
    "incidentText": true,
    "ruleText": true
  },
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/standardContents/3"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/standardContents/3"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/standardContents",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top