DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Create Iteration Mails

api/web/report-tasks/{ReportTaskId}/iterations/{IterationId}/mails

Creates one mail for the iteration.

Path Params
int32
required
≥ 1

The ID of the report task the iteration belongs to (ReportTaskId >= 1)

int32
required
≥ 1

The ID of the iteration that the mail belongs to (IterationId >= 1)

Body Params

The model containing the details of the mail to create.

Mail configuration for a report task

int32 | null

The unique database ID of the layout that the mail will use.

string | null

The From address for the mail.

string | null

The To address for the mail.

string | null

Gets or sets the CC address for the mail.

string | null

Gets or sets the BCC address for the mail.

boolean

Definies if the result should be zipped.

string | null

The password for the zipped file. Write-only in practice: reads return
the masked value SkySparc.Web.Backend.API.Models.WebAccess.ReportTaskMailModel.DUMMY_PASSWORD when a password is set.
On update, sending the masked value back leaves the stored password
unchanged, sending an empty value clears it, and sending any other
value replaces it. On create the masked value is rejected.

Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json