Get Generated Email Documents List

get

/rest/v16/emailGenerator

This operation retrieves all Email Designer Templates

Request

Query Parameters
  • Return the child resource in addition to just links to the child resource. The value is a comma deliminated string and each token is a child resource name.
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Allows to specify one or more filtering criteria. By default, no filtering is applied.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Email Generators
Type: object
Title: Email Generators
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Email Generator
Type: object
Title: Email Generator
Show Source
  • Title: id
    The generated Email document identifier
  • The language integer value to specify the template language. To identify integer values, refer to the Supported Languages section in the CPQ Administration Online Help > Language Support topic.
  • Title: Process Varname
    The Commerce Process variable name
  • Title: Template Name
    The Email Designer template name
  • Title: Transaction ID
    Commerce Transaction Id. However, this property will not have any data in the response.
Back to Top

Examples

The following example shows how to access all email generators by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/emailGenerator

Response Body Sample

The following example shows the contents of the response body in JSON format

{
  "items": [{
    "id": "5606997",
    "languageCode": null,
    "transactionId": null,
    "processVarname": null,
    "templateName": null,
    "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/emailGenerator/5606997"
    }]
  },
  {
    "id": "5606999",
    "languageCode": null,
    "transactionId": null,
    "processVarname": null,
    "templateName": null,
    "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/emailGenerator/5606999"
    }]
  },
  {
    "id": "5607001",
    "languageCode": null,
    "transactionId": null,
    "processVarname": null,
    "templateName": null,
    "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/emailGenerator/5607001"
    }]
  },
  {
    "id": "5607028",
    "languageCode": null,
    "transactionId": null,
    "processVarname": null,
    "templateName": null,
    "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/emailGenerator/5607028"
    }]
  },
  {
    "id": "5607106",
    "languageCode": null,
    "transactionId": null,
    "processVarname": null,
    "templateName": null,
    "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/emailGenerator/5607106"
    }]
  }],
  "links": [{
    "rel": "self",
    "href": "https://sitename.oracle.com/rest/v16/emailGenerator"
  }]
}
Back to Top