openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCRMBW_BATCH_GETDETAIL:
    post:
      tags:
      - RSCRMBW_TOOLS
      operationId: /rfc/RSCRMBW_BATCH_GETDETAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BATCHID:
                  type: string
                  maxLength: 32
                E_T_MONERR:
                  type: array
                  items:
                    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
                E_T_VAR:
                  type: array
                  items:
                    type: object
                    properties:
                      BAREPID:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      LINE:
                        type: integer
                        format: int64
                        description: Count parameters
                      VAR_NAM:
                        type: string
                        maxLength: 30
                        description: Variablename
                      VARSIGN:
                        type: string
                        maxLength: 1
                        description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                        enum:
                        - E
                        - I
                      VAROPTION:
                        type: string
                        maxLength: 2
                        description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >=
                          value in field LOW,BT=Between: Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VARLOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      VARHIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
              required:
              - I_BATCHID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_DESTINATION:
                    type: string
                    maxLength: 32
                  E_EXECMODE:
                    type: string
                    maxLength: 8
                  E_EXTRNAME:
                    type: string
                    maxLength: 30
                  E_FUNCNAME:
                    type: string
                    maxLength: 30
                  E_PATH:
                    type: string
                    maxLength: 75
                  E_REPORTUID:
                    type: string
                    maxLength: 72
                  E_S_MON:
                    type: object
                    properties:
                      BATCHID:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      STATUS:
                        type: string
                        maxLength: 4
                        description: 'RSCRM: Batch status  enumValues: SCHE=Batch Scheduled,FAIL=Batch Program Canceled,RUNN=Batch is Running,SUCC=Batch Program Completed Successfully'
                        enum:
                        - SCHE
                        - FAIL
                        - RUNN
                        - SUCC
                      PROCESSED:
                        type: integer
                        format: int64
                        description: 'RSCRM: Percentage complete in batch'
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      LASTUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      START_TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                  E_T_MONERR:
                    type: array
                    items:
                      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
                  E_T_VAR:
                    type: array
                    items:
                      type: object
                      properties:
                        BAREPID:
                          type: string
                          maxLength: 32
                          description: UUID in character form
                        LINE:
                          type: integer
                          format: int64
                          description: Count parameters
                        VAR_NAM:
                          type: string
                          maxLength: 30
                          description: Variablename
                        VARSIGN:
                          type: string
                          maxLength: 1
                          description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                          enum:
                          - E
                          - I
                        VAROPTION:
                          type: string
                          maxLength: 2
                          description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal
                            >= value in field LOW,BT=Between: Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VARLOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        VARHIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
