openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RZX2_BOBJ_ENQUEUE:
    post:
      tags:
      - RZX2
      operationId: /rfc/RZX2_BOBJ_ENQUEUE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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
                I_T_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 30
                        description: Technical Name of Object
                      OBJTYPE:
                        type: string
                        maxLength: 2
                        description: 'Type of reporting object  enumValues: KF=Key Figure,BT=BEx Web Template,BI=BEx Web Item,VA=Variable,SO=Selection Object (in BW WEb Applications),QU=Query,CH=Characteristic,IP=InfoProvider (As Data Provider),""=Nothing,WB=Workbook,IC=InfoCube,IL=Library of Web Items,HT=HTML Template,IT=Item,VW=View of a Query,IA=InfoArea,ST=Structure (Reusable),DP=DataProvider for Web Reporting (Queries and Views),CR=Crystal Report'
                        enum:
                        - KF
                        - BT
                        - BI
                        - VA
                        - SO
                        - QU
                        - CH
                        - IP
                        - ''
                        - WB
                        - IC
                        - IL
                        - HT
                        - IT
                        - VW
                        - IA
                        - ST
                        - DP
                        - CR
                      ENQUEUE_MODE:
                        type: string
                        maxLength: 1
                        description: 'Lock mode  enumValues: E=Write Lock,X=Exclusive, not cumulative,S=Read Lock'
                        enum:
                        - E
                        - X
                        - S
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_SUBRC:
                    type: integer
                    format: int32
                  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
                  I_T_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJID:
                          type: string
                          maxLength: 30
                          description: Technical Name of Object
                        OBJTYPE:
                          type: string
                          maxLength: 2
                          description: 'Type of reporting object  enumValues: KF=Key Figure,BT=BEx Web Template,BI=BEx Web Item,VA=Variable,SO=Selection Object (in BW WEb Applications),QU=Query,CH=Characteristic,IP=InfoProvider (As Data Provider),""=Nothing,WB=Workbook,IC=InfoCube,IL=Library of Web Items,HT=HTML Template,IT=Item,VW=View of a Query,IA=InfoArea,ST=Structure (Reusable),DP=DataProvider for Web Reporting (Queries and Views),CR=Crystal Report'
                          enum:
                          - KF
                          - BT
                          - BI
                          - VA
                          - SO
                          - QU
                          - CH
                          - IP
                          - ''
                          - WB
                          - IC
                          - IL
                          - HT
                          - IT
                          - VW
                          - IA
                          - ST
                          - DP
                          - CR
                        ENQUEUE_MODE:
                          type: string
                          maxLength: 1
                          description: 'Lock mode  enumValues: E=Write Lock,X=Exclusive, not cumulative,S=Read Lock'
                          enum:
                          - E
                          - X
                          - S
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
