Generate Email Summary PDF Action

Generate a PDF summary of an incoming email message and attach it to a request for proposal record.

This action is available in API version 67.0 and later.

Special Access Rules 

To access this action, ensure that you have the Media Cloud Base user permission set enabled.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/generateEmailSummaryPdf

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
caseIdstringRequired.
The ID of the parent case record associated with the email message.
requestForProposalIdstringRequired.
The ID of the Request for Proposal record where the PDF summary is attached.
emailMessageIdstringRequired.
The ID of the email message used to generate the PDF summary.

Outputs 

OutputTypeDescription
isSuccessbooleanIndicates whether the PDF was generated and attached successfully.
errorMessagestringThe error details returned if the operation failed.

Example 

POST

This sample request is for the Generate Email Summary PDF action.

1{
2  "inputs": [
3    {
4      "caseId": "500xx0000004CjrAAE",
5      "requestForProposalId": "a0xxx0000004CjrAAE",
6      "emailMessageId": "02sxx0000004CjrAAE"
7    }
8  ]
9}

This sample response is for the Generate Email Summary PDF action.

1[
2  {
3    "actionName": "generateEmailSummaryPdf",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "isSuccess": true,
9      "errorMessage": null
10    },
11    "sortOrder": -1,
12    "version": 1
13  }
14]