Save and return report content
An ETag is not required for the initial save, but is required for all subsequent saves. See Conditional Operations. A different response code is returned depending on whether the request is for the initial save or a subsequent save.
1{2 "@element": "SASReport",3 "xmlns": "http://www.sas.com/sasreportmodel/bird-4.3.0",4 "label": "Small Report",5 "dateCreated": "2020-10-24T01:33:24Z",6 "dateModified": "2020-11-04T03:20:00Z",7 "view": {8 "@element": "View",9 "sections": [10 {11 "@element": "Section",12 "name": "vi1",13 "label": "Section1",14 "body": {15 "@element": "Body",16 "mediaContainerList": [17 {18 "@element": "MediaContainer",19 "target": "mt111",20 "layout": {21 "@element": "ResponsiveLayout"22 }23 }24 ]25 },26 "mediaSchemes": [27 {28 "@element": "MediaScheme",29 "name": "ms201"30 }31 ],32 "mediaTargets": [33 {34 "@element": "MediaTarget",35 "name": "mt111",36 "scheme\"": "ms201"37 }38 ]39 }40 ]41 }42}
| Name | Type | Required | Description |
|---|---|---|---|
reportId | string<object-id> | true | Report id for this operation. |
| Name | Type | Required | Description |
|---|---|---|---|
copyDependentFiles | boolean | false | The flag to create copy of all dependent file resources. |
| Name | Type | Required | Description |
|---|---|---|---|
If-Match | string | false | The |
If-Unmodified-Since | string | false | The value of the |
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.
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The report content was updated. | Headers | Schema |
| 201 | Created | The report content was created. | Headers | Schema |
| 400 | Bad Request | Report does not exist. | Schema | |
| 404 | Not Found | Report or report content does not exist. | Schema | |
| 412 | Precondition Failed | The | Schema | |
| 428 | Precondition Required | The | Schema |