Save report content

put/reports/{reportId}/content
Internal-Use Only

Saves the report content. Does not return the stored content. An ETag is not required for the initial save, but is required for all subsequent saves. In some situations, where an Accept type header is automatically generated, setting it to '*/*' will achieve the same effect as omitting it. See Conditional Operations.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
reportId
string<object-id>
true

Report id for this operation.

Query Parameters

NameTypeRequiredDescription
copyDependentFiles
boolean
false

The flag to create copy of all dependent file resources.

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The ETag that was returned from a GET, POST, PUT, or HEAD of this resource. If the ETag does not match, the update will fail.

If-Unmodified-Since
string
false

The value of the modifiedTimeStamp of the resource. If the resource has been updated since this time, the update will fail.

Request Body

The report content to be saved.

The representation of a report content in JSON format. Check Get Versions and GET /versions/@defaultVersion for the set of valid media types and versions as defined by Business Intelligence Report Definition. If not provided, for request the version equivalent to the report content schema is used and for response latest version is used.

Example:
{"@element":"SASReport","xmlns":"http://www.sas.com/sasreportmodel/bird-4.3.0","label":"Small Report","dateCreated":"2020-10-24T01:33:24Z","dateModified":"2020-11-04T03:20:00Z","view":{"@element":"View","sections":[{"@element":"Section","name":"vi1","label":"Section1","body":{"@element":"Body","mediaContainerList":[{"@element":"MediaContainer","target":"mt111","layout":{"@element":"ResponsiveLayout"}}]},"mediaSchemes":[{"@element":"MediaScheme","name":"ms201"}],"mediaTargets":[{"@element":"MediaTarget","name":"mt111","scheme\"":"ms201"}]}]}}

Responses

StatusMeaningDescription
204No ContentThe report content was stored.Headers
400Bad RequestThe input report content was not valid.Schema
404Not FoundThe report or report content does not exist.Schema
412Precondition FailedThe `If-Match` or `If-Unmodified-Since` header did not match the current version of the resource.Schema
428Precondition RequiredThe `If-Match` or `If-Unmodified-Since` was not provided when updating the report content.Schema