GET A Create Form For This WLDFSMTP Notification Collection
/management/weblogic/{version}/edit/resourceGroupTemplates/{name}/WLDFSystemResources/{name}/WLDFResource/watchNotification/SMTPNotificationCreateForm
This resource returns a pre-populated WLDFSMTP notification model that can be customized then posted (using the POST method) to the SMTPNotifications collection resource to create a new WLDFSMTP notification.
Request
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
excludeFields(optional): string
The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
-
excludeLinks(optional): string
The 'excludeLinks' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the 'links' query parameter is specified). Note: 'links' must not be specified if 'excludeLinks' is specified.
-
fields(optional): string
The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
-
links(optional): string
The 'links' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the 'excludeLinks' query parameter is specified). Note: 'excludeLinks' must not be specified if 'links' is specified.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Deployer: basic
Type:
basic
Description:A user in the Deployer security role.
-
Monitor: basic
Type:
basic
Description:A user in the Monitor security role.
-
Operator: basic
Type:
basic
Description:A user in the Operator security role.
Response
- application/json
200 Response
Returns this WLDFSMTP notification.
This method can return the following links:
- rel=create uri=/management/weblogic/{version}/edit/resourceGroupTemplates/{name}/WLDFSystemResources/{name}/WLDFResource/watchNotification/SMTPNotifications
The collection resource for this create form resource.
object
-
body(optional):
string
The body for the mail message. If the body is not specified, a body is created from the action information.
-
enabled(optional):
boolean
Default Value:
true
Specifies whether this action is enabled.
-
id(optional):
integer(int64)
Read Only:
true
Return the unique id of this bean instance.
-
mailSessionJNDIName(optional):
string
The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.
Constraints
- legal null
-
name(optional):
string
Read Only:
true
The name of the WebLogic Diagnostic Framework (WLDF) bean.
-
recipients(optional):
array Items
Title:
Items
The address of the recipient or recipients of the SMTP action mail. The address uses the syntax defined in RFC822. Typical address syntax is of the form
userhostdomain
orPersonal Name
. An address can include multiple recipients, separated by commas or spaces.For more information, refer to the javax.mail.internet.InternetAddress.parse method.
-
subject(optional):
string
The subject for the mail message. If the subject is not specified, a subject is created from the action information.
-
timeout(optional):
integer(int32)
Minimum Value:
0
Default Value:0
The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.
array
Items
The address of the recipient or recipients of the SMTP action mail. The address uses the syntax defined in RFC822. Typical address syntax is of the form userhostdomain
or Personal Name
. An address can include multiple recipients, separated by commas or spaces.
For more information, refer to the javax.mail.internet.InternetAddress.parse method.