# Send Report Email Sends an email with attached report Endpoint: POST /process-automation/report/email Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Request fields (application/json): - `parentActivityId` (string,null) Activity ID that spawned this - `when` (string,null) - `reportId` (string,null) ID of the Report - `exportType` (string,null) Export Type. Valid values are: Excel, Html, Pdf, Word, PPT, CSV - `filename` (string,null) Filename of the report. - `reportParameters` (object,null) An object of report parameters Required if a report requires them. - `recipients` (array,null) All recipients of the email containing the report. Each entry should be a valid email address. - `subject` (string,null) Subject of the email for the report. - `body` (string,null) Body content of the email for the report. ## Response 200 fields (text/plain): - `data` (string,null) - `error` (object) - `error.detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `error.instance` (string,null) A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced. - `error.status` (integer) The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. - `error.title` (string,null) A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4). - `error.type` (string,null) A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `debug` (object) - `debug.activityID` (string, required) ## Response 401 fields