DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Update Layout File

api/web/reports/{ReportId}/layouts/{LayoutId}/files/{FileId}

Updates an existing attachment file specification for a mail/export layout.

Path Params
int32
required
≥ 1

The report ID.

int32
required
≥ 1

The layout ID.

int32
required
≥ 1

The file ID.

Body Params

The layout file model.

Specification for a mail layout attachment file.

string | null

The name of the attachment file. This is both the mnemonic name
displayed for the specification, and the name given to the file
when the attachment is generated.

string | null

A comma-separated list of worksheets to include in the attachment.
(E.g. "Sheet1,Sheet2").
The sheets listed are extracted from the report result workbook
and included in the attachment. The reserved word "all" includes
all sheets in the attachment.

string
enum

Defines different kind of files.

Allowed:
boolean

Indicates whether this file is used as preview in the report logs
view.

string | null

Defines a character that, if the file is a CSV file, is used as
custom column separator in place of the system-specified separator.

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