Convert content from JSON to XML

post/content

Returns the converted report content.

Request Samples

1

Response Samples

1{
2 "id": "f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
3 "name": "Sample Report",
4 "description": "Description of a sample report.",
5 "creationTimeStamp": "2025-06-19T10:15:30Z",
6 "label": "my label",
7 "level": "standard",
8 "properties": [
9 "prop1",
10 "prop2"
11 ],
12 "resourceUri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
13 "sasType": "report",
14 "schema": "schema1",
15 "mediaType": 1,
16 "createdBy": "user1",
17 "reportModifiedTimeStamp": "2025-06-19T11:45:00Z",
18 "modifiedBy": "user1",
19 "links": [
20 {
21 "method": "GET",
22 "rel": "self",
23 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
24 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
25 "type": "application/vnd.sas.report"
26 },
27 {
28 "method": "GET",
29 "rel": "alternate",
30 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
31 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
32 "type": "application/vnd.sas.summary"
33 },
34 {
35 "method": "PUT",
36 "rel": "update",
37 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
38 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
39 "type": "application/vnd.sas.report",
40 "responseType": "application/vnd.sas.report"
41 },
42 {
43 "method": "PUT",
44 "rel": "updateContent",
45 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",
46 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",
47 "type": "application/vnd.sas.report.content",
48 "responseType": "application/vnd.sas.report.content"
49 }
50 ],
51 "imageUris": {
52 "icon": "/reports/icons/report.gif"
53 },
54 "version": 1
55}

Request Body

The report content to be converted.

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.

Responses

StatusMeaningDescription
200OK

Report content.

Schema
400Bad Request

Bad Request. The input report content was not valid.

Schema