openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_MONITOR_GETLIST:
    post:
      tags:
      - BASR
      summary: Create BAPI List
      operationId: /rfc/BAPI_MONITOR_GETLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BAPIS_NEW:
                  type: string
                  default: X
                  maxLength: 1
                  description: Display New BAPIs in Release
                BAPIS_OLD:
                  type: string
                  default: X
                  maxLength: 1
                  description: Display BAPIs from Previous Releases
                BAPIS_POTENTIAL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Display Potential BAPIs
                OBJECTTYPE:
                  type: string
                  default: '*'
                  maxLength: 10
                  description: Object type
                RELEASED_BAPI:
                  type: string
                  default: '*'
                  maxLength: 1
                  description: Release Status of BAPIs
                RELEASED_FUNC:
                  type: string
                  default: '*'
                  maxLength: 1
                  description: Release Status of Function Modules
                SHOW_RELEASE:
                  type: string
                  default: SY-SAPRL
                  maxLength: 4
                  description: Release /Reference Release to Display
                BAPILIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJECTNAME:
                        type: string
                        maxLength: 32
                        description: Object name
                      BAPINAME:
                        type: string
                        maxLength: 32
                        description: Method name of BAPI
                      ABAPNAME:
                        type: string
                        maxLength: 30
                        description: Function module name
                      COMP:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      CREA_REL:
                        type: string
                        maxLength: 4
                        description: Release at Creation
                      CREATOR:
                        type: string
                        maxLength: 12
                        description: Author
                      UDATE:
                        type: string
                        format: date
                        description: Changed On
                      CHANGER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      SOURCESYS:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      BAPI_AG:
                        type: string
                        maxLength: 5
                        description: 'Application area or BAPI Work Group reponsible  enumValues: SONST=Others,RW=Accounting,HR=Human Resources,BASIS=BASIS,LO=Logistics'
                        enum:
                        - SONST
                        - RW
                        - HR
                        - BASIS
                        - LO
                      ISINTERFAC:
                        type: string
                        maxLength: 1
                        description: 'Interface object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BAPI_REL:
                        type: string
                        maxLength: 1
                        description: 'Release status of BAPI methods  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FUNC_REL:
                        type: string
                        maxLength: 1
                        description: 'Release status of function module  enumValues: R=Released,""=Not released,I=Released internally'
                        enum:
                        - R
                        - ''
                        - I
                      OBSOLETE:
                        type: string
                        maxLength: 4
                        description: Release in which object type was set as obsolete
                      FM_DOCU:
                        type: string
                        maxLength: 1
                        description: 'Documentation on function module exists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BO_DOCU:
                        type: string
                        maxLength: 1
                        description: 'Documentation for business object exists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MESTYPE:
                        type: string
                        maxLength: 30
                        description: Message type
                      VERB:
                        type: string
                        maxLength: 32
                        description: Object type component
                      BO_TEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      BAPI_TEXT:
                        type: string
                        maxLength: 80
                        description: Description
                COMPONENTS2SELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 24
                        description: Application component ID
                SYSTEMS2SELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      R3SYSTEM:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  BAPILIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJECTNAME:
                          type: string
                          maxLength: 32
                          description: Object name
                        BAPINAME:
                          type: string
                          maxLength: 32
                          description: Method name of BAPI
                        ABAPNAME:
                          type: string
                          maxLength: 30
                          description: Function module name
                        COMP:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        CREA_REL:
                          type: string
                          maxLength: 4
                          description: Release at Creation
                        CREATOR:
                          type: string
                          maxLength: 12
                          description: Author
                        UDATE:
                          type: string
                          format: date
                          description: Changed On
                        CHANGER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        SOURCESYS:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        BAPI_AG:
                          type: string
                          maxLength: 5
                          description: 'Application area or BAPI Work Group reponsible  enumValues: SONST=Others,RW=Accounting,HR=Human Resources,BASIS=BASIS,LO=Logistics'
                          enum:
                          - SONST
                          - RW
                          - HR
                          - BASIS
                          - LO
                        ISINTERFAC:
                          type: string
                          maxLength: 1
                          description: 'Interface object type  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BAPI_REL:
                          type: string
                          maxLength: 1
                          description: 'Release status of BAPI methods  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FUNC_REL:
                          type: string
                          maxLength: 1
                          description: 'Release status of function module  enumValues: R=Released,""=Not released,I=Released internally'
                          enum:
                          - R
                          - ''
                          - I
                        OBSOLETE:
                          type: string
                          maxLength: 4
                          description: Release in which object type was set as obsolete
                        FM_DOCU:
                          type: string
                          maxLength: 1
                          description: 'Documentation on function module exists  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BO_DOCU:
                          type: string
                          maxLength: 1
                          description: 'Documentation for business object exists  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MESTYPE:
                          type: string
                          maxLength: 30
                          description: Message type
                        VERB:
                          type: string
                          maxLength: 32
                          description: Object type component
                        BO_TEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        BAPI_TEXT:
                          type: string
                          maxLength: 80
                          description: Description
                  COMPONENTS2SELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 24
                          description: Application component ID
                  SYSTEMS2SELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        R3SYSTEM:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
