openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRM_REGISTER_FM_INTERFACE_RFC:
    post:
      tags:
      - SRM_FM_CALL_HANDLER_BASICS
      operationId: /rfc/SRM_REGISTER_FM_INTERFACE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_QUEUE:
                  type: object
                  properties:
                    SRTFD:
                      type: string
                      maxLength: 22
                      description: User-defined key in table INDX
                    RATING:
                      type: string
                      maxLength: 4
                      description: 'Rating  enumValues: @0A@=Red,@09@=Yellow,@Q3@=Initial,@08@=Green'
                      enum:
                      - '@0A@'
                      - '@09@'
                      - '@Q3@'
                      - '@08@'
                    FUNCNAME:
                      type: string
                      maxLength: 30
                      description: Name of Function Module
                    OBJECT_TYPE:
                      type: string
                      maxLength: 10
                      description: Object type
                    OBJECT_ID:
                      type: string
                      maxLength: 70
                      description: BOR Object Number
                    LOGICAL_SYSTEM:
                      type: string
                      maxLength: 10
                      description: Logical System
                    OBJECT_GUID:
                      type: string
                      format: byte
                      description: Object GUID
                    STATUS:
                      type: string
                      maxLength: 10
                      description: 'Status of the Call Element  enumValues: FINISHED=Successful Call,APPL_ERROR=Application Error,RFC_ERROR=RFC Error,INITIAL=Initial,LOCK_ERROR=Lock'
                      enum:
                      - FINISHED
                      - APPL_ERROR
                      - RFC_ERROR
                      - INITIAL
                      - LOCK_ERROR
                    ITERATION_NUM:
                      type: integer
                      format: int32
                      description: Repeat Counter
                    PRIORITY:
                      type: integer
                      format: int32
                      description: Priority
                    TIMESTAMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp
                    AETIME:
                      type: string
                      maxLength: 6
                      description: Time of Registration
                    AEDAT:
                      type: string
                      format: date
                      description: Registration Date
                    USERA:
                      type: string
                      maxLength: 12
                      description: User name
                    NUMBER_EMAILS:
                      type: integer
                      format: int32
                      description: Number of E-Mails
                    FREETEXT:
                      type: string
                      maxLength: 64
                      description: Comment
                    RUNTIME:
                      type: integer
                      format: int32
                      description: Runtime in Microseconds
                IV_START_IMM:
                  type: string
                  maxLength: 1
                IV_XML_STRING:
                  type: string
              required:
              - IS_QUEUE
              - IV_START_IMM
              - IV_XML_STRING
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
