openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_EXTERNAL_EXECUTE:
    post:
      tags:
      - STTF
      summary: CATT - Download and execute external files
      operationId: /rfc/CAT_EXTERNAL_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABLNR:
                  type: string
                  maxLength: 30
                  description: Procedure number
                NODIA:
                  type: string
                  default: ' '
                  maxLength: 1
                PARTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      LFDNR:
                        type: integer
                        format: int64
                        description: 'CATT: Serial Number'
                      PARNA:
                        type: string
                        maxLength: 12
                        description: CATT - Parameter name
                      PATYP:
                        type: string
                        maxLength: 1
                        description: CATT - Parameter type (I,E,V)
                      PAVAL:
                        type: string
                        maxLength: 132
                        description: CATT - Parameter value
              required:
              - ABLNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRCD:
                    type: integer
                    format: int64
                    description: Error code 0=OK 4=Data/ 8=Down/ 12=Exe/
                  FNAME:
                    type: string
                    maxLength: 128
                    description: Executed file with path name
                  PARTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        LFDNR:
                          type: integer
                          format: int64
                          description: 'CATT: Serial Number'
                        PARNA:
                          type: string
                          maxLength: 12
                          description: CATT - Parameter name
                        PATYP:
                          type: string
                          maxLength: 1
                          description: CATT - Parameter type (I,E,V)
                        PAVAL:
                          type: string
                          maxLength: 132
                          description: CATT - Parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
