openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_EVT_HANDLER_START_INTERNAL:
    post:
      tags:
      - SWF_EVT_INTERN
      operationId: /rfc/SWF_EVT_HANDLER_START_INTERNAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_BOR_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: ABAP Type of element
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Character value
                IM_CONTAINER_IS_COMPLETE:
                  type: string
                  maxLength: 1
                  description: Checkbox Field
                IM_EVENT_ID:
                  type: integer
                  format: int64
                  description: ID of an event instance
                IM_EVT_GUID:
                  type: string
                  maxLength: 32
                  description: Event GUID
                IM_LINKAGE:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    OBJCATEG:
                      type: string
                      maxLength: 2
                      description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                      enum:
                      - BO
                      - BC
                      - XC
                      - CL
                    OBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    EVENT:
                      type: string
                      maxLength: 32
                      description: Event
                    RECTYPE:
                      type: string
                      maxLength: 32
                      description: Name of Receiver Type
                    RECMODE:
                      type: string
                      maxLength: 1
                      description: 'Indicator for Event Handler  enumValues: ""=Function Module,M=Method'
                      enum:
                      - ''
                      - M
                    RECCLASS:
                      type: string
                      maxLength: 30
                      description: Class Name of Handler
                    RECINTERF:
                      type: string
                      maxLength: 30
                      description: Interface Name of Handler
                    RECMETH:
                      type: string
                      maxLength: 30
                      description: Name of Handler Method
                    RECMETYP:
                      type: string
                      maxLength: 1
                      description: 'Method Type  enumValues: I=Generic Instance Method,""=Generic Static Method'
                      enum:
                      - I
                      - ''
                    RECFB:
                      type: string
                      maxLength: 30
                      description: Name of Receiver Function Module
                    RECFBTYP:
                      type: string
                      maxLength: 1
                      description: 'Type of Receiver Function Module  enumValues: ""=Standard (BOR) Receiver Module,1=Receiver with References'
                      enum:
                      - ''
                      - '1'
                    CHECKFB:
                      type: string
                      maxLength: 30
                      description: Name of Check Function Module
                    CHKFBTYP:
                      type: string
                      maxLength: 1
                      description: 'Type of Function Module  enumValues: 1=New,""=Compatible'
                      enum:
                      - '1'
                      - ''
                    RECGETFB:
                      type: string
                      maxLength: 30
                      description: Name of Receiver Type Function Module
                    GETFBTYP:
                      type: string
                      maxLength: 1
                      description: 'Type of Function Module  enumValues: 1=New,""=Compatible'
                      enum:
                      - '1'
                      - ''
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Name of logical RFC destination
                    DESTTYP:
                      type: string
                      maxLength: 1
                      description: 'Type for Call Destination  enumValues: ""=RFC destination'
                      enum:
                      - ''
                    TYPELINK:
                      type: string
                      maxLength: 1
                      description: 'Flag: Global event linkage activated  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    QUEUE:
                      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'
                    RECCATEG:
                      type: string
                      maxLength: 2
                      description: 'Object Category  enumValues: BO=BOR Object Type,NN=Not Defined,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                      enum:
                      - BO
                      - NN
                      - BC
                      - XC
                      - CL
                    RECTYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    DELY_MODE:
                      type: string
                      maxLength: 1
                      description: 'How an Event is Delivered  enumValues: Q=(Always) Using Queue,B=Using LUW Buffer (Synchronous),""=Using tRFC (Default)'
                      enum:
                      - Q
                      - B
                      - ''
                    DELY_PARA:
                      type: string
                      maxLength: 32
                      description: Parameter for Delivery Mode  (swfedelmod)
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    RECKEY:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    IS_INST:
                      type: string
                      maxLength: 1
                      description: 'Checkbox  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    FORALLINST:
                      type: string
                      maxLength: 1
                      description: 'Checkbox  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    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'
                    RECINSTNUM:
                      type: integer
                      format: int64
                      description: Sequence Number of Instance Linkage
                IM_NEXT_MODE:
                  type: string
                  maxLength: 1
                  description: Character Field Length 1
                IM_STANDARDS:
                  type: object
                  properties:
                    OBJCATEG:
                      type: string
                      maxLength: 2
                      description: Object Type Category
                    OBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    EVENT:
                      type: string
                      maxLength: 32
                      description: Event
                    RECKEY:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    CREA_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    CREA_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    CREA_STMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    CREATOR:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 12
                          description: Agent ID in Organizational Management
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    COBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    REQUESTER:
                      type: string
                      maxLength: 104
                      description: Local Persistent Object Reference - BOR Compatible Unstruct.
                    RETRY_ERR:
                      type: integer
                      format: int64
                      description: Number of Delivery Attempts After Temporary Errors
                    EVENT_ID:
                      type: integer
                      format: int64
                      description: ID of an event instance
                IM_XML_CONTAINER:
                  type: array
                  items:
                    type: string
                    format: byte
                    description: 'Container: Line of Binary Table for XML'
                IM_XML_SIZE:
                  type: integer
                  format: int32
                  description: Table for XML Stream of Event Container
              required:
              - IM_BOR_CONTAINER
              - IM_CONTAINER_IS_COMPLETE
              - IM_EVENT_ID
              - IM_LINKAGE
              - IM_NEXT_MODE
              - IM_STANDARDS
              - IM_XML_CONTAINER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_EVT_GUID:
                    type: string
                    maxLength: 32
                    description: Event GUID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
