--- title: "reportfiledownloadmtom (Command)" slug: "oas-fullsdk-soapref-reportfiledownloadmtom-command-3-28" updated: 2025-12-04T13:14:53Z published: 2025-12-04T13:16:10Z canonical: "docs.onespan.com/oas-fullsdk-soapref-reportfiledownloadmtom-command-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # reportfiledownloadmtom (Command) > Scenario: Administration > > Support: full-sdk The reportfiledownloadmtom command downloads a report that was previously generated using REPORTCMD_RUN (see [REPORTCMD_RUN](/sec/docs/oas-fullsdk-soapref-reportexecute-command-3-28#reportcmdrun)). The generated report is referred by its report file identifier and is downloaded as binary attachment using MTOM encoding. ## Parameters | Parameter name | Data type | Description | | --- | --- | --- | | sessionID | String | **Required.** The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see [logon (Command)](/sec/docs/oas-fullsdk-soapref-logon-command-3-28)). | | attributeSet | ReportFileAttributeSet | **Required.** The attribute set containing the report file identifier to be downloaded. | | Parameter name | Data type | Description | | --- | --- | --- | | results | ReportFileResults | **Required.** The result structure containing the return and status codes. | | reportfile | xop:Include | Optional. The XML-binary Optimized Packaging (XOP) reference to the report binary attachment specified by the content ID report@onespan.com. | The following attributes can be specified in the attributeSet input parameter of this command: | Attribute name | Optionality | | --- | --- | | REPORTFILEFLD_REPORTFILE_ID | Mandatory | The following attributes will be specified in the results output parameter of this command: | Attribute name | Returned | | --- | --- | | REPORTFILEFLD_CREATE_TIME | Mandatory | | REPORTFILEFLD_DESCRIPTION | Mandatory | | REPORTFILEFLD_DOMAIN_NAME | Mandatory | | REPORTFILEFLD_MODIFY_TIME | Mandatory | | REPORTFILEFLD_REPORTFILE_ID | Mandatory | | REPORTFILEFLD_SERVER_ID | Mandatory | | REPORTFILEFLD_SIZE | Mandatory | | REPORTFILEFLD_USER_ID | Mandatory | For more information about the specific attributes, see [Table: reportFileExecute field attributes](/sec/docs/oas-fullsdk-soapref-reportfileexecute-command-3-28#Tab_reportFileExecuteFieldAttributes). ## Example > ```markup > > > > > xM0T9TmM2T?Nxx~sUmc3D.AFTwum??kH > > > 1562715754070 > REPORTFILEFLD_REPORTFILE_ID > > > > > > ```