openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_DOMD:
    post:
      tags:
      - SVRR
      summary: Domain version
      operationId: /rfc/SVRS_GET_VERSION_DOMD
      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
                DD01V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOMNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: ''
                      LENG:
                        type: integer
                        format: int64
                        description: ''
                      OUTPUTLEN:
                        type: integer
                        format: int64
                        description: ''
                      DECIMALS:
                        type: integer
                        format: int64
                        description: ''
                      LOWERCASE:
                        type: string
                        maxLength: 1
                        description: ''
                      SIGNFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      LANGFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      VALEXI:
                        type: string
                        maxLength: 1
                        description: ''
                      ENTITYTAB:
                        type: string
                        maxLength: 10
                        description: ''
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: ''
                      MASK:
                        type: string
                        maxLength: 20
                        description: ''
                      MASKLEN:
                        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: ''
                      DOMMASTER:
                        type: string
                        maxLength: 1
                        description: ''
                      RESERVEDOM:
                        type: string
                        maxLength: 4
                        description: ''
                      DOMGLOBAL:
                        type: string
                        maxLength: 1
                        description: ''
                DD07V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOMNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      VALPOS:
                        type: integer
                        format: int64
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      DOMVALUE_L:
                        type: string
                        maxLength: 10
                        description: ''
                      DOMVALUE_H:
                        type: string
                        maxLength: 10
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                      DOMVAL_LD:
                        type: string
                        maxLength: 10
                        description: ''
                      DOMVAL_HD:
                        type: string
                        maxLength: 10
                        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
                  DD01V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOMNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: ''
                        LENG:
                          type: integer
                          format: int64
                          description: ''
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: ''
                        DECIMALS:
                          type: integer
                          format: int64
                          description: ''
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: ''
                        SIGNFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        LANGFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        VALEXI:
                          type: string
                          maxLength: 1
                          description: ''
                        ENTITYTAB:
                          type: string
                          maxLength: 10
                          description: ''
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: ''
                        MASK:
                          type: string
                          maxLength: 20
                          description: ''
                        MASKLEN:
                          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: ''
                        DOMMASTER:
                          type: string
                          maxLength: 1
                          description: ''
                        RESERVEDOM:
                          type: string
                          maxLength: 4
                          description: ''
                        DOMGLOBAL:
                          type: string
                          maxLength: 1
                          description: ''
                  DD07V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOMNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        VALPOS:
                          type: integer
                          format: int64
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        DOMVALUE_L:
                          type: string
                          maxLength: 10
                          description: ''
                        DOMVALUE_H:
                          type: string
                          maxLength: 10
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                        DOMVAL_LD:
                          type: string
                          maxLength: 10
                          description: ''
                        DOMVAL_HD:
                          type: string
                          maxLength: 10
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
