openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_ECSC_CMD_INSERT:
    post:
      tags:
      - ECATT_API
      operationId: /rfc/ECATT_ECSC_CMD_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_URL:
                  type: string
                IS_KEY:
                  type: object
                  properties:
                    OBJ_ID:
                      type: string
                      maxLength: 32
                      description: APIVersion of Key for Ident. of Obj. Instance in Target Sys.
                    TYPE:
                      type: string
                      maxLength: 4
                      description: 'eCATT Object Type (Test Data, Script, Configuration, etc.)  enumValues: ECSD=System Data Container,ECSC=Test Script,ECTC=Test Configuration,ECTD=Test Data Container'
                      enum:
                      - ECSD
                      - ECSC
                      - ECTC
                      - ECTD
                    NAME:
                      type: string
                      maxLength: 30
                      description: eCATT Object
                    VERSION:
                      type: integer
                      format: int64
                      description: eCATT Object Version
                IS_SCR:
                  type: object
                  properties:
                    SCR_LEVEL:
                      type: integer
                      format: int64
                      description: Nesting Depth of Recursive Call of eCATT Objects
                    FUNC:
                      type: string
                      maxLength: 30
                      description: 'Name of Function  enumValues: GETTAB=GETTAB,IF=IF...ELSEIF...ELSE...ENDIF,SETTAB=SETTAB,LOG=Log,REFCATT=REFCATT,DO=DO...ENDDO,CHEVAR=CHEVAR,ABAP=ABAP...ENDABAP,SAPGUI REC=SAPGUI (Record),REF=REF,TCD=TCD,RESTAB=RESTAB,TCD REC=TCD (Record),=== (Assignment),FUN=FUN,CHETAB=CHETAB,EXIT=EXIT'
                      enum:
                      - GETTAB
                      - IF
                      - SETTAB
                      - LOG
                      - REFCATT
                      - DO
                      - CHEVAR
                      - ABAP
                      - SAPGUI REC
                      - REF
                      - TCD
                      - RESTAB
                      - TCD REC
                      - =
                      - FUN
                      - CHETAB
                      - EXIT
                    OBJECT:
                      type: string
                      maxLength: 30
                      description: Object for function
                    PARAM_ID:
                      type: string
                      maxLength: 30
                      description: Parameter Reference ID
                    SOFTKOMP:
                      type: string
                      maxLength: 30
                      description: Target System (Key in System Data Container)
                    PATH:
                      type: string
                      maxLength: 30
                      description: Name of Path for Script Variants
                    DEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    CMD_LIN:
                      type: integer
                      format: int64
                      description: Command Position Row
                    CMD_COL:
                      type: integer
                      format: int64
                      description: Command Position Column
              required:
              - IS_KEY
              - IS_SCR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
