openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRTFT_GET_TASK_STATE:
    post:
      tags:
      - SRTFT_SRVREG
      operationId: /rfc/SRTFT_GET_TASK_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TASK_ID:
                  type: string
                  maxLength: 32
              required:
              - TASK_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        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
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT:
                          type: string
                          description: ''
                  STATE:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
