openapi: 3.2.0 info: title: Vim REST Chart Retrieval API version: 1.0.0 description: 'The Vim REST API allows you to access various resources and services provided by Vim. The API is based on the OAuth 2.0 protocol and uses the client credentials grant type for authentication. Before calling any authenticated resource request, you must obtain an access token by calling the [Obtain access token](#post-token-obtain-an-access-token) endpoint. **Note**: The Vim API is only available for USA server-based instances. This means your application server must be hosted within the United States to access Vim''s EHR connectivity features. If you are a developer accessing from outside of the US, you need to use a VPN to connect, but your app server must still be in the US for production use. These docs are interactive, so you can change the request parameters and see the response in real-time. Try it out!' servers: - url: https://api.getvim.com/v1 tags: - name: Chart Retrieval paths: /chart-retrieval/download-url/{requestId}: get: parameters: - name: requestId in: path description: The Vim unique identifier for the request. required: true schema: type: string example: a1b2c3d4e5f6a7b8c9d0 operationId: getChartRetrievalDownloadURL security: - Access token: [] tags: - Chart Retrieval summary: Get download URL for chart retrieval request description: "Retrieves a presigned URL to download the chart data for a specific request ID.\nFor authorization, you must use the token obtained from the [Obtain access token](#post-oauth-token) endpoint.\nZIP File Structure:\nThe downloaded file will be a password-protected ZIP archive with the following structure:\n- requestId.zip\n - requestId.pdf\n - requestId.json\n\nZIP Password:\nThe ZIP file is password-protected using your applicationId as the password.\nRate limit: You can send up to 50 requests per minute.
Vim allows developers to test the API without accessing live data.\nBy using requestId = a1b2c3d4e5f6a7b8c9d0 in the API parameter, developers receive a password protected predefined ZIP file response that simulates real chart retrieval data but with de-identified data. \nZip's password is the demo-app-id. \nPlease note that you have to be authorized to use the service.