openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CRL_CORRELATE_BY_EVENT:
    post:
      tags:
      - SWF_CRL_RUN_EVENT
      operationId: /rfc/SWF_CRL_CORRELATE_BY_EVENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EVENT:
                  type: string
                  maxLength: 32
                  description: Name of Event
                EVENT_CONTAINER:
                  type: array
                  items:
                    type: string
                    format: byte
                    description: 'Container: Line of Binary Table for XML'
                EXCEPTIONS_ALLOWED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator Showing Whether FM Can Raise Exceptions
                HANDLER:
                  type: object
                  properties:
                    INSTID:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    TYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    CATID:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                RECTYPE:
                  type: string
                  maxLength: 32
                  description: 'Type of Event Receiver, Here: Task ID'
                SENDER:
                  type: object
                  properties:
                    INSTID:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    TYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    CATID:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                XML_SIZE:
                  type: integer
                  format: int32
                  description: Natural Number
              required:
              - EVENT
              - EVENT_CONTAINER
              - HANDLER
              - RECTYPE
              - SENDER
              - XML_SIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: object
                    properties:
                      HANDLER:
                        type: object
                        properties:
                          INSTID:
                            type: string
                            maxLength: 70
                            description: Instance Ident. in BOR Compat. Persistent Object References
                          TYPEID:
                            type: string
                            maxLength: 32
                            description: Type of Objects in Persistent Object References
                          CATID:
                            type: string
                            maxLength: 2
                            description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                            enum:
                            - NN
                            - BC
                            - BO
                            - CL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
