Create report
post/reports
Creates a new report and adds it to a folder as a child.
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": 155}
| Name | Type | Required | Description |
|---|---|---|---|
parentFolderUri | string<uri> | true | The URI of the parent folder of the report. |
The report to create. A full report can be included, but only the name and description are used to create the new report.
The representation of a report. This representation is version 1. Optional version=1 parameter is the only one that can be included.
| Name | Type | Required | Description |
|---|---|---|---|
name | string | false | The localizable report name. |
description | string | false | The localizable report description. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | New report created. Use the | Headers | Schema |
| 400 | Bad Request | The input report is invalid, or the | Schema | |
| 409 | Conflict | A report with the same name is already a member of the folder. | Schema |