Get a message base

get

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

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : messageBases
Type: object
The editable text string that allows international language support and customization of headings, labels, buttons, and other text in the administration interface and customer portal. It also applies to email messages and notifications.
Show Source
  • The date and time when the message base was created. This attribute is read-only.
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the message base.
  • Maximum Length: 255
    The name used to look up the message base.
  • Maximum Length: 120
    Pattern: ^[a-zA-Z]([0-9A-Za-z_]*)$
    The name of the message base.
  • The date and time when the message base was last updated. This attribute is read-only.
  • namedIDs-messageBases-usage
    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.
  • Maximum Length: 300000
    The string value of the message base.
Nested Schema : namedIDs-messageBases-usage
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
Back to Top

Examples

Use GET with the following syntax to retrieve data for a specific custom message base:

https://your_site_interface/services/rest/connect/version/messageBases/message_base_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/messageBases/1000001

Response body example

{
  "id": 1000001,
  "lookupName": "CUSTOM_MSG_test",
  "name": "CUSTOM_MSG_test",
  "usage": {
    "id": 1,
    "lookupName": "Plain"
  },
  "value": "test message base",
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/messageBases/1000001"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/messageBases/1000001"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/messageBases",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top