openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IDOC_DATE_TIME_GET:
    post:
      tags:
      - BDMT
      operationId: /rfc/IDOC_DATE_TIME_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SELECTION_DATE:
                  type: string
                  format: date
                SOURCE_SYSTEM:
                  type: string
                  maxLength: 10
                T_IDOCINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM_S:
                        type: integer
                        format: int64
                        description: IDoc number
                      CREDAT_S:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_S:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      UPDDAT_S:
                        type: string
                        format: date
                        description: Date on which control record was last changed
                      UPDTIM_S:
                        type: string
                        maxLength: 6
                        description: Time at which control record was last changed
                      CREDAT_R:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_R:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      DOCNUM_R:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS_R:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
              required:
              - SELECTION_DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_IDOCINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM_S:
                          type: integer
                          format: int64
                          description: IDoc number
                        CREDAT_S:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_S:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        UPDDAT_S:
                          type: string
                          format: date
                          description: Date on which control record was last changed
                        UPDTIM_S:
                          type: string
                          maxLength: 6
                          description: Time at which control record was last changed
                        CREDAT_R:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_R:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        DOCNUM_R:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS_R:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
