CreateReportSchema
Creates a schema file based on the specified report.
Input
| Name | Type | Accepts Output Streams | Description |
| ReportName | String | False | The name for the new table. |
| ReportId | String | False | The Id for the report in Salesforce. |
| Description | String | False | An optional description for the table. |
| WriteToFile | String | False | Whether to write the contents of the generated schema to a file or not. The input defaults to true. Set it to false to write to FileStream or FileData. |
| FileStream | String | True | An instance of an output stream where file data is written to. Only used if WriteToFile=false. |
Result Set Columns
| Name | Type | Description |
| Success | String | Whether or not the schema was created successfully. |
| FileData | String | The generated schema encoded in Base64. Only returned if WriteToFile=false and FileStream is not provided. |
| SchemaFile | String | The generated schema file. |