Send email
post
/api/v1/applications/sendCorrespondence
Send a responsive email related to an application. Only 'from scratch' email is supported (no templates)
Request
Supported Media Types
- application/json
Message details to send email.
Root Schema : SendCorrespondence
The application send correspondence item.
Match All
Show Source
-
object Singular Resource
Title:
Singular Resource
Oracle base singular resource schema definition. -
object SendCorrespondence-allOf[1]
Nested Schema : Singular Resource
Type:
object
Title:
Singular Resource
Oracle base singular resource schema definition.
Show Source
Nested Schema : links
Type:
Show Source
array
-
[0]:
object InstanceLink
Metadata describing link description objects that may appear in the json instance representation.
Nested Schema : InstanceLink
Type:
object
Metadata describing link description objects that may appear in the json instance representation.
Show Source
-
href:
string
URI [RFC3986] or URI Template [RFC6570]. If the value is set to URI Template, then the template property must be set to true.
-
mediaType:
string
Media type, as defined by RFC 2046, describing the link target.
-
method:
string
HTTP method for requesting the target of the link.
-
profile:
string
Link to the metadata of the resource, such as JSON-schema, that describes the resource expected when dereferencing the target resource.
-
rel:
string
Name of the link relation that, in addition to the type property, can be used to retrieve link details. For example, href or profile.
-
templated:
boolean
Boolean flag indicating that the \href\ property is a URI or URI Template. If the property is a URI template, set this value to true. The default value is False.
Nested Schema : correspondenceDetails
Type:
Show Source
array
-
[0]:
object CorrespondenceDetail
Correspondence Detail object. This holds email details used in sendCorrespondence.
Nested Schema : CorrespondenceDetail
Type:
object
Correspondence Detail object. This holds email details used in sendCorrespondence.
Show Source
-
applicationId:
integer
application id
-
bcc:
string
BCC address.
-
body:
string
Body of email. It can have html content.
-
cc:
string
CC address.
-
from:
string
From address. It can be either the preset value or valid email address. The value can be different from the preset email id, only when 'fromAddressEditable' setting is true.
-
replyTo:
string
Reply to address.
-
subject:
string
Subject for email.
-
to:
string
To address.
Response
201 Response
Successfully sent correspondence
400 Response
The error code represents an invalid request. For example: The 'from' email address is invalid.
Root Schema : Represents an error response.
Type:
object
Title:
Represents an error response.
Represents an error response.
Show Source
-
additionalProperties:
object additionalProperties
Any additional properties apart from code, message or description.
-
errors:
array errors
Nested Schema : additionalProperties
Type:
object
Any additional properties apart from code, message or description.
Nested Schema : errors
Type:
Show Source
array
-
[0]:
object Represents a generic error.
Title:
Represents a generic error.
Represents a generic error.
Nested Schema : Represents a generic error.
Type:
object
Title:
Represents a generic error.
Represents a generic error.
Show Source
-
code:
integer
Represents the error code.
-
description:
string
The error description text.
-
message:
string
The actual error message.
Default Response
Unexpected error.