Diamond Search Getreport3 API

The Getreport3 API from Diamond Search — 1 operation(s) for getreport3.

OpenAPI Specification

diamond-search-getreport3-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Diamond Search IDEX Data API - Report 3 Fullfeed Getreport3 API
  description: API for retrieving data report 3 in CSV format.
  version: 1.0.0
servers:
- url: https://api.idexonline.com/idexdataapi/api
tags:
- name: Getreport3
paths:
  /getreport3:
    post:
      summary: Diamond Search Retrieve Report 3 Data
      description: Sends a request to retrieve a zipped CSV report for a specified date.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - authentication_details
              - parameters
              properties:
                authentication_details:
                  type: object
                  required:
                  - api_key
                  - api_secret
                  properties:
                    api_key:
                      type: string
                      example: HNNSSA1223311
                    api_secret:
                      type: string
                      example: DDccdaaedf123
                parameters:
                  type: object
                  required:
                  - report_date
                  properties:
                    report_date:
                      type: string
                      format: date
                      example: '2021-07-24'
      responses:
        '200':
          description: Zipped CSV file containing the requested report data.
          content:
            application/zip:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid request or missing required fields.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: integer
                    example: 3112
                  error_message:
                    type: string
                    example: Missing required fields
        '401':
          description: Authentication failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: integer
                    example: 2001
                  error_message:
                    type: string
                    example: Missing authentication section in JSON
        '404':
          description: Report not available.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: integer
                    example: 3114
                  error_message:
                    type: string
                    example: Report not available
      tags:
      - Getreport3