openapi: 3.2.0 info: title: Risk Modeler Exports V2 API description: This documentation provides information on the Risk Modeler 2.0 public API. version: March, 2023 servers: - url: https://{host}/riskmodeler description: Risk Intelligence Analytics Platform variables: host: enum: - api-euw1.rms.com - api-use1.rms.com default: api-euw1.rms.com description: 'Data center that hosts the tenant instance: api-euw1.rms.com or api-use1.rms.com.' security: - RMS_Auth: [] tags: - name: ExportsV2 paths: /v2/exports: post: operationId: exportdatav2 summary: Export data module to file description: '' parameters: - name: servername in: query description: The optional `servername` query parameter specifies the name of the server. schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/ExportInput' required: true responses: '202': description: 'Accepted: A job with the specified ID has been added to the workflow engine queue for processing. Send periodic HTTP GET requests to the URI for the job status. See [Workflow Engine Jobs](https://developer.rms.com/rms-developers/docs/workflow-engine).' headers: Location: description: URL of the export job. style: simple schema: type: string format: URI '400': description: 'Bad Request: Please check that you are provided all required values.' content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' '403': description: 'Forbidden: Access to this resource has been denied.' content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' security: - RMS_Auth: [] tags: - ExportsV2 components: schemas: ExportInput: type: object properties: type: description: 'The `type` attribute identifies the model type: `ExposureExportInput`, `LocationResultsExportInput`, `ResultsExportInputV2`.' type: string example: ExposureExportInput exportType: description: 'The required `exportType` identifies the database to export: EDM, LocationResults, or RDM.' type: string example: EDM enum: - EDM - RDM - LOCATION_RESULTS exportFormat: description: The `exportFormat` attribute specified the format of the exported data (BAK, CSV, MDF or PARQUET). EDM and RDM data modules may be exported to the BAK and MDF formats. Analysis results may be exported to the CSV or PARQUET formats. Locations results can be exported to the CSV format. type: string example: BAK enum: - CSV - PARQUET - BAK - MDF - JSON discriminator: propertyName: type required: - exportType ErrorMessage: type: object properties: code: type: string message: type: string logId: type: string securitySchemes: RMS_Auth: type: apiKey name: Authorization in: header description: An API key is a token that enables a client application to make requests to tenant applications running on Intelligent Risk Platform. x-default: XXXXXXXXXX x-readme: explorer-enabled: false samples-languages: - curl - java - csharp - node - python proxy-enabled: true samples-enabled: true