openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_DTED:
    post:
      tags:
      - SVRR
      summary: Returns a version of a data element
      operationId: /rfc/SVRS_GET_VERSION_DTED
      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
                DD04V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLLNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      DOMNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      ROUTPUTLEN:
                        type: integer
                        format: int64
                        description: ''
                      MEMORYID:
                        type: string
                        maxLength: 3
                        description: ''
                      LOGFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      HEADLEN:
                        type: integer
                        format: int64
                        description: ''
                      SCRLEN1:
                        type: integer
                        format: int64
                        description: ''
                      SCRLEN2:
                        type: integer
                        format: int64
                        description: ''
                      SCRLEN3:
                        type: integer
                        format: int64
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: ''
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: ''
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: ''
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        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: ''
                      DTELMASTER:
                        type: string
                        maxLength: 1
                        description: ''
                      RESERVEDTE:
                        type: string
                        maxLength: 4
                        description: ''
                      DTELGLOBAL:
                        type: string
                        maxLength: 1
                        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
                  DD04V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLLNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        DOMNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        ROUTPUTLEN:
                          type: integer
                          format: int64
                          description: ''
                        MEMORYID:
                          type: string
                          maxLength: 3
                          description: ''
                        LOGFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        HEADLEN:
                          type: integer
                          format: int64
                          description: ''
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: ''
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: ''
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: ''
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: ''
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: ''
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          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: ''
                        DTELMASTER:
                          type: string
                          maxLength: 1
                          description: ''
                        RESERVEDTE:
                          type: string
                          maxLength: 4
                          description: ''
                        DTELGLOBAL:
                          type: string
                          maxLength: 1
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
