openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOBJS_INIT:
    post:
      tags:
      - RSOBJS_RFC_INTERFACE
      operationId: /rfc/RSOBJS_INIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_S_PARAMS:
                  type: object
                  properties:
                    OBJ_TYPE:
                      type: string
                      maxLength: 4
                      description: 'Object Services: Object Type'
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
              required:
              - I_S_PARAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Rückgabewert, Rückgabewert nach ABAP-Anweisungen
                  E_S_INIT_PARAMS:
                    type: object
                    properties:
                      SHOW_TECHNAME:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      SHOW_PROPERTIES:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      KEY_NOT_TECHNAME:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      HAS_ATTRIB:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      HAS_ATTRIB_KEY:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      OBJ_TYPE_TEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                      ATTRIB_TEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                      HAS_ADV_SEARCH:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ALLOW_DELETE:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                  E_T_INIT_PARAMS_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Object Services: Object Type'
                        DISP_MODE:
                          type: string
                          maxLength: 1
                          description: 'Object Services: Display Mode O = Open, S = Save'
                        NAME:
                          type: string
                          maxLength: 30
                          description: 'Object Services: Name for Name-Value Pairs'
                        VALUE:
                          type: string
                          maxLength: 60
                          description: 'Object Services: Value for Name-Value Pairs'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_SEARCH_ATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Object Services: Object Type'
                        SEARCH_ATR:
                          type: string
                          maxLength: 60
                          description: Long description
                        NAME:
                          type: string
                          maxLength: 60
                          description: Long description
                        VALUE:
                          type: string
                          maxLength: 60
                          description: Long description
                        ATR_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
