openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_SQLD:
    post:
      tags:
      - SVRR
      summary: Returns a version of a Pool/Cluster structure
      operationId: /rfc/SVRS_GET_VERSION_SQLD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_NAME:
                  type: string
                  maxLength: 34
                  description: Object name
                VERSNO:
                  type: integer
                  format: int64
                  description: Number of the version
                DD06V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      SQLCLASS:
                        type: string
                        maxLength: 8
                        description: ''
                      KEYMAX:
                        type: integer
                        format: int64
                        description: ''
                      DATAMAX:
                        type: integer
                        format: int64
                        description: ''
                      SNUMBYTE:
                        type: integer
                        format: int64
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      APPLCLASS:
                        type: string
                        maxLength: 4
                        description: ''
                      AUTHCLASS:
                        type: integer
                        format: int64
                        description: ''
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: ''
                      AS4DATE:
                        type: string
                        format: date
                        description: ''
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: ''
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: ''
                      RESERVESQT:
                        type: string
                        maxLength: 4
                        description: ''
                DD16V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: ''
                      FIELDNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      POSITION:
                        type: integer
                        format: int64
                        description: ''
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: ''
                      LENG:
                        type: integer
                        format: int64
                        description: ''
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: ''
                      INTLEN:
                        type: integer
                        format: int64
                        description: ''
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                    description: Name + correction number + date + time + author
                  DD06V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLTAB:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        SQLCLASS:
                          type: string
                          maxLength: 8
                          description: ''
                        KEYMAX:
                          type: integer
                          format: int64
                          description: ''
                        DATAMAX:
                          type: integer
                          format: int64
                          description: ''
                        SNUMBYTE:
                          type: integer
                          format: int64
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                        ACTFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        APPLCLASS:
                          type: string
                          maxLength: 4
                          description: ''
                        AUTHCLASS:
                          type: integer
                          format: int64
                          description: ''
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: ''
                        AS4DATE:
                          type: string
                          format: date
                          description: ''
                        AS4TIME:
                          type: string
                          maxLength: 6
                          description: ''
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: ''
                        RESERVESQT:
                          type: string
                          maxLength: 4
                          description: ''
                  DD16V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLTAB:
                          type: string
                          maxLength: 10
                          description: ''
                        FIELDNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        POSITION:
                          type: integer
                          format: int64
                          description: ''
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: ''
                        LENG:
                          type: integer
                          format: int64
                          description: ''
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ''
                        INTLEN:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
