openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_MPRO_GETLIST:
    post:
      tags:
      - RSAB_MPRO
      operationId: /rfc/BAPI_MPRO_GETLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJVERS:
                  type: string
                  default: RS_C_OBJVERS-ACTIVE
                  maxLength: 1
                  description: 'Object Version (''%'': All Versions)'
                INFOPROVLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOPROV:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      TEXTLONG:
                        type: string
                        maxLength: 60
                        description: Long description
                      OBJSTAT:
                        type: string
                        maxLength: 3
                        description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                        enum:
                        - 'OFF'
                        - INA
                        - ACT
                        - PRO
                      ACTIVFL:
                        type: string
                        maxLength: 1
                        description: 'Active and revised version do not agree  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INFOAREA:
                        type: string
                        maxLength: 30
                        description: InfoArea
                      CUBETYPE:
                        type: string
                        maxLength: 1
                        description: 'InfoProvider Type  enumValues: R=Remote InfoCube (-> Cube Subtype),M=MultiProvider (-> TLOGO MPRO!),A=Aggregate Cube,B=Standard InfoCube,V=Virtual InfoProvider'
                        enum:
                        - R
                        - M
                        - A
                        - B
                        - V
                SELINFOPROV:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      INFOPROVLOW:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      INFOPROVHIGH:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                SELTEXTLONG:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      TEXTLONGLOW:
                        type: string
                        maxLength: 60
                        description: Long description
                      TEXTLONGHIGH:
                        type: string
                        maxLength: 60
                        description: Long description
      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
                  INFOPROVLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        INFOPROV:
                          type: string
                          maxLength: 30
                          description: InfoProvider
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        TEXTLONG:
                          type: string
                          maxLength: 60
                          description: Long description
                        OBJSTAT:
                          type: string
                          maxLength: 3
                          description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                          enum:
                          - 'OFF'
                          - INA
                          - ACT
                          - PRO
                        ACTIVFL:
                          type: string
                          maxLength: 1
                          description: 'Active and revised version do not agree  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INFOAREA:
                          type: string
                          maxLength: 30
                          description: InfoArea
                        CUBETYPE:
                          type: string
                          maxLength: 1
                          description: 'InfoProvider Type  enumValues: R=Remote InfoCube (-> Cube Subtype),M=MultiProvider (-> TLOGO MPRO!),A=Aggregate Cube,B=Standard InfoCube,V=Virtual InfoProvider'
                          enum:
                          - R
                          - M
                          - A
                          - B
                          - V
                  SELINFOPROV:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        INFOPROVLOW:
                          type: string
                          maxLength: 30
                          description: InfoProvider
                        INFOPROVHIGH:
                          type: string
                          maxLength: 30
                          description: InfoProvider
                  SELTEXTLONG:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        TEXTLONGLOW:
                          type: string
                          maxLength: 60
                          description: Long description
                        TEXTLONGHIGH:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
