openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_ECSC_PAR_GET:
    post:
      tags:
      - ECATT_API
      operationId: /rfc/ECATT_ECSC_PAR_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_PTYP:
                  type: string
                  maxLength: 1
                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
              required:
              - IS_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Parameter or Command Interface
                        PTYP:
                          type: string
                          maxLength: 1
                          description: Visibility of Parameter
                        PDESC:
                          type: string
                          maxLength: 60
                          description: Short Text of Parameter, Command Interface or Variant
                        PINDEX:
                          type: integer
                          format: int64
                          description: 'eCATT: Parameter Index'
                        PGROUP:
                          type: string
                          maxLength: 30
                          description: Group for Parameters and Command Interfaces
                        XMLREF_TYP:
                          type: string
                          maxLength: 1
                          description: Type of a Command Interface in XML Schema/Template
                        PSTRUC_TYP:
                          type: string
                          maxLength: 1
                          description: Type of Parameter Value ( T = Structured )
                        PENV:
                          type: string
                          maxLength: 1
                          description: Can Be Overwritten Globally
                        PREF_TYPE:
                          type: string
                          maxLength: 8
                          description: eCATT Type of DDIC Reference
                        PREF_NAME:
                          type: string
                          maxLength: 30
                          description: Reference for Parameters/Command Interfaces Typing ALT
                        PDOM:
                          type: string
                          maxLength: 30
                          description: Domain name
                        PDATTYP:
                          type: string
                          maxLength: 4
                          description: Data Type in ABAP Dictionary
                        PDATLEN:
                          type: integer
                          format: int64
                          description: Length of Field (Number of Characters)
                        PINTTYP:
                          type: string
                          maxLength: 1
                          description: Data Type in ABAP
                        PINTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        PDECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameter
                        SORT_LNR:
                          type: integer
                          format: int64
                          description: eCATT - Sort Index in Lists
                        TESTSYSTEM:
                          type: string
                          maxLength: 30
                          description: Target System (Key in System Data Container)
                        PREF_NAME2:
                          type: string
                          maxLength: 60
                          description: Reference for Parameter Typing
                        VALUE:
                          type: string
                          description: eCATT Parameter Value
                        VAL_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of Parameter Value
                        TAB_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        DEF_EXT:
                          type: string
                          description: Part Reference
                        VALUE_RUNTIME:
                          type: string
                          maxLength: 128
                          description: eCATT Parameter Value (C128)
                  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.
