openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWE_EVENT_REC_TYPE_READ:
    post:
      tags:
      - SWEA
      operationId: /rfc/SWE_EVENT_REC_TYPE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EVENT:
                  type: string
                  maxLength: 32
                  description: Event
                OBJTYPE:
                  type: string
                  maxLength: 10
                  description: Object type of initiating object
                RECTYPE:
                  type: string
                  maxLength: 14
                  description: Receiver type
              required:
              - EVENT
              - OBJTYPE
              - RECTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TYPE_COUPLING:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      EVENT:
                        type: string
                        maxLength: 32
                        description: Event
                      RECTYPE:
                        type: string
                        maxLength: 14
                        description: Name of Receiver Type
                      RECFB:
                        type: string
                        maxLength: 30
                        description: Name of Receiver Function Module
                      CHECKFB:
                        type: string
                        maxLength: 30
                        description: Name of Check Function Module
                      RECGETFB:
                        type: string
                        maxLength: 30
                        description: Name of Receiver Type Function Module
                      GLOBAL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Global event linkage activated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Name of logical RFC destination
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      Q_ENABLE:
                        type: string
                        maxLength: 1
                        description: 'Event Linkage: Enable Use of Queue  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      REC_ERROR:
                        type: integer
                        format: int32
                        description: 'Event Linkage: Behavior Upon Error in Receiver  enumValues: 1=Deactivation of linkage,0=System defaults,2=Mark linkage as having errors,3=Do not change linkage'
                        enum:
                        - '1'
                        - '0'
                        - '2'
                        - '3'
                      ENABLED:
                        type: string
                        maxLength: 1
                        description: 'Indicator showing whether event type linkage is activated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      STATUS:
                        type: integer
                        format: int32
                        description: 'Linkage Status  enumValues: 1=Errors,0=No errors'
                        enum:
                        - '1'
                        - '0'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
