In the SAS Visual Analytics getExportedReportPdf REST API endpoint, the default value for paperSize is derived from the report’s saved (persisted) export/print settings, not from the API call itself. In other words, if you omit paperSize in the request, SAS Visual Analytics uses the paper size stored with the saved report.
For additional information about getExportedReportPdf, see Export a PDF of a report.
For the report’s saved paper size (and related export settings) to be picked up automatically when calling getExportedReportPdf, the following must occur:
If paperSize is not specified in the API request, the service uses the report’s persisted export settings—but those settings persist only after you perform an export in the UI and save the report.