POST mails Activity
/mails/activityPaste your JWT token here
In: header
The data transfer object containing activity-specific email parameters.
The subject of the mail to be sent. This field is required to provide a clear and concise subject line for the email, allowing recipients to understand the purpose and content of the mail at a glance. The subject should be relevant to the content of the mail and should effectively convey the main message or topic being communicated in the email.
The HTML content of the mail to be sent. This field is required to provide the actual body of the email in HTML format, allowing for rich formatting and presentation of the mail content. The HTML content can include various elements such as text, images, links, and other formatting options to enhance the visual appeal and readability of the email, ensuring that the message is effectively communicated to the recipients based on the specified content and formatting. The HTML content should be well-structured and properly formatted to ensure that it renders correctly in different email clients and devices, providing a consistent and engaging experience for the recipients of the mail.
The unique identifier of the activity for which the mail is being created. This field is required to associate the mail with the correct activity within the system, allowing for effective communication about specific activities based on the provided activity ID in the request payload. The activity ID should correspond to an existing activity in the system to ensure that the mail is relevant and targeted to the appropriate audience based on their involvement or interest in the specified activity. The PostActivityMailDTO ensures that the mail is created with the necessary information to effectively communicate updates or information about the specified activity to the intended recipients, providing a structured and validated approach to activity mail creation in the application.
int32Indicates whether to include waiting list members in the mail. If set to true, both confirmed participants and those on the waiting list will receive the mail; if set to false, only confirmed participants will receive the mail. This field allows for filtering recipients based on their involvement in the activity, enabling effective communication with both confirmed participants and those on the waiting list based on the provided criteria in the request payload. The PostActivityMailDTO ensures that the activity mail is created with the necessary information to effectively communicate relevant updates or information about the specified activity to the intended recipients, providing a structured and validated approach to activity mail creation in the application.
Response Body
application/json
application/json
curl -X POST "https://loading/mails/activity" \ -H "Content-Type: application/json" \ -d '{ "subject": "string", "htmlContent": "string", "activityId": 0 }'{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}