openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_INDX:
    post:
      tags:
      - SVRR
      summary: Provides a Version of a Secondary Index
      operationId: /rfc/SVRS_GET_VERSION_INDX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_NAME:
                  type: string
                  maxLength: 34
                  description: Object Name
                VERSNO:
                  type: integer
                  format: int64
                DD12V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: ''
                      INDEXNAME:
                        type: string
                        maxLength: 3
                        description: ''
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: ''
                      AS4VERS:
                        type: integer
                        format: int64
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      AUTHCLASS:
                        type: integer
                        format: int64
                        description: ''
                      UNIQUEFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: ''
                      AS4DATE:
                        type: string
                        format: date
                        description: ''
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: ''
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      DBINDEX:
                        type: string
                        maxLength: 18
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                DD17V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: SQL Table Name
                      INDEXNAME:
                        type: string
                        maxLength: 3
                        description: Version Management
                      POSITION:
                        type: integer
                        format: int64
                        description: Position of Field in Table
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: Version Management
                      AS4VERS:
                        type: integer
                        format: int64
                        description: Table Index Version
                      FIELDNAME:
                        type: string
                        maxLength: 10
                        description: Local Field Name
                      DESCFLAG:
                        type: string
                        maxLength: 1
                        description: Version Management
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                  DD12V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLTAB:
                          type: string
                          maxLength: 10
                          description: ''
                        INDEXNAME:
                          type: string
                          maxLength: 3
                          description: ''
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: ''
                        AS4VERS:
                          type: integer
                          format: int64
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        AUTHCLASS:
                          type: integer
                          format: int64
                          description: ''
                        UNIQUEFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: ''
                        AS4DATE:
                          type: string
                          format: date
                          description: ''
                        AS4TIME:
                          type: string
                          maxLength: 6
                          description: ''
                        ACTFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        DBINDEX:
                          type: string
                          maxLength: 18
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                  DD17V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        SQLTAB:
                          type: string
                          maxLength: 10
                          description: SQL Table Name
                        INDEXNAME:
                          type: string
                          maxLength: 3
                          description: Version Management
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of Field in Table
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: Version Management
                        AS4VERS:
                          type: integer
                          format: int64
                          description: Table Index Version
                        FIELDNAME:
                          type: string
                          maxLength: 10
                          description: Local Field Name
                        DESCFLAG:
                          type: string
                          maxLength: 1
                          description: Version Management
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
