openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSM_GET_REQUEST_STATUS:
    post:
      tags:
      - RSM3
      operationId: /rfc/RSSM_GET_REQUEST_STATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_NO_ASSISTANCE:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                I_NO_TIMEOUT:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                I_REQUEST:
                  type: string
                  maxLength: 30
                  description: Request ID (data package)
                I_STAY_YELLOW:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                E_T_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
                E_T_MSGTAB:
                  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
                E_T_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
              required:
              - I_REQUEST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_LOCATION:
                    type: string
                    maxLength: 60
                    description: Current Processing Step
                  E_QUALINFO:
                    type: string
                    maxLength: 120
                    description: Information on request status (plain text)
                  E_QUALSTATUS:
                    type: string
                    maxLength: 1
                    description: Request status (external display)
                  E_TECHINFO:
                    type: string
                    maxLength: 120
                    description: Information on request status (plain text)
                  E_TECHSTATUS:
                    type: string
                    maxLength: 1
                    description: Request status (external display)
                  E_T_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                  E_T_MSGTAB:
                    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
                  E_T_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
